Hello,
when will we be able to do tests on unix plateforms ??
Does Alex think about this posibility?
Thanks
Fred
About Unix
I use vbs script 5.6 for Unix supervision. I do a rsh, the result is passed to the ERRORLEVEL with the vbs.
With the rsh you can do what you want.
Works fine in 1.xx and 3.xx !!
for a cpu test in Hostmonitor : use external program test
command line : cscript //B "C:Program FilesHostMonitorscriptsvmstat.vbs" <machine> root
the vmstat.vbs contain for solaris 2.7 :
Set objArgs = WScript.Arguments
vServer = objArgs(0)
vUser = objArgs(1)
Dim WshShell, oExec
Set WshShell = CreateObject("WScript.Shell")
vCmd = "rsh " & vServer & " -l " & vUser & " val=`vmstat 1 2|tail -1|awk '{print $22}'`;expr 100 - $val"
Set oExec = WshShell.Exec(vCmd)
wscript.quit (Cint(oExec.StdOut.Read(3)))
<font size=-1>[ This Message was edited by: y.beyet on 2002-04-17 03:07 ]</font>
With the rsh you can do what you want.
Works fine in 1.xx and 3.xx !!
for a cpu test in Hostmonitor : use external program test
command line : cscript //B "C:Program FilesHostMonitorscriptsvmstat.vbs" <machine> root
the vmstat.vbs contain for solaris 2.7 :
Set objArgs = WScript.Arguments
vServer = objArgs(0)
vUser = objArgs(1)
Dim WshShell, oExec
Set WshShell = CreateObject("WScript.Shell")
vCmd = "rsh " & vServer & " -l " & vUser & " val=`vmstat 1 2|tail -1|awk '{print $22}'`;expr 100 - $val"
Set oExec = WshShell.Exec(vCmd)
wscript.quit (Cint(oExec.StdOut.Read(3)))
<font size=-1>[ This Message was edited by: y.beyet on 2002-04-17 03:07 ]</font>