O'Reilly logo

Solaris™ Internals: Core Kernel Components by Richard McDougall, Jim Mauro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix C. A Sample Procfs Utility

$ msacct ls -lR .: total 3012 drwxrwxrwx 9 jmauro tech 2560 Oct 22 13:02 2.X [a LOT of output snipped] .... -rwxrwxrwx 1 jmauro staff 5166 Feb 12 18:11 msacct.c -r--r--r-- 1 jmauro staff 4401 Feb 6 22:02 ptime.c *** Usage Counters *** Minor Faults:.................0 Major Faults:.................0 Swaps:........................0 Input Blocks:.................0 Output Blocks:................0 STREAMS Messages Sent:........0 STREAMS Messages Received:....0 Signals:......................0 Voluntary Context Switches:...1684 Involuntary Context Switches:.25 System Calls:.................3693 Read/Write Characters:........53305 *** State Times *** Total Elapsed Time:...........11.065 Total User Time:..............0.403 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required