13. Monitoring System Resources

A good computer user has to be a bit of a systems administrator, always checking the health of her machine to make sure that everything is running smoothly. To help achieve that goal, Linux has several commands to monitor system resources. In this chapter, you’re going to look at several of those commands. Many of them have multiple uses, but all—in the best UNIX tradition of small tools that solve a single task well—are especially good at one particular aspect of system monitoring. Their tasks range from keeping track of the programs running on your computer (ps and top) to ending errant processes (kill) to listing all open files (lsof) to reporting your system’s usage of RAM (free) and hard disk space (df and ...

Get Linux Phrasebook, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.