If you like Solaris 10, you like zones, and probably prstat -Z too. Since I like graphics too, I try to write a script to graph CPU and memory usage per zone. But the only way I found to have such stats, is prstat which is interactive and can't be used for scripting. That's why I wrote a little .c based on prstat sources. For such things at least, OpenSolaris really rulez.

This project is now available, read more detais here

By the way, I don't know at all if some people read my geeklog, so, if you read these lines, please add a little comment ! :)

Comments