Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* minor buglet in BSD-style "ps"
@ 1996-06-19  4:00 Mark Bartelt
  0 siblings, 0 replies; only message in thread
From: Mark Bartelt @ 1996-06-19  4:00 UTC (permalink / 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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-06-19  4:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-06-19  4:00 minor buglet in BSD-style "ps" Mark Bartelt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox