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 tolshw)prstat: display process information (similar totop)vmstat: print virtual memory statistics (similar tofree)mpstat: a per-processor version ofvmstatpgrep: print process IDs by process name or other attributespfiles: print files opened by a process
Further reading
Ben Rockwood has a much more involved version of this post.