Patton electronic SmartNode 4110 Series Ctrl-zsuspend active command, Bring job 0 to foreground

Models: SmartNode 4110 Series

1 664
Download 664 pages 15.88 Kb
Page 99
Image 99

SmartWare Software Configuration Guide

7 • Basic system management

 

 

Mode: Administrator execution

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

 

 

 

 

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)

Basic system management configuration task list

99

Page 99
Image 99
Patton electronic SmartNode 4110 Series Ctrl-zsuspend active command, Show the currently running commands, Node#fg jobid