source: trunk/minix/man/man1/ps.1@ 20

Last change on this file since 20 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 1.8 KB
Line 
1.TH PS 1
2.SH NAME
3ps \- process status
4.SH SYNOPSIS
5\fBps \fR[\fR[\fB\-\fR]\fBalx\fR]
6.br
7.de FL
8.TP
9\\fB\\$1\\fR
10\\$2
11..
12.de EX
13.TP 20
14\\fB\\$1\\fR
15# \\$2
16..
17.SH OPTIONS
18.FL "\-a" "Print all processes with controlling terminals"
19.FL "\-l" "Give long listing"
20.FL "\-x" "Include processes without a terminal"
21.SH EXAMPLES
22.EX "ps " "Show user's own processes in short format"
23.EX "ps \-axl" "Print all processes and tasks in long format"
24.EX "ps \axl" "Same -- the '\-' is optional"
25.SH DESCRIPTION
26.PP
27\fIPs\fR prints the status of active processes. Normally only the caller's own
28processes are listed in short format (the PID, TTY, TIME and CMD fields as
29explained below). The long listing contains:
30.PP
31.ta 0.5i 1.0i
32 F Kernel flags:
33 001: free slot
34 002: no memory map
35 004: sending;
36 010: receiving
37 020: inform on pending signals
38 040: pending signals
39 100: being traced.
40.PP
41 S
42 State:
43 R: runnable
44 W: waiting (on a message)
45 S: sleeping (i.e.,suspended on MM or FS)
46 Z: zombie
47 T: stopped
48.PP
49 UID, PID, PPID, PGRP
50 The user, process, parent process and process group ID's.
51.PP
52 SZ
53 Size of the process in kilobytes.
54.PP
55 RECV
56 Process/task on which a receiving process is waiting or sleeping.
57.PP
58 TTY
59 Controlling tty for the process.
60.PP
61 TIME
62 Process' cumulative (user + system) execution time.
63.PP
64 CMD Command line arguments of the process.
65.PP
66.PP
67The files \fI/dev/{mem,kmem}\fR are used to read the system tables and command
68line arguments from. Terminal names in \fI/dev\fR are used to generate the
69mnemonic names in the TTY column, so \fIps\fR is independent of terminal naming
70conventions.
71.SH NOTES
72The '\-' option prefix is not required.
73For marginal compatibility with System V usage, the hidden option
74.B \-e
75means the same as
76.BR \-ax ,
77and
78.B \-f
79is the same as
80.BR \-l .
81
82.\" edited by ASW 2004-12-14
83
Note: See TracBrowser for help on using the repository browser.