![background image](http://html1.mh-extra.com/html/patton-electronics/smartnode-series/smartnode-series_software-configuration-manual_4048643098.webp)
Basic system management configuration task list
98
SmartWare Software Configuration Guide
7 • Basic system management
Mode:
Administrator execution
Example:
Controlling Command Execution
The following example shows how to suspend an active command, list the running commands, switch back a
suspended command and terminate a currently active command on your device, if you start from the configu-
ration mode.
node>ping 172.16.36.80 1000 timeout 3
Sending 1000 ICMP echo requests to 172.16.36.80, timeout is 3 seconds:
Reply from 172.16.36.80: Time <10ms
Reply from 172.16.36.80: Time <10ms
Reply from 172.16.36.80: Time <10ms
Reply from 172.16.36.80: Time <10ms
<Ctrl>-<z>
suspend active command
% Suspended
System prompt reappears and is ready to execute further commands
node>show ip interface
------------------------------------------------------------
Context: router
…
Show the currently running commands
node>jobs
* [run ] jobs
0 [bg ] ping
Bring job 0 to foreground
node>fg
% Resumed [ping]
Reply from 172.16.36.80: Time <10ms
Reply from 172.16.36.80: Time <10ms
<Ctrl>-<c>
terminate current command
% Aborted (ping)
Step
Command
Purpose
1
Execute the first command
2
node
#<Ctrl-Z>
Suspend the active command and get system prompt back
3
Execute the second command
4
node
#jobs
Shows the currently running commands
5
node
#fg
jobid
Brings job with
jobid
back to foreground
6
node
#<Ctrl-C>
Terminates the currently running command