1. Task-related commands
SP function, [arg1],..., [arg9]
-Start the task. A maximum of nine parameters are allowed. The default priority is 100 and the stack is 20000 bytes.
Period N, function, [arg1],..., [Arg8]
-Create a task that calls the function cyclically. The cycle is n seconds and a maximum of 8 parameters are allowed.
Repeat M, function, [arg1],..., [Arg8]
-Create a task that calls function repeatedly. The number of calls is M. If M is set to 0, the task is permanently called. A maximum of 8 parameters can be called.
TS tidx-pending a task
Tr tidx-resume pending tasks
TD tidx-delete a task
I tidx-displays basic task information. If the parameter is 0, all tasks are displayed.
Ti tidx-displays task details, including registers and stacks.
TT tidx-display the function call relationship of a task
Checkstack tidx-displays historical statistics on the use of the task stack. If the parameter is set to 0, all tasks are displayed.
[Where tidx can be the task id or task name]
2. System Information
Lkup ["string"]-find and list functions and global variables containing the "string" character in the system symbol table. There are two special parameters:
0, indicating the symbol table statistics; "" (Null String), listing all symbols
Lkaddr ADDR-display the symbol table near the ADDR address
L ADDR, [N]-display the disassembly of N commands starting with the ADDR address. If n is omitted, the default value is 10 commands.
When H [N]-N is 0, the latest shell commands are listed. The default value is 20. If n is not 0, the number of historical commands recorded by shell is set.
D [ADDR, [number], [width]
-Display the content of the number units starting with the ADDR address. The width customizes the width of each unit, which can be 1, 2, 4, or 8.
M addr, [width]-modify the content of the ADDR address based on the width. The width can be 1, 2, 4, or 8.
Memshow 1-displays the total number of idle and allocated space on the system partition.
Printerrno value-the macro that prints the system-defined error code
3. Network-related commands
Ifshow ["ifname"]-show info about network interfaces
Inetstatshow-show all Internet Protocol sockets
Tcpstatshow-show statistics for TCP
Udpstatshow-show statistics for UDP
Ipstatshow-show statistics for IP
Icmpstatshow-show statistics for ICMP
Arpshow-show a list of known ARP entries
Mbufshow-show network stack data pool statistics
Netstacksyspoolshow-show network stack system pool statistics
Routeshow-display all IP routes (summary information)
Mrouteshow-display all IP routes (verbose Information)
Routestatshow-display routing statistics
Routeadd "destaddr", "routeadd"-add route to route table
Routedelete "destaddr", "route ADDR"-delete route from route table
Note: Most of the preceding commands can be found in help and nethelp.