$ cat /proc/xenomai/sched
CPU PID CLASS PRI TIMEOUT TIMEBASE STAT NAME
0 0 idle -1 - master R ROOT/0
参考 include/xenomai/nucleus/thread.h:
/*
Must follow the declaration order of the above bits. Status symbols
are defined as follows:
'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 in emergency.
'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).
*/