fbs status 123
Get the status on job 123.
fbs status -u maryanne
Get status on all of user maryanne's jobs
fbs status -u all
Get status on all user jobs.
Here is an example of the output produced by the command:
> fbs status 2528 Job ID: 2528 Section ID: 2528.Exec Name: Exec Process resources: cpu:100 Section resources: Start Time: Wed Nov 1 11:00:37 2000 End Time: Not Finished Hold Time: Prio: 0 Exec: fbsng/test/sleep.sh 10 30 State: running Depend: ProcType: Worker Queue: LongQ NumProc: 3 Nice: 0 Process #1 (2528.Exec.1) on fnpc105 Status: exited:0 Process #2 (2528.Exec.2) on fnpc106 Status: running PID CPU ACPU Command ---------- ------ ------ ---------------------------------------- 28238 0 0 csh fbsng/test/sleep.sh 10 30 28309 0 0 python /home/ivm/fbsng/test/sleep.py 10 30 Process #3 (2528.Exec.3) on fnpc107 Status: running PID CPU ACPU Command ---------- ------ ------ ---------------------------------------- 25738 0 0 csh fbsng/test/sleep.sh 10 30 25809 0 0 python /home/ivm/fbsng/test/sleep.py 10 30 ------------------------------------------------------------------------In this example, the users jobs created several subprocesses. Process 20304 is the parent, processes 20305 and 20306 are direct descendents of 20304 (shown by indentation of one space.). Process 20307 is a descendent of 20305.
In the above example, the users job requested a resource pool disk on a per process basis. The Pool Info: line for per process info indicates that on this host the underlying resource given to this process was disk1.
One can get a raw listing instead of a formatted listing by using the -r option. This output will more suitable for parsing.