Here a few tips to GNU/Linux users who find themselves with accounts on a SunOS/Solaris machine. The following are true of my university's SunOS 5.10 machine, your mileage may vary.

List system information

uname hasn't changed:

$ uname -srv
SunOS 5.10 Generic_144489-11

List processor information

What? No /proc/cpuinfo? Use psrinfo:

$ psrinfo
0       on-line   since 01/07/2012 02:38:26
1       on-line   since 01/07/2012 02:38:35
…
$ psrinfo -v
Status of virtual processor 0 as of: 02/13/2012 12:57:27
  on-line since 01/07/2012 02:38:26.
  The i386 processor operates at 3333 MHz,
        and has an i387 compatible floating point processor.
…

X windows

Sun's X window server is openwin. I couldn't get a remote X server running over SSH, but the usual X tunneling to my local server worked fine.

Other interesting commands

  • prtdiag: print disagnostic information (vaguely similar to lshw)
  • prstat: display process information (similar to top)
  • vmstat: print virtual memory statistics (similar to free)
  • mpstat: a per-processor version of vmstat
  • pgrep: print process IDs by process name or other attributes
  • pfiles: print files opened by a process

Further reading

Ben Rockwood has a much more involved version of this post.