SSSU 获取EVA 状态信息

sssu一般肯定会安装,在C:/Program Files/Hewlett-Packard/Sanworks/Element Manager for StorageWorks HSV/Bridge找到SSSU命令,手动先看看能否正常连接:
SSSU for HP StorageWorks Command View
EVAVersion: 6.0
Build : 34
Manager: <input server name or localhost>
Username: <input administrator ,一般是这个>
Password: <input password>
NoSystemSelected> <input "ls system full">
就会列出当前SYSTEM信息来,还可以ls disk full , 不加full也可以。
一切OK的话,你就可以写个批处理文件了eva-capture.bat:
sssu.exe "set options command_delay=1" "file eva-capture.txt" > tmp_eva.log
eva-capture.txt里:
file logon.txt
set options display_width = 132
ls system full
exit
logon.txt里:
set options command_delay=1
select manager localhost username=administrator password=xxxxxxx

最后,你可以把tmp_eva.log发送出去。

本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/Petergepeter/archive/2008/05/09/2423208.aspx

你可能感兴趣的:(manager,command,File,System,input,delay)