The onstat -g sle command displays threads that are currently on the sleep queue along with the number of seconds remaining before the thread awakens (is placed on the ready queue by the ADM virtual processor).
Sleeping threads with timeouts: 4 threads
tid v_proc rstcb name time
6 1 140d3018 main_loop() 1
151 1 14a59158 onmode_mon 1
11 1 0 sm_discon 2
143 1 14a585d8 btclean 54
| Heading | Description | Format |
|---|---|---|
| tid | The thread ID. | Dec |
| v_proc | The ID of the virtual processor where this thread last ran. | Dec |
| rstcb | The in-memory address of the thread's rstcb. | Hex |
| name | The name of the sleeping thread. | Str |
| time | The amount of time left in seconds for this thread to sleep before being moved to the ready queue. | Dec |
To discuss how Oninit ® can assist please call on +1-913-674-0360 or alternatively just send an email specifying your requirements.