From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,c9990d6f75ca7955,start X-Google-Attributes: gidfee84,public From: mark@helios.physics (Mark Bartelt) Subject: minor buglet in BSD-style "ps" Date: 1996/06/19 Message-ID: #1/1 X-Deja-AN: 161046239 sender: news@info.physics.utoronto.ca (System Administrator) organization: Canadian Institute for Theoretical Astrophysics reply-to: mark@cita.utoronto.ca newsgroups: comp.unix.osf.osf1 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