Skip to Content
Sun Performance and Tuning: Java™ and the Internet, Second Edition
book

Sun Performance and Tuning: Java™ and the Internet, Second Edition

by Adrian Cockcroft, Richard Pettit
April 1998
Intermediate to advanced content levelIntermediate to advanced
624 pages
16h 11m
English
Pearson
Content preview from Sun Performance and Tuning: Java™ and the Internet, Second Edition

Process Data Sources

Most people know about the ps command. It gives a high-level summary of the status of processes on a system. It has many options, but using it is a relatively crude way to figure out what processes are doing.

Of all the available options, the best performance-related summary comes from the BSD version /usr/ucb/ps uax, which collects all the process data in one go, sorts the output by recent CPU usage, then displays the result. The unsorted versions of ps loop through the processes, printing as they go. This approach spreads out the time at which the processes are measured, and the last line process measured is significantly later than the first. By being collected in one go, the sorted versions give a more consistent view ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Panic! UNIX® System Crash Dump Analysis

Panic! UNIX® System Crash Dump Analysis

Chris Drake, Kimberley Brown

Publisher Resources

ISBN: 0130952494Purchase book