ps.1 (1626B)
1 .TH PS 1 2 .SH NAME 3 ps, psu \- process status 4 .SH SYNOPSIS 5 .B ps 6 [ 7 .B -pa 8 ] 9 .PP 10 .B psu 11 [ 12 .B -pa 13 ] 14 [ 15 .I user 16 ] 17 .SH DESCRIPTION 18 .I Ps 19 prints information about processes. 20 .I Psu 21 prints only information about processes started by 22 .I user 23 (default 24 .BR $USER ). 25 .PP 26 For each process reported, 27 the user, 28 process id, 29 user time, 30 system time, 31 size, 32 state, 33 and command name are printed. 34 State is one of the following: 35 .TP \w'\fLno\ \fIresource\ \ \ 'u 36 .B Moribund 37 Process has exited and is about to have its 38 resources reclaimed. 39 .TP 40 .B Ready 41 on the queue of processes ready to be run. 42 .TP 43 .B Scheding 44 about to be run. 45 .TP 46 .B Running 47 running. 48 .TP 49 .B Queueing 50 waiting on a queue for a resource. 51 .TP 52 .B Wakeme 53 waiting for I/O or some other kernel event to wake it up. 54 .TP 55 .B Broken 56 dead of unnatural causes; lingering 57 so that it can be examined. 58 .TP 59 .B Stopped 60 stopped. 61 .TP 62 .B Stopwait 63 waiting for another process to stop. 64 .TP 65 .B Fault 66 servicing a page fault. 67 .TP 68 .B Idle 69 waiting for something to do (kernel processes only). 70 .TP 71 .B New 72 being created. 73 .TP 74 .B Pageout 75 paging out some other process. 76 .TP 77 .I Syscall 78 performing the named system call. 79 .TP 80 .BI no " resource 81 waiting for more of a critical 82 .IR resource . 83 .TP 84 .I wchan 85 waiting on the named wait channel 86 (on a Unix kernel). 87 .PD 88 .PP 89 With the 90 .B -p 91 flag, 92 .I ps 93 also prints, after the system time, the baseline and current priorities of each process. 94 .PP 95 The 96 .B -a 97 flag causes 98 .I ps 99 to print the arguments for the process. Newlines in arguments will be translated to spaces for display. 100 .SH SOURCE 101 .B \*9/bin/ps 102 .br 103 .B \*9/bin/psu 104 .SH "SEE ALSO" 105 .MR acid (1) , 106 .MR db (1) , 107 .MR kill (1)