By default the PerfStat tool that is on the NetApp NOW site does not run under Mac OSX Leopard, and it will return an error that says: “Unsupported client OS”
I did a little searching and found that someone on the Nabble site had posted a ‘patched’ version of the script to use, but it doesn’t seem like you need to do that. I edited the existing script, found this section:
# Verify the OS platform
os=`uname -s`
case $os in
SunOS) ;;
OSF1) ;;
HP-UX) ;;
Linux) ;;
AIX) ;;
FreeBSD) ;;
OpenBSD) ;;
*)
echo “Error: Unsupported client OS: $os”
exit 1
;;
esac
And changed it to read:
# Verify the OS platform
os=`uname -s`
case $os in
SunOS) ;;
OSF1) ;;
HP-UX) ;;
Linux) ;;
AIX) ;;
FreeBSD) ;;
OpenBSD) ;;
Darwin) ;;
*)
echo “Error: Unsupported client OS: $os”
exit 1
;;
esac
After that I run the following command from terminal.app
sudo sh perfstat.sh -f toaster1 -t 30 -i 46 > perfstat.out
Adjust the settings accordingly.
Popularity: 3% [?]
No related posts.
Related posts brought to you by Yet Another Related Posts Plugin.





