view docs/nitros9guide/proc.refentry @ 2187:dc01b8d40ee0

created new dw3.bl bootlist file, renamed mb to mb.floppy and created mb.dw3
author boisy
date Wed, 11 Mar 2009 02:07:19 +0000
parents 4dae346c4969
children
line wrap: on
line source

<refentry id="proc">
<refnamediv>
<refname>PROC</refname>
<refpurpose>Display Processes</refpurpose>
</refnamediv>

<refsynopsisdiv>
<cmdsynopsis>
<command>proc</command>
</cmdsynopsis>
</refsynopsisdiv>

<refsect1><title>Description</title>
<para>
Displays a list of processes running on the system. Normally only
processes having the user's ID are listed, but if the &quot;-e&quot; option is
given, processes of all users are listed. The display is a
&quot;snapshot&quot; taken at the instant the command is executed: processes
can switch states rapidly, usually many times per second.
</para>
<para>
<command>Proc</command> shows the user and process ID numbers, priority, state
(process status), memory size (in 256 byte pages), primary program
module, and standard input path.
</para>
<para>
For more information see: <xref linkend="sec5.1"/>,
<xref linkend="sec5.2"/>, <xref linkend="sec5.3"/>
</para>
</refsect1>
<refsect1><title>Examples</title>
<para>
Level One Example:
</para>
<screen>
User# Id pty  state   Mem Primary module
---- --- --- -------- --- --------------
   0   2   0  active    2 Shell
   0   1   0  waiting   1 SysGo
   1   3   1  waiting   2 Tsmon
   1   4   1  waiting   4 Shell
   1   5   1  active   64 Basic09
</screen>
</refsect1>
</refentry>