Seven Habits of Highly Effective Unix Admins
jfruh writes: "Being a Unix or Linux admin tends to be an odd kind of job: you often spend much of your workday on your own, with lots of time when you don't have a specific pressing task, punctuated by moments of panic where you need to do something very important right away. Sandra Henry-Stocker, a veteran sysadmin, offers suggestions on how to structure your professional life if you're in this job. Her advice includes setting priorities, knowing your tools, and providing explanations to the co-workers whom you help."
What habits have you found effective for system administration?
The issue with #6 is that users almost invariably never accept an answer here. And a lot of the time it may be something you can't adequately explain, which is something they don't like even more. Especially if you know the problem wasn't the result of something you did.
I discovered tmux (terminal multiplexer) a while back, and is a very potent replacement for screen, it supports splitting windows, having multiple sessions, sharing windows between sessions, customizable status bars etc. Try it out!
When working on a problem, I usually have two or more shells open. I don't mean multitasking, but with more then one open, I can issue commands from one and use the others to monitor logs/etc.
Physics is like sex. Sure, it may give some practical results, but that's not why we do it
i thought they were
sloth, gluttony, pride,...
What habits have I found effective for system administration? BOFH spring to mind ...
I know them all. They all work in Marketing.
"A door is what a dog is perpetually on the wrong side of" - Ogden Nash
The first time a task comes up deal with it manually, it may or may not be related to a problem.
The second time this task occurs deal with it manually.
The third time this task occurs, it's time to start scripting.
It may take you a day or more to write the script, test debug, etc. or even longer for complex tasks but, this behavior tends to be a winner. The script is already some degree of documentation, it records the steps, etc. If it's robust enough it can be used to by your support techs to resolve issues, expanding the number of people who can resolve an issue, freeing the admin for other tasks. Scripts tend not to make typos (yes, I know your command line skills are legendary) and can save a lot of time and effort in the long run.
The reason there are more fat people in IT isn't because we want to be. It is because the GOOD IT people get fat because they know that the best IT people never need to leave their seats. If you have to leave your seat to do something as an admin, you are doing something wrong and not using the technology that is available to you to be able to fix everything but physical hardware failure or installation from your seat.
We were all warned a long time ago that MS products sucked, remember the Magic 8 Ball said, "Outlook not so good"
From TFS, I really don't get why that applies only to Unix admins. That describes the years I've spent as a Windows admin as well.
"Think about how stupid the average person is. Now, realise that half of them are dumber than that." - George Carlin
As someone who's managed a team of sysadmins that moved to the Linux world from Windows, I have this tip: "Reboot does not fix anything, it just hides things".
For some reason, Windows admins have been trained to reboot immediately when things don't work well rather than to figure out why something is failing. I'm sure this was a valid "fix" in older versions of Windows, but Windows has been stable for quite some time, and things shouldn't mysteriously stop working for no reason. Take a bit of time to figure out *why* the CPU is suddenly spiking on the database server, since if you reboot it, you will have lost most of the evidence for why it's happening, and it's likely to happen again. If it's a production server and you can't spend much time, run a few diagnostics (ps, "top", lsof, etc) and save to a file for the postmortem, but don't just go in and reboot before looking around.
Only three things are necessary for a highly effective unix admin:
To crush your userbase
To see their accounts deleted before you
To hear the lamentations of the salesmen
You really need to have a beard to get it. Do you have a beard? You don't sound like you have a proper beard.
I have determined that my sig is indeterminate.
First time for this task ;-)
Rule #8 would be not to fix problems too quickly (and let some that you can see coming, happen).
If you fix every problem before it gets serious and avert the other 90%, your bosses will think they have a highly reliable IT infrastructure. They will then cast their eyes about for cost savings - and the biggest target will be the most highly paid admins - the most senior ones - YOU!!!
So keep the problems coming, as all that management have to assess you on are the number of fixes and the time to fix. Nobody ever got promoted for solving problems that never happened.
Finally: 60 hours a week? Don't be daft. If you're really an effective administrator you should have your work finished well inside 30 hours and/or 4 working days.
politicians are like babies' nappies: they should both be changed regularly and for the same reasons
>And I'm not even a fucking programmer by trade.
Yup. I can tell.
sed -e 's/Chuck Norris/Rajnikant/g' joke > fact