Is it possible to run multiple UNIX commands when creating an SSH Test in SilkCentral Test Manager?

0 Likes

Problem:

Is it possible to run multiple UNIX commands when creating an SSH Test in SilkCentral Test Manager?

Resolution:

QUESTION
----------------------------------
Is it possible to specify multiple commands to execute on a UNIX machine when creating an "SSH Test" in SilkCentral Test Manager?

ANSWER
----------------------------------
It is quite simple to specify multiple commands to execute on a UNIX machine from an "SSH Test" on SilkCentral Test Manager. In the command field when creating your "SSH Test" Test Definition you simply separate each UNIX command by a ";", e.g.:


When you then execute that test definition, the results file contains the output from the "uname -a" command and the "finger" command as follows:

SunOS unknown 5.9 Generic_118558-34 sun4u sparc SUNW,Sun-Blade-1000
Login Name TTY Idle When Where
root Super-User console 23: Fri 22:04 :0
root Super-User pts/5 18d Fri 22:05 :0.0


Old KB# 24488
Comment List
Related
Recommended