Is there a command used to determine whether or not a machine has been RAIDed besides using 'df -k'. I am interested b/c I am writing a script where I would like to receive some sort of notification as to whether or not a machine has been RAIDed. The simpler the info returned back, the better. Any help would be appreciated.
You could check to see if the software is loaded but that doesn't mean it is being used. You may also miss the software (Solaris has it's own - DiskSuite but many use the Veritas Volume Manager). Each OS will be different so the easiest way to see it is to use df -k.
Veritas commands that may help you: vxprint, vxstat, vxdisk list.
DiskSuite (Solaris only): metastat
I'm sure the commands to check on AIX, HP-UX, and others are completely different - which is why df -k is used.