Difference between revisions of "Shell"

From Embedded Xinu
Jump to navigation Jump to search
m
Line 3: Line 3:
 
== Commands ==
 
== Commands ==
 
The XINU shell is equipped with seven commands:
 
The XINU shell is equipped with seven commands:
*exit
+
*'''exit''': quits the XINU shell
*help
+
*'''help''': displays a list of commands in the XINU shell
*kill PID
+
*'''kill PID''': kills a process number PID
*memstat
+
*'''memstat''': displays the current memory usage and prints the free list
*ps
+
*'''ps''': displays a table of running processes
*sleep DELAY
+
*'''sleep DELAY''': sleep for DELAY seconds
*uartstat UARTNUM
+
*'''uartstat UARTNUM''': displays statistics for uart UARTNUM

Revision as of 20:39, 11 June 2007

The XINU shell is designed as an interface for interacting with the operating system. The majority of the commands provide information about the current state of the system including its process, memory, and hardware.

Commands

The XINU shell is equipped with seven commands:

  • exit: quits the XINU shell
  • help: displays a list of commands in the XINU shell
  • kill PID: kills a process number PID
  • memstat: displays the current memory usage and prints the free list
  • ps: displays a table of running processes
  • sleep DELAY: sleep for DELAY seconds
  • uartstat UARTNUM: displays statistics for uart UARTNUM