From: mark@helios.physics (Mark Bartelt)
Subject: minor buglet in BSD-style "ps"
Date: 1996/06/19 [thread overview]
Message-ID: <Dt8x2E.C6p@info.physics.utoronto.ca> (raw)
I just noticed that v3.2c "ps", when invoked in Berkeley mode, will
occasionally botch the RSS value, by replacing the 'M' with a '7'.
For example:
opossum> ps -l -p 14228
F S UID PID PPID %CPU PRI NI RSS WCHAN [...]
80808001 R N 65 14228 5262 49.0 63 19 26M - [...]
vs
opossum> ps l14228
UID PID PPID CP PRI NI VSZ RSS WCHAN S [...]
65 14228 5262 242 63 19 31.7M 267 - R N [...]
Note that the SysVish "ps" correctly reports the RSS as 26M, while
the BSDish one reports "267". I've seen this mistake once or twice
before.
Not the most major of bugs, admittedly. But it would be nice if it
got fixed someday ...
Mark Bartelt 416/978-5619
Canadian Institute for mark@cita.toronto.edu
Theoretical Astrophysics mark@cita.utoronto.ca
"Nur eine Waffel taugt!" -- Parsifal, in an Eggo commercial
reply other threads:[~1996-06-19 4:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox