cvs commit: src/bin/ps ps.c
Garance A Drosehn
gad at FreeBSD.org
Mon Mar 29 17:45:24 PST 2004
gad 2004/03/29 17:45:23 PST
FreeBSD src repository
Modified files:
bin/ps ps.c
Log:
Replace pscomp() with a cleaner version, mostly written by bde (*).
This corrects a problem of lost-precision for `-r' (sort-by-CPU). Also,
for sort-by-CPU and sort-by-memory, any processes which have the same
value CPU or MEMORY are now sorted by TTY and then (if needed) by pid.
(* - I just added the NODEV checks, after doing some testing of my own)
Submitted by: bde
MFC after: 1 week
Revision Changes Path
1.81 +42 -13 src/bin/ps/ps.c
More information about the cvs-src
mailing list