Goals
In this session you will:
- become aware of system load
- learn how to gauge CPU metrics
- control runaway and expensive processes
- use esoteric job control
POST
- lock your dummy account so s/he cannot log in
- attempt to log in as the dummy
- re-activate the account
- how can you, the admin, track whether or not the dummy attempted to login during the lockout period?
become aware of system load
The best way to get a feel for system load is to see that metric every time you log in. How would you do this? Keep your thumb on the system load at all times.
learn how to gauge CPU metrics
top (with options)
monitor
control runaway and expensive processes
- runaways - find with top; use ps to find lowest PID and start to kill or kill -9 from there.
- expensive - enforce use of nice, renice
- limit users with shell wrapper like lshells.
- crontab | motd | help p. 382
use esoteric job control
p. 382
Homework
Please read the following sections:
- controlling discspace usage
- df
- du
- find
http://www.mousetrap.net/syllabus/admin_unix_pt3/day2.html
$Id: day2.orb,v 1.7 2002/04/13 23:44:53 mouse Exp $
Remember, your login is based on your machine's hostname, not on any other number.
~/[initials] refers to the subdirectory under your homedir, named after your initials. Everything except for .dotfiles will be stored in your ~/[initials] directory.