Controlling Command Execution - Patton electronics SmartNode Series Software Configuration Manual

Software for smartnode series
Hide thumbs Also See for SmartNode Series:
Table of Contents

Advertisement

SmartWare Software Configuration Guide
System resets may have a number of reasons, the most prominent being a manual reset issued on the Telnet/
console ('reload'). Other reset reasons include power off failures and system failures. In order to pinpoint the
problem, the reset log contains the reset cause.
Mode: Administrator execution
Step
Command
1
node #show log [event]
node #show log supervisor Show log of the system supervisor. Used For example, after an unex-
2
3
node #show log reset
4
node #show log boot
node #show log login
5
node #show log file-
6
transfer

Controlling command execution

The SmartWare command shell includes a basic set of commands that allow you to control the execution of
other running commands. In SmartWare, the commands
mand
lists all running commands, and
jobs
ground. Moreover using <ctrl>-<z> suspends an active command and lets the system prompt reappear. With
<ctrl>-<c> the currently active command can be terminated.
Mode: Administrator execution
Step
Command
1
2
node #<Ctrl-Z>
3
4
node #jobs
node #fg jobid
5
6
node #<Ctrl-C>
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
Basic system management configuration task list
Show event log.
pectedly reboot.
Output a list of reset reasons (with date and time).
Displays the console and log messages captured during startup of the
unit.
Displays a list of succeeded and failed CLI login attempts.
Displays the history of all recently executed file transfer operations
(up to 50 entries).
jobs
and
allows switching back a suspended command to the fore-
fg
Execute the first command
Suspend the active command and get system prompt back
Execute the second command
Shows the currently running commands
Brings job with jobid back to foreground
Terminates the currently running command
7 • Basic system management
Purpose
fg
are used for such purposes. The com-
Purpose
92

Advertisement

Table of Contents
loading

This manual is also suitable for:

Smartware release 3.21

Table of Contents