Skip to contentSkip to conversation

Status Codes in /proc/xenomai/sched

Xenomai-help Axel Beierlein 4 participants 4 messages Jun 20, 2007

lore
Share & tools
lore
#0 lore raw

Hello,

Where can i find the meaning of the status code at the column STAT in /proc/xenomai/sched ? I am a little bit confused of the Status UX.

Thanks in Advance

Axel

#1 lore raw
Quoted 5 lines · Axel Beierlein

Hello,

Where can i find the meaning of the status code at the column STAT in /proc/xenomai/sched ? I am a little bit confused of the Status UX.

include/nucleus/thread.h for now, until this eventually gets more formally documented:

'S' -> Forcibly suspended.
'w'/'W' -> Waiting for a resource, with or without timeout. 'D' -> Delayed (without any other wait condition). 'R' -> Runnable.
'U' -> Unstarted or dormant.
'X' -> Relaxed shadow.
'H' -> Held thread.
'b' -> Priority boost undergoing.
'T' -> Ptraced and stopped.
'l' -> Locks scheduler.
'r' -> Undergoes round-robin.
's' -> Interrupt shield enabled.
't' -> Mode switches trapped.
'o' -> Priority coupling off.
'f' -> FPU enabled (for kernel threads).

Quoted 8 lines

Thanks in Advance

Axel

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Signature · 1 line
Philippe.
#2 lore raw
Quoted 10 lines · Philippe Gerum
Quoted 5 lines · Axel Beierlein

Hello,

Where can i find the meaning of the status code at the column STAT in /proc/xenomai/sched ? I am a little bit confused of the Status UX.

include/nucleus/thread.h for now, until this eventually gets more formally documented:

Quoted 16 lines

'S' -> Forcibly suspended.
'w'/'W' -> Waiting for a resource, with or without timeout. 'D' -> Delayed (without any other wait condition). 'R' -> Runnable.
'U' -> Unstarted or dormant.
'X' -> Relaxed shadow.
'H' -> Held thread.
'b' -> Priority boost undergoing.
'T' -> Ptraced and stopped.
'l' -> Locks scheduler.
'r' -> Undergoes round-robin.
's' -> Interrupt shield enabled.
't' -> Mode switches trapped.
'o' -> Priority coupling off.
'f' -> FPU enabled (for kernel threads).

Well, I thought to remember some related stuff in the wiki. What I find is /proc/xenomai/stat, and that is broken here:

http://www.xenomai.org/index.php/FAQs ->
http://www.xenomai.org/index.php//proc/xenomai/stat

Bruno, could you have a look if you can recover the content -- and likely rename it then? Slashes don't appear to be a smart choice in wiki page names...

Jan

#3 lore raw

2007/6/20, Jan Kiszka <[email protected]>:

Quoted 29 lines
Quoted 10 lines · Philippe Gerum
Quoted 5 lines · Axel Beierlein

Hello,

Where can i find the meaning of the status code at the column STAT in /proc/xenomai/sched ? I am a little bit confused of the Status UX.

include/nucleus/thread.h for now, until this eventually gets more formally documented:

Quoted 16 lines

'S' -> Forcibly suspended.
'w'/'W' -> Waiting for a resource, with or without timeout. 'D' -> Delayed (without any other wait condition). 'R' -> Runnable.
'U' -> Unstarted or dormant.
'X' -> Relaxed shadow.
'H' -> Held thread.
'b' -> Priority boost undergoing.
'T' -> Ptraced and stopped.
'l' -> Locks scheduler.
'r' -> Undergoes round-robin.
's' -> Interrupt shield enabled.
't' -> Mode switches trapped.
'o' -> Priority coupling off.
'f' -> FPU enabled (for kernel threads).

Quoted 5 lines

Well, I thought to remember some related stuff in the wiki. What I find is /proc/xenomai/stat, and that is broken here:

http://www.xenomai.org/index.php/FAQs ->
http://www.xenomai.org/index.php//proc/xenomai/stat

This page looks like it's never been created/edited...

Bruno, could you have a look if you can recover the content -- and

Quoted 2 lines

likely rename it then? Slashes don't appear to be a smart choice in wiki page names...

I don't find any content in the database although the entry /proc/xenomai/stat exist.

I never to do some more research. I keep you informed...

Jan

Quoted 3 lines

--Bruno