Sandra Henry-Stocker has been administering Unix systems for more than 18 years. She describes herself as "USL" (Unix as a second language) but remembers enough English to write books and buy groceries. She currently works for TeleCommunication Systems, a wireless communications company, in Annapolis, Maryland, where no one else necessarily shares any of her opinions. She lives on a small farm on Maryland's Eastern Shore.
This blog offers advice for every-day Unix systems administration and some clever ways to approach more challenging problems.
Ever run into the problem of a 100% full /var file system? Who hasn't? It's so tempting to whip out the old rm command and start cleaning out files. But what if you remove a file that's eating a huge chunk of space only to find that none of the space is freed up? Oops!
In spite of its long history as one of the tried and true Unix commands, even the tar command can offer some surprises. My first encounter with "impossible file type" errors took place earlier today.
Swap space can be critical to the performance of a Unix system. Even if you think you have sufficient memory (1-2 GB), you might find that the demands on your system cry out for more. You can resolve a swap space shortage in a pinch if you have an unused partition on your disk or just extra disk space on a mounted drive.
If you find yourself getting calls from all your neighbors just because you're a systems geek and can pull a network together in your sleep, here's a great source of fundamental network know how that you might recommend.
When you're preparing scripts for people less wizardly in the art of Unix than yourself, you might want to temper minor problems by sending system errors on their way. Let's take a look at how easily the exec command squelches system output.
User password security has improved a lot over the years. In Solaris, for example, users are generally required to have at least six characters in their passwords and they have to include a digit or a special character like a $ or an !. What might not be immediately obvious is that the rules that govern what kind of passwords your users are allowed to assign to themselves in Solaris 10 are actually highly tunable. Let's cd over to the /etc/default directory and take a look.
Know the less command? Really know the less command? If you don't use it routinely, you might be surprised at how many things this modest little command can do.
Think you've read enough security books? Think again. Here are some that are going to surprise you and maybe teach you about some aspects of security you simply hadn't considered.
To quickly determine which process is responsible for an open port or which ports some particular process has opened, you can install some new software, run a command you infrequently use or run an easy-to-use little script named pcp.
Sidekick: The Good News & the Bad News Either way you look at it Microsoft Data Center management did not follow standards or best practices in this failure. In which case it makes me wonder more about the outsourcing of corporate data much less personal data.
- mburton325
Surviving Windows is easier than you think… MKS offers the power of an integrated all-in-one environment and provides you with the Power of UNIX on Windows Learn More
Brought to you by:
contests & free stuff
We have 5 copies of these two new books to give to some lucky readers. The deadline for entries is November 30, 2009.
AISO founders envisioned a Web hosting company that was environmentally friendly. While the company employed energy-efficient innovations like solar panels, its infrastructure produced unacceptable power and cooling requirements. Find out how AISO leveraged AMD technology to overcome their challenge in this case study white paper.
In this whitepaper, Scalar explores the opportunity to change the landscape with respect to mission critical databases
built around Oracle. Leveraging technologies such as Linux, high-end commodity processing power and Oracle RAC
technology to architect, design, build and maintain database infrastructure that delivers maximum availability, reliability
and performance at a fraction of traditional cost.
On a typical day, weather.com, the Web site for The Weather Channel in Atlanta, serves up between 15 million and 20 million page views. But in September 2004, when back-to-back hurricanes ransacked Florida, the peak traffic on one day more than tripled: over 70 million page views by more than 7 million unique visitors. Read the full success story now.