Public bug reported:
Even though recent kernels support PSS via /proc/*/smaps, top does not
allow displaying the PSS ("proportional set size") field.
Computing the Pss should be similar to computing RSS, except that one
must use Pss field from smaps.
Shell example for computing the requested field:
$ cat /proc/$(pidof firefox)/smaps | awk '/^Pss:/&&sum+=$2{}END{print sum/1024"
MB"}'
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: procps 1:3.2.8-1ubuntu4.2
ProcVersionSignature: Ubuntu 2.6.32-38.83-preempt 2.6.32.52+drm33.21
Uname: Linux 2.6.32-38-preempt x86_64
Architecture: amd64
CheckboxSubmission: f0bf0101e3df07a87acfbc156f0db03d
CheckboxSystem: b5acb6c9ca4017b1d44043910f45329d
Date: Thu Mar 22 12:20:34 2012
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release Candidate amd64
(20091020.3)
SourcePackage: procps
** Affects: procps (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug lucid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/962056
Title:
top does not allow displaying PSS field
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/procps/+bug/962056/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs