* reordered a little bit
[mascara-docs.git] / i86 / elks / elkscmd / sys_utils / ps.1
blob008b6951f07d879416330bc490464c46e148aeb3
1 .TH ps 1 "ELKS System Utilities" "ELKS" \" -*- nroff -*-
2 .SH NAME
3 ps \- list processes
4 .SH SYNOPSIS
5 .B ps
6 .SH DESCRIPTION
7 This document describes the ELKS version of
8 .BR ps .
9 This version is extremely minimal and should not be used whenever using a
10 better version is practical. It is also uterly non-portable as it accesses
11 the kernel task structure directly.
12 .PP
13 .BR ps
14 prints a list of all the processes currently running on the system giving on
15 a line for each process, its process id, process group, owner, state,
16 the kernel inode address of the corresponding binary and the name of the
17 process. The state is given either as R for running, or S for sleeping.
18 The kernel inode address is included as an aid to debugging the kernel,
19 and provides no other useful information. The name of the process
20 is taken from its argv[0] as passed to its main function.
21 .SH EXAMPLES
22 .IP
24 .LP
25 .SH EXIT STATUS
26 <exit status info>
27 .TP
28 .B 0
29 Process table read successfully.
30 .TP
31 .B 1
32 Unable to accesss 
33 .I /dev/kmem
34 or could not read task entries.
35 .SH FILES
36 .PD 0
37 .TP
38 .B /dev/kmem
39 .PD
40 .SH BUGS
41 This is not really much like real UNIX ps yet.
42 .SH AUTHORS
43 Al Riddoch (ajr@ecs.soton.ac.uk)
44 .br
45 Greg Haerr (greg@censoft.com)