19 ps – Black Box LRA005A-R2 User Manual
Page 181

ASYNC ROUTER AR-P, AR-5, AND SYNC ROUTER REFERENCE MANUAL
181
2.19 ps
Displays the status of running processes
Syntax
ps
Description
The command ps displays the total time the router has been up and information about all of the
currently running processes. It displays:
PID
process ID
SP
current stack pointer
stksize
amount of stack space used
maxstk
maximum amount of stack space available
event
address of the event a process is waiting for if it is not able to run
fl
the process status and the name of the process that is currently operating.
The status flags are indicated by a sequence of three letters, for example, IWS:
I
Processes that are waiting with interrupts enabled. Usually indicates processes not waiting
for a hardware interrupt.
W
Processes waiting for an event (the event value should be non-blank).
S
Suspended processes.
NOTE
Many commands may cause more than one process to execute. There is not a
one-to-one correspondence between any command/function and processes.
Example
Uptime 10:05:22:22 Stack 6236 max intstk 57
PID
SP
stksize maxstk event
fl
name
4f630008
50270156
250
105
4f770046
IW
display
50510010
50ba01da
256
46
50510010
IW
gcollect
52c00010
56d001ca
256
151
427ba719
IW
com1monitor
52220010
522901c2
250
42
427ba108
W
keyboard
52ba0008
56f001dc
256
64
427ba6f8
IW
com1 tx
52c70008
556e0232
320
84
427ba6d8
W
com1 receive
57310010
573901bc
256
116
4f7700b2
IW
FTP listener
4f5b0010
507a03dc
512
46
427b9e2e
IW
killer
4f710008
4d341f4c
0
0
4f770010
IW
cmdintrp
52ab0010
571101ba
256
117
4f77007c
IW
Telnet listener
579b0010
575903b2
512
258
50690036
IW
com1 dialup
515b0010
51620a86
1536
530
I
network
504b0008
50db07d6
1024
186
timer
52620010
62360f20
2048
322
I
Telnet Server