Oninit Logo
The Down System Specialists
Partnerships Contact
Onstat -a -b/-B -C -c -d/-D -F -f -G -h -i -j -k/-K -L -l -m -o -P -p -R -r -s -t/-T -u -X -x -z

onstat -g stk Thread Stack Dump

The onstat -g stk command dumps the stack of the specified thread ID. The top section displays the current state of the thread. The bottom section is the thread.s stack dump.

Stack for thread: 16 flush_sub(2) 
 base: 0x142e7018                
  len:   33280                  
   pc: 0x00664070              
  tos: 0x142eefc0             
state: sleeping              
   vp: 1                    
0x004a44fc (oninit)flush_sub(0x1, 0x1, 0x6, 0xa012794, 0x14110320, 0x99de1c) 
0x00670054 (oninit)startup (0x9b228c, 0x1, 0x142d92b8, 0x142e42b8, 0x142d92b8, 0x0)
0x004a456c (oninit)flush_sub(0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
0x00000000 (*nosymtab*)0x0                                                      

Output Description

Label Description Format See Also
Stack for thread The requested thread ID and its name Str onstat -g ath
base   Hex  
len   Dec  
pc   Hex  
tos   Hex  
state The current state of the thread Str onstat -g con
vp The virtual processor ID on which this thread is running Dec onstat -g glo

To discuss how Oninit ® can assist please call on +1-913-674-0360 or alternatively just send an email specifying your requirements.