Archive for November, 2008

Viewing Solaris zone resource utilization

Solaris zones have been around for quite some time now, and provide low overhead execution environments for running application. Admins who need to understand how zones are utilizing CPU and memory resources typically turn to prstat, which provides the “-Z” option to view utilization by zone: PID USERNAME SIZE RSS STATE PRI NICE TIME CPU […]

Deciphering shell exit codes

I was recently debugging an issue with a shell script, and noticed that the shell was exiting with an exit code greater than 100 when it received a SIGTSTP signal: $ cat test #!/bin/bash sleep 60 # Window one $ ./test [1]+ Stopped ./test Home:~ matty$ echo $? 146 # Window two $ kill -18 […]