95 lines
4.5 KiB
HTML
95 lines
4.5 KiB
HTML
<head>
|
|
<title>ps(1) - Plan 9 from User Space</title>
|
|
<meta content="text/html; charset=utf-8" http-equiv=Content-Type>
|
|
</head>
|
|
<body bgcolor=#ffffff>
|
|
<table border=0 cellpadding=0 cellspacing=0 width=100%>
|
|
<tr height=10><td>
|
|
<tr><td width=20><td>
|
|
<tr><td width=20><td><b>PS(1)</b><td align=right><b>PS(1)</b>
|
|
<tr><td width=20><td colspan=2>
|
|
<br>
|
|
<p><font size=+1><b>NAME </b></font><br>
|
|
|
|
<table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
|
|
|
|
ps, psu – process status<br>
|
|
|
|
</table>
|
|
<p><font size=+1><b>SYNOPSIS </b></font><br>
|
|
|
|
<table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
|
|
|
|
<tt><font size=+1>ps</font></tt> [ <tt><font size=+1>−pa</font></tt> ]
|
|
<table border=0 cellpadding=0 cellspacing=0><tr height=5><td></table>
|
|
|
|
<tt><font size=+1>psu</font></tt> [ <tt><font size=+1>−pa</font></tt> ] [ <i>user</i> ]<br>
|
|
|
|
</table>
|
|
<p><font size=+1><b>DESCRIPTION </b></font><br>
|
|
|
|
<table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
|
|
|
|
<i>Ps</i> prints information about processes. <i>Psu</i> prints only information
|
|
about processes started by <i>user</i> (default <tt><font size=+1>$USER</font></tt>).
|
|
<table border=0 cellpadding=0 cellspacing=0><tr height=5><td></table>
|
|
|
|
For each process reported, the user, process id, user time, system
|
|
time, size, state, and command name are printed. State is one
|
|
of the following:<br>
|
|
<tt><font size=+1>Moribund</font></tt> Process has exited and is about to have its resources
|
|
reclaimed.<br>
|
|
<tt><font size=+1>Ready</font></tt> on the queue of processes ready to be run.<br>
|
|
<tt><font size=+1>Scheding</font></tt> about to be run.<br>
|
|
<tt><font size=+1>Running</font></tt> running.<br>
|
|
<tt><font size=+1>Queueing</font></tt> waiting on a queue for a resource.<br>
|
|
<tt><font size=+1>Wakeme</font></tt> waiting for I/O or some other kernel event to wake it up.<br>
|
|
<tt><font size=+1>Broken</font></tt> dead of unnatural causes; lingering so that it can be examined.<br>
|
|
<tt><font size=+1>Stopped</font></tt> stopped.<br>
|
|
<tt><font size=+1>Stopwait</font></tt> waiting for another process to stop.<br>
|
|
<tt><font size=+1>Fault</font></tt> servicing a page fault.<br>
|
|
<tt><font size=+1>Idle</font></tt> waiting for something to do (kernel processes only).<br>
|
|
<tt><font size=+1>New</font></tt> being created.<br>
|
|
<tt><font size=+1>Pageout</font></tt> paging out some other process.<br>
|
|
<i>Syscall</i> performing the named system call.<br>
|
|
<tt><font size=+1>no</font></tt> <i>resource</i> waiting for more of a critical <i>resource</i>.<br>
|
|
<i>wchan</i> waiting on the named wait channel (on a Unix kernel).
|
|
<table border=0 cellpadding=0 cellspacing=0><tr height=5><td></table>
|
|
|
|
With the <tt><font size=+1>−p</font></tt> flag, <i>ps</i> also prints, after the system time, the baseline
|
|
and current priorities of each process.
|
|
<table border=0 cellpadding=0 cellspacing=0><tr height=5><td></table>
|
|
|
|
The <tt><font size=+1>−a</font></tt> flag causes <i>ps</i> to print the arguments for the process.
|
|
Newlines in arguments will be translated to spaces for display.<br>
|
|
|
|
</table>
|
|
<p><font size=+1><b>SOURCE </b></font><br>
|
|
|
|
<table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
|
|
|
|
<tt><font size=+1>/usr/local/plan9/bin/ps<br>
|
|
/usr/local/plan9/bin/psu<br>
|
|
</font></tt>
|
|
</table>
|
|
<p><font size=+1><b>SEE ALSO </b></font><br>
|
|
|
|
<table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
|
|
|
|
<a href="../man1/acid.html"><i>acid</i>(1)</a>, <a href="../man1/db.html"><i>db</i>(1)</a>, <a href="../man1/kill.html"><i>kill</i>(1)</a><br>
|
|
|
|
</table>
|
|
|
|
<td width=20>
|
|
<tr height=20><td>
|
|
</table>
|
|
<!-- TRAILER -->
|
|
<table border=0 cellpadding=0 cellspacing=0 width=100%>
|
|
<tr height=15><td width=10><td><td width=10>
|
|
<tr><td><td>
|
|
<center>
|
|
<a href="../../"><img src="../../dist/spaceglenda100.png" alt="Space Glenda" border=1></a>
|
|
</center>
|
|
</table>
|
|
<!-- TRAILER -->
|
|
</body></html>
|