squeak!
Syllabus Homepage
Course Overview
Course resources
Day 1
Day 2
Day 3
Day 4
Common errors
Internet Glossary
About Your Instructor
Credits: This site powered by the vi text editor, apache webserver, perl scripting, and Debian linux.
squeak!

Unix Admin Pt 3, Day 2

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

  1. lock your dummy account so s/he cannot log in
  2. attempt to log in as the dummy
  3. re-activate the account
  4. 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
  • at
  • batch
  • nohup

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.


© 1995-2001 jason carr
Distributed under the terms of the GNU Free Documentation License.