Cool Solaris utilities

coreadm – configure the core dump facility.  You can enable/disable core dumps, control if syslog messages should occur, and what directory/file names will be used when programs dump core

dumpadm – configure how system crash dumps are handled

pargs – print out command line arguments (although only for processes ran as yourself unless you are root).  This does not have the 80 character limit that /bin/ps has.

dladm – show or change data link info (great for displaying which network interfaces you have and their status, S10)

plimit – show or change  resource limits of a running process (file descriptors, memory, run time, …)

prstat -L – shows per-thread breakdowns of processes

if_mpadm – test IPMP failover

getent - test name service routines (great for checking things out when testing LDAP name service implementations)

fsstat – show file system statistics (S10 u2 or higher)

bart – compute/compare file system checksums (sort of like a light version of Tripwire, S10)

route -p - add persistent routes (S10 u3 or higher)

2 Responses to “Cool Solaris utilities”

  1. Mitch Says:

    One of the p-cmds I like is pwdx, which lets you see the current directory of a process.
    Really useful when trying to figure out where the source file for a running script is.

  2. William Hathaway Says:

    Ah yes, pwdx is also a very handy one, I didn’t list it because the use-case(s) for it are so limited (pretty much what you described).

Leave a Reply


Copyright © 2010 williamhathaway.com. All Rights Reserved.
No computers were harmed in the 0.365 seconds it took to produce this page.

Designed/Developed by Lloyd Armbrust & hot, fresh, coffee.