When the system gets slow, take an inventory of what you’re doing.
You know it when the system gets slow. You try to move a window, and it takes a few extra microseconds to respond. You type on the keyboard, and you have to wait for the computer to catch up with you. You print a one-page file, and it takes five minutes to get to the printer queue. A slow system is like driving in downtown traffic at 5 PM on a Friday. You wonder if you wouldn’t be better off if you just pulled over and read a book until the traffic lets up.
A difference is that in a traffic jam, you’re only one car. On a UNIX system, one user can be responsible for several cars, a broken stoplight, and a jack-knifed tractor-trailer by the entrance to the Interstate. So when the system gets slow, the first thing you should be doing is seeing how big a part of the problem you are.
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.
Read now
Unlock full access
