From a8225d93c2e9884936af3a056d04601fedec5b21 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Mon, 13 Feb 2012 15:02:06 -0500 Subject: [PATCH] Add SunOS post. --- posts/SunOS.mdwn | 57 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 posts/SunOS.mdwn diff --git a/posts/SunOS.mdwn b/posts/SunOS.mdwn new file mode 100644 index 0000000..60d2c11 --- /dev/null +++ b/posts/SunOS.mdwn @@ -0,0 +1,57 @@ +[[!meta title="Solaris/SunOS"]] + +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][BR] of this post. + +[SunOS]: http://en.wikipedia.org/wiki/SunOS +[Solaris]: http://en.wikipedia.org/wiki/Solaris_%28operating_system%29 +[BR]: http://www.cuddletech.com/blog/pivot/entry.php?id=562 + +[[!tag tags/tools]] -- 2.26.2