Your best bet will be non-interactive SSH / RSH session from *nix (linux, unix etc.) machine. For an example,
helios@athena ~
$ ssh root@10.1.1.60 vol status
root@10.1.1.60's password:
Volume State Status Options
vol0 online raid0, flex root, no_atime_update=on,
create_ucode=on,
convert_ucode=on,
maxdirsize=2621
helios@athena ~
Above is prompting for password because I am not using public key authentication. However, if you do so then, it won't ask for the password; quite helpful in scripts.
Just wanna add another example which uses RSH instead of SSH (again quite handy in scripts)
helios@athena ~
$ rsh -l root:your-password-here 10.1.1.70 aggr status
Aggr State Status Options
aggr0 online raid0, aggr root
helios@athena ~
Hope this helps..
Message was edited by: Sajith Rangama