Package: htop / 2.0.2-1
Metadata
Package | Version | Patches format |
---|---|---|
htop | 2.0.2-1 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
601 openvz new ctid vpid.patch | (download) |
linux/LinuxProcess.c |
9 6 + 3 - 0 ! |
[patch] add support of uuid ctid used in the new version of openvz In the new version of OpenVZ (Virtuozzo 7), containers could be identified by UUIDs and integer numbers like before (so called legacy CTID). Existing support of OpenVZ can't work with UUIDs. This patch fix it. CTIDs and VPIDs are now read from /proc/[id]/status instead of /proc/[id]/stat because of the following reasons: * the /proc/[id]/status has named fields and OpenVZ kernel writes either CTID or UUID to envID field (depending on which type is used); * OpenVZ kernel appends own data to /proc/[id]/stat file, a change in parameters reported by vanilla kernel would also shift the position of OpenVZ data so it would not be read correctly. As UUIDs are much longer than old numerical CTIDs, the UUID strings will get truncated in output (although sorting is still done using complete UUIDs). |
1