Subject: CVS commit: src/bin/ps
To: None <>
From: David Laight <>
List: source-changes
Date: 03/06/2003 11:04:22
Module Name:	src
Committed By:	dsl
Date:		Thu Mar  6 09:04:22 UTC 2003

Modified Files:
	src/bin/ps: extern.h keyword.c print.c ps.1 ps.h

Log Message:
- add keywords for utime, stime and ctime (output sss.ssssss if small)
- fiddle with keyword table - mainly to keep width under 80 cols
- add -k keylist so sort output
- don't use logs to work out field width, get -MAXINT right
- user defined headers can be 1 char (actually they can be zero length)
  so ?? in tty column isn't guaranteed to be wider than header
- remove some long long casts (compiles on sparc64 still)
- use kvm_openfiles(NULL, NULL, NULL, KVN_NO_FILES, ..) unless core file
(approved by christos)

To generate a diff of this commit:
cvs rdiff -r1.23 -r1.24 src/bin/ps/extern.h
cvs rdiff -r1.31 -r1.32 src/bin/ps/keyword.c
cvs rdiff -r1.77 -r1.78 src/bin/ps/print.c
cvs rdiff -r1.59 -r1.60 src/bin/ps/ps.1
cvs rdiff -r1.19 -r1.20 src/bin/ps/ps.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.