Subject: ps(1)'s procfs fallback enhanced
To: None <>
From: Jaromir Dolecek <>
List: current-users
Date: 10/15/1999 21:58:33
Hi folks,
ps(1) now extracts also process start time, process arguments and
session leadership status when falling back to procfs. Procfs
is also used when kvm_openfiles() completely fails (e.g. when
/dev/mem is not readable).

Sample session:

> ./ps
ps: kvm_openfiles: /dev/mem: Permission denied
ps: falling back to /proc-based lookup
Warning:  /proc does not provide valid data for all fields.
19250 p1- ?<s    0:00.26 ksh 
 2836 p2- ?<     0:00.03 elm 
19249 p2- ?<s    0:00.35 ksh 
 2840 p3- ?<     0:00.02 ./ps 
 2840 p3- ?<     0:00.01 ./ps 
19754 p3- ?<s    0:00.19 ksh 
20456 p4- ?<s    0:00.08 ksh 

Almost looks like the real thing, doesn't it ? ;-)

The changes will be available in next sup scan or they are/will be
available through your favourite anoncvs server.


Jaromir Dolecek <>
"The only way how to get rid temptation is to yield to it." -- Oscar Wilde