Tips on killing, suspending, snooping, etc.
How to check on your CPU load:
At the prompt, try one of these:
- top (This gives a list of all current jobs, PID numbers thereof, priorities, nice levels, and sometimes misleading percentages of CPU use and memory.)
- w (Tells you how long the computer has been up, who's using it, how much of it they're using, etc.)
- uptime (The top line of what you would see if you used w. You might as well use w.)
Is someone using your computer?
- Nice-ing jobs:
- When first submitting a job, type: nice <job in question>
- If the job has already been submitted, type: renice <job in question> (This can be done in top.)
- Killing jobs:
- If you are in the sudoers file, you can sudo to kill, suspend, renice, generally mess with other people's jobs. Warning: Sudo keeps a record of what you've been up to.
- If you have a root password, you can really do whatever you want to anybody's machine, but I don't have one, so I can't elaborate on this any further.
- To suspend a job, type susp <job in question>
- To kill a job, type killall -STOP <job in question>:
Other useful things to know:
- To check on the capacity, speed, etc. of your computer, type kcminfo. This will tell you more than you can possibly have any use for.
- To check on virtual memory alone, try vmstat.
- For Unix questions, typing help at the prompt will give you a comprehensive list of, as is stated, "all the answers to every problem you'll ever have!"
Back to where you came from.