An SGI job contains all processes created in a login session, including array sessions and session leaders. Job limits set in ULDB are applied to SGI jobs either at creation time or through the lifetime of the job. Job limits can also be reset on a job during its lifetime.
Use bjobs and bhist to display SGI job ID and Array Session Handle.
bjobs -l 640
Job <640>, User <user1>, Project <default>, Status <RUN>, Queue <normal>
Command <pam -mpi -auto_place myjob>
Tue Jan 20 12:37:18 2009: Submitted from host <hostA>, CWD <$HOME>
Processors requested;
Tue Jan 20 12:37:29 2009: Started on 2 Hosts/Processors <2*hostA>
Execution Home </home/user1>, Execution CWD
</home/user1>
Tue Jan 20 12:37:29 2009: CPUSET_TYPE=dynamic;NHOSTS=1;ALLOCINFO=hostA 640-0;
Tue Jan 20 12:38:22 2009: Resource usage collected.
MEM: 1 Mbytes; SWAP: 5 Mbytes; NTHREAD: 1
PGID: 5020232; PIDs: 5020232
SCHEDULING PARAMETERS:
r15s r1m r15m ut pg io ls it tmp swp mem
loadSched - - - - - - - - - - -
loadStop - - - - - - - - - - -
EXTERNAL MESSAGES:
MSG_ID FROM POST_TIME MESSAGE ATTACHMENT
0 - - - -
1 - - - -
2 root Jan 20 12:41 JID=0x2bc0000000001f7a; ASH=0x2bc0f N
bhist -l 640
Job <640>, User <user1>, Project <default>, Command
<pam -mpi -auto_place myjob>
Sat Oct 19 14:52:14 2009: Submitted from host <hostA>, to Queue <normal>, CWD
<$HOME>, Requested Resources <unclas>;
Sat Oct 19 14:52:22 2009: Dispatched to <hostA>;
Sat Oct 19 14:52:22 2009: CPUSET_TYPE=none;NHOSTS=1;ALLOCINFO=hostA;
Sat Oct 19 14:52:23 2009: Starting (Pid 5020232);
Sat Oct 19 14:52:23 2009: Running with execution home </home/user1>,
Execution CWD
</home/user1>, Execution Pid <5020232>;
Sat Oct 19 14:53:22 2009: External Message "JID=0x2bc0000000001f7a;
ASH=0x2bc0f" was posted from "root" to message box 2;
Summary of time in seconds spent in various states by Sat Oct 19 14:54:00
PEND PSUSP RUN USUSP SSUSP UNKWN TOTAL
8 0 98 0 0 0 106