Cameron Laird's personal notes on system administration

Table of contents

Theology

Jon Udell wrote
Automation and remote access are the keys to effective system management. Unix shines in both departments.
He's right, of course. There are two points to make about this:

Ethics

SAGE code of ethics

References

Books and magazines

My current big-favorite printed text for system-administration matters is Nemeth et al.'s Unix System Administration Handbook. A number of friends and acquaintances prefer Essential System Administration.

Every issue I've seen of System Administration magazine has valuable articles.

On-line references

Personal pages of links

A wealth of material is available on-line, including Celeste Stokely's Unix Sysadm Resources, and Frank Fiamingo's excellent Introduction to UNIX System Administration, and more tangentially, his Introduction to Unix.

Our WebAdmin column for WebServer Online covers topics of interest to system administrators, as do several of our other articles.

Network management is often a big part of system administration.

HP-UX FAQ

Don Libes wrote the definitive late-twentieth century guide to naming hosts.

Online Single Unix reference

Kenton Lee on X things.

People often ask for archives of already-generated binaries.

Manuals

One happy trend is that vendors are making their manuals URLable. SGI (alternatively, here) and now Sun and SCO (including ODT3, OpenServer and UnixWare) have been the leaders in this, and DEC has plans for the same.

Things hard for me to remember

EMACS

Linking

Quick networking

I've got two Ethernet-equipped Unix boxes, and I want them to play together (via FTP or telnet or such) nicely: what do I do? Let one be 10.0.0.1, the other 10.0.0.2, suppose the cards are called "ed", and command
ifconfig ed0 inet 10.0.0.1 netmask 255.255.255.0 up
and
ifconfig ed0 inet 10.0.0.2 netmask 255.255.255.0 up
respectively, to the two of them. For greater convenience, season /etc/hosts to taste. If necessary,
route add default 10.0.0.2
route add default 10.0.0.1

Telephonic paging

Sendpage; tpage, ixobeeper, and the alpha-pager expect script that's part of the expect contribution. There's an immense market of products to work with pagers, and I don't begin to keep up with it.

Performance

Tuning for performance is a biiiiig topic. Here are sensible guidelines that I know: Queuing costs. [Recommend ora's System Performance Tuning]

Physical memory

How can I tell how much memory is available on a particular Unix host? There's no standard answer, as near as I can tell. Sometimes /dev/kmem is intelligible. Other keywords which sometimes give useful results:

Procmail

Security

logdaemon

sudo

hostid is hosted at squirrel.com, wimsey.com, and netcom.com

syslog

swatch is a Perl script which monitors log files. Its range of action includes e-mail, paging, and SNMP traps.
Cameron Laird's notes on system administration/claird@phaseit.net
To: c.f.a.johnson@home.com Subject: Re: question about tarfile and disk space and tcl Newsgroups: comp.unix.shell,comp.lang.tcl In-Reply-To: References: <3B16B8AA.44A1A9E@alltel.com> Organization: Unknown Cc: Bcc: In article you write: . . . >tar tvf FILE | while read a b c d > do > t=$(( $t + $c)) > echo $t > done | tail -1 . . . Succinct. -->