NAME | SYNOPSIS | OPTIONS | DESCRIPTION | DIAGNOSTICS | ATTRIBUTES | SEE ALSO
The options are the following:
Prints the list of running actors (default option).
Gives the status of the thread whose local identifier is thread.
Gives the status of the port whose local identifier is port.
Gives the status of all ports on the local site.
Gives the status of all ports with messages on the local site.
Prints the microkernel resources belonging to the actor whose local identifier is actor.
Prints the current scheduler status and run queues. The identity and priority of the thread currently running is provided. A list of threads ready to run is printed.
Prints the complete list of Remote Unique Identifiers currently known on the local site.
Prints the complete list of Local Unique Identifiers currently known on the local site.
Prints the last nbline lines of the microkernel system log (see sysLog(K)), if any.
Prints microkernel resources statistics.
Prints the microkernel configuration environment (see sysSetEnv(K)), if any.
Prints the list of microkernel modules.
cs is a target utility.
The cs utility prints information about currently allocated microkernel resources such as actors, threads, ports, messages and memory regions. In each case, it prints a heading with the version number of the microkernel, the identifier of the site where the microkernel is running and the time elapsed since the last reboot.
If no options are specified, cs prints the list of actors running actors on the site where it is executed.
The column headings and the column content for the list of actors are detailed below:
The actor's 64-bit Unique Identifier expressed as two hexadecimal numbers. The first one is the head, the second one is the tail.
The actor's 64-bit modification key expressed as two hexadecimal numbers. The first one is the key head, the second one is the key tail.
The actor's local identifier, expressed as a decimal value.
The type of the actor: SUP if the actor is a supervisor actor, USER if the actor is a system actor or a user actor.
The actor's status: STARTED if the actor is active, STOPPED if it is stopped.
The number of threads in the actor, expressed as a decimal number.
The symbolic name of the actor.
For thread status information, the column headings and the column content are detailed below.
The thread's local identifier, expressed as a decimal number.
The thread's priority, expressed as a decimal number. This thread priority is not printed according to the scheduling class, but is an absolute thread priority. Absolute thread priorities vary from 0 and 256, where 0 is the highest priority. 256 is reserved for "idle" threads which are internal threads which, on each processor, only run when no other thread is ready too run.
The total cpu thread time, expressed a a decimal number in milliseconds.
The time the thread spent running in the actor in which it was originally created, expressed as a decimal number, in milliseconds.
A hexadecimal address for the thread's internal structure.
Internal information about the thread, expressed as a set of 3 hexadecimal numbers. SC is the thread's suspend counter; MS is the thread's mask flags set; PN is the thread's pending flags set.
The thread name, if any, expressed as a string.
For port status information, the column headings and column content are detailed below.
The port's 64-bit unique identifier expressed as two hexadecimal numbers. The first one is the head, the second one is the tail.
The port's local identifier expressed as a decimal number.
Whether or not the port is enabled. If enabled, yes is printed, if not, no is printed.
The port context address, expressed as a hexadecimal number.
The number of messages queued behind the port.
The port's actor 64-bit unique identifier.
For memory status information, obtainable by using the -la option described above, the column headings and the column content are detailed below.
The virtual start address of the region, expressed as a hexadecimal address.
The size of the region, expressed as a hexadecimal number of bytes.
The offset of the region in its segment, expressed as a hexadecimal number of bytes.
The amount of physical memory allocated to the region, expressed as a hexadecimal number of bytes.
The attributes of the region:
Writable
Executable
Supervisor
Non-Swappable
Fill Zero
No Demand
No Wait for Memory
Anywhere
Stack
Inherit Share
Inherit Copy
The local identifier does not specify a valid thread.
The local identifier does not specify an enabled port.
The local identifier does not specify a message.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Interface Stability | Evolving |
NAME | SYNOPSIS | OPTIONS | DESCRIPTION | DIAGNOSTICS | ATTRIBUTES | SEE ALSO