Update NSH README. Update ps examples
This commit is contained in:
parent
793f445f54
commit
cee429beac
@ -495,6 +495,12 @@ o ifconfig [nic_name [<ip-address>|dhcp]] [dr|gw|gateway <dr-address>] [netmask
|
|||||||
if networking statistics are enabled (CONFIG_NET_STATISTICS), then
|
if networking statistics are enabled (CONFIG_NET_STATISTICS), then
|
||||||
this command will also show the detailed state of transfers by protocol.
|
this command will also show the detailed state of transfers by protocol.
|
||||||
|
|
||||||
|
NOTE: This commands depends upon having the rpocfs file system configured
|
||||||
|
into the system. The procfs file system must also have been mounted
|
||||||
|
with a command like:
|
||||||
|
|
||||||
|
nsh> mount -t procfs /proc
|
||||||
|
|
||||||
o ifdown <nic-name>
|
o ifdown <nic-name>
|
||||||
|
|
||||||
Take down the interface identified by the name <nic-name>.
|
Take down the interface identified by the name <nic-name>.
|
||||||
@ -810,13 +816,19 @@ o ps
|
|||||||
Show the currently active threads and tasks. For example,
|
Show the currently active threads and tasks. For example,
|
||||||
|
|
||||||
nsh> ps
|
nsh> ps
|
||||||
PID PRI SCHD TYPE NP STATE NAME
|
PID PRI POLICY TYPE NPX STATE EVENT SIGMASK COMMAND
|
||||||
0 0 FIFO TASK READY Idle Task()
|
0 0 FIFO Kthread --- Ready 00000000 Idle Task
|
||||||
1 128 RR TASK RUNNING init()
|
1 128 RR Task --- Running 00000000 init
|
||||||
2 128 FIFO TASK WAITSEM nsh_telnetmain()
|
2 128 FIFO Task --- Waiting Semaphore 00000000 nsh_telnetmain()
|
||||||
3 100 RR PTHREAD WAITSEM <pthread>(21)
|
3 100 RR pthread --- Waiting Semaphore 00000000 <pthread>(21)
|
||||||
nsh>
|
nsh>
|
||||||
|
|
||||||
|
NOTE: This commands depends upon having the rpocfs file system configured
|
||||||
|
into the system. The procfs file system must also have been mounted
|
||||||
|
with a command like:
|
||||||
|
|
||||||
|
nsh> mount -t procfs /proc
|
||||||
|
|
||||||
o put [-b|-n] [-f <remote-path>] -h <ip-address> <local-path>
|
o put [-b|-n] [-f <remote-path>] -h <ip-address> <local-path>
|
||||||
|
|
||||||
Copy the file at <local-address> to the host whose IP address is
|
Copy the file at <local-address> to the host whose IP address is
|
||||||
|
Loading…
x
Reference in New Issue
Block a user