Hello All,
We have been using staf for awhile now to control a power strip. When I
run basic commands on that server I get RC 0 as expected. When I run
pmCommand on that server I get rc 1 but the command runs as expected. Two
examples below. Any suggestions as to what Return Code 1 would mean here?
This at some point was RC 0 but may have changed when we update the os on
the power strip. Any help or ideas is greatly appreciated.
[evs...@testmgr01 ~]$ staf local process start shell command 'ssh
-i /evs/testmgr/ssh/id_dsa evs...@10.250.10.12 "pmCommand 1 status 20"'
wait returnstdout
Response
--------
{
Return Code: 1
Key : <None>
Files : [
{
Return Code: 0
Data :
Outlet Name Status Post-on Delay(s)
20 i1A_20 ON 0.5
}
]
}
[evs...@testmgr01 ~]$ staf local process start shell command 'ssh
-i /evs/testmgr/ssh/id_dsa evs...@10.250.10.12 "ls /LocalVar.txt"' wait
returnstdout
Response
--------
{
Return Code: 0
Key : <None>
Files : [
{
Return Code: 0
Data : /LocalVar.txt
}
]
}
[evs...@testmgr01 ~]$
Mathew Elting
Sr. Project Engineer
510-713-4023
Yahoo: mathew.elt...@yahoo.com
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users