Chapter 6: Access Control for Administration
63
Return Command Output to a Remote machine
You can create a file with a number of restorer commands, with one command on a line, and then
use the file as input to the login. Output from all the commands is returned. For example, a file
named
cmds11
could contain the following commands:
filesys status
system show uptime
nfs status
The login and the returned data look similar to the following:
#
ssh -l sysadmin dd10 < cmds11
sysadmin@dd10’s password:
The filesystem is enabled
3:00 pm up 14 days 10 hours 15 minutes 1 user, load average:
0.00, 0.00, 0.00
Filesystem has been up 14 days 10:13
The NFS system is currently active and running
Total number of NFS requests handled = 314576
To use scripts that return output from a restorer, see “Add an Authorized SSH Public Key” on
page 60 to eliminate the need for a password.
Summary of Contents for DD400 Series
Page 1: ...Software Version 3 1 2 DD400 Series Restorer User Guide ...
Page 4: ......
Page 38: ...Regulatory Standards Compliance xxxviii DD400 Series Restorer User Guide ...
Page 54: ...Hardware System Level Interfaces 16 DD400 Series Restorer User Guide ...
Page 60: ...Display the Space Usage Graphs 22 DD400 Series Restorer User Guide ...
Page 96: ...The License Command 58 DD400 Series Restorer User Guide ...
Page 102: ...Return Command Output to a Remote machine 64 DD400 Series Restorer User Guide ...
Page 128: ...Clean Operations 90 DD400 Series Restorer User Guide ...
Page 138: ...Display the History of Disk Failures 100 DD400 Series Restorer User Guide ...
Page 182: ...CIFS Command 144 DD400 Series Restorer User Guide ...
Page 194: ...Procedure Replace a Replica 156 DD400 Series Restorer User Guide ...
Page 210: ...Send Log messages to Another System 172 DD400 Series Restorer User Guide ...
Page 228: ...Operations for Trained Service Personnel 190 DD400 Series Restorer User Guide ...