mkogg.py: Fix 'self.get_mp4_metadata(self, source)'
[blog.git] / posts / SunOS.mdwn
1 [[!meta  title="Solaris/SunOS"]]
2
3 Here a few tips to GNU/Linux users who find themselves with accounts
4 on a [SunOS][]/[Solaris][] machine.  The following are true of my
5 university's SunOS 5.10 machine, your mileage may vary.
6
7 List system information
8 =======================
9
10 `uname` hasn't changed:
11
12     $ uname -srv
13     SunOS 5.10 Generic_144489-11
14
15 List processor information
16 ==========================
17
18 What?  No `/proc/cpuinfo`?  Use `psrinfo`:
19
20     $ psrinfo
21     0       on-line   since 01/07/2012 02:38:26
22     1       on-line   since 01/07/2012 02:38:35
23     …
24     $ psrinfo -v
25     Status of virtual processor 0 as of: 02/13/2012 12:57:27
26       on-line since 01/07/2012 02:38:26.
27       The i386 processor operates at 3333 MHz,
28             and has an i387 compatible floating point processor.
29     …
30
31 X windows
32 =========
33
34 Sun's X window server is `openwin`.  I couldn't get a remote X server
35 running over SSH, but the usual X tunneling to my local server worked
36 fine.
37
38 Other interesting commands
39 ==========================
40
41 * `prtdiag`: print disagnostic information (vaguely similar to `lshw`)
42 * `prstat`: display process information (similar to `top`)
43 * `vmstat`: print virtual memory statistics (similar to `free`)
44 * `mpstat`: a per-processor version of `vmstat`
45 * `pgrep`: print process IDs by process name or other attributes
46 * `pfiles`: print files opened by a process
47
48 Further reading
49 ===============
50
51 Ben Rockwood has [a much more involved version][BR] of this post.
52
53 [SunOS]: http://en.wikipedia.org/wiki/SunOS
54 [Solaris]: http://en.wikipedia.org/wiki/Solaris_%28operating_system%29
55 [BR]: http://www.cuddletech.com/blog/pivot/entry.php?id=562
56
57 [[!tag tags/tools]]