ps output: rss vs vmsize
Mike Frysinger
vapier at gentoo.org
Mon Jul 24 09:10:41 UTC 2006
the current ps utility claims to output vmsize (procps/ps.c:ps_main() does a
printf with VmSize in the header) but in reality it displays rss
(libbb/procps.c:procps_scan() reads in the rss value and the variable name
is "rss")
so the question is, which do we want ? vmsize or rss ? i'd be a bit biased
and say change the code to read vmsize because in nommu ports for uClinux,
the rss field is broken (always 0)
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20060724/09f22367/attachment-0002.pgp
More information about the busybox
mailing list