February 5, 2012

NetApp PerfStat with Mac OSX Leopard

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.

About mike
I am currently a Consulting Architect working for Nexus Information Systems in the Twin Cities, MN area. My professional summary is available via my LinkedIn page. I can be contacted by the Contact Me link at the top of the site. I also spend (too much) time on Twitter so feel free to follow or send me a tweet.