Charles.Forsyth20060303-partialeea662d19 years agoHistory
45 lines · 1.1 KB · Text
RawDownload
.TH PS 1.SH NAMEps \- process (thread) status.SH SYNOPSIS.B bind '#p' /prog.PP.B ps.SH DESCRIPTION.I Psprints to the standard output information about all current Inferno processes.It looks in.B /progfor process status files;normally that requires that the.IR prog (3)device has previously been bound there (as shown above),but it is also possible to import.B /progfrom a remote machine..PPEach line of information printed consists of seven columns:the process id, the process group id, the owner of theprocess, cpu time used by the process, the run state of the process, the amount of memory usedby the process, and the name of the module containing thecurrently running function..SH FILES.B /prog/*/status.SH SOURCE.B /appl/cmd/ps.b.SH "SEE ALSO".IR deb (1),.IR kill (1),.IR stack (1),.I wm/taskand.I wm/memoryin.IR wm-misc (1),.IR prog (3).SH BUGSThe amount reported as ``memory used'' does not accuratelyreflect the amount of memory referred to by the process,because the heap is shared..brThe cpu time used is currently shown as zero in most hosted implementations.