Sysadmin Toolbox Top Ten 304
Linux.com is running a user writeup of several handy tools by an up-and-coming Linux user. It is always interesting to see how newer users are approaching system customization. What have some of the more seasoned Linux power-users and sys admins put in their "toolbox top 10", and why?
Top 10? (Score:5, Informative)
Torsmo
http://torsmo.sourceforge.net/ [sourceforge.net]
ImageMagick
http://imagemagick.org/ [imagemagick.org]
Aterm
http://aterm.sourceforget.net/ [sourceforget.net]
Root-tail
http://www.goof.com/pcg/marc/root-tail.html [goof.com]
Quod Libet
http://sacredchao.net/quodlibet [sacredchao.net]
Transmission
http://transmission.m0k.org/ [m0k.org]
Re:Top 10? (Score:5, Funny)
Re:Top 10? (Score:4, Interesting)
Yeah, its hardware, but given that plenty of things go wrong with hardware, its a great thing to have.
I used to carry it in my pocket, but that's now illegal in Aus without "good reason". Trying to explain to a street-cop that i need it to pull open servers, remove stuck ribbon cables and strips oxidized power cables is not worth the headache.
Re:Top 10? (Score:3, Informative)
If anybody at
I've learned about quite a few interesting tools from this series. Some of the authors cite the old standbys - grep, and the like. But some of them have discovered some interesting tools I've never seen referenced before.
Re:Top 10? (Score:3, Insightful)
Indeed, I do. The typo was actually copied directly from the linked article. I guess I should have checked the links first. Ah well.
Re:Top 10? (Score:2)
Nothing to do with systems administration (Score:5, Informative)
Re:Nothing to do with systems administration (Score:4, Insightful)
Seriously, this is a list compiled by a 17 year old kid. He is a hobby user. While I grant that he has been a user for 6 years, an 11 year old has much different priorities than someone responsible for multiple users in a large LAN environment. Promoting this does nothing to aid the legitimacy of Linux.
Re:Nothing to do with systems administration (Score:4, Insightful)
Which ligitimacy are we talking about? I agree that these don't have much to do with administrative tasks, but bittorrent clients and media apps aid in trying to make Linux a legitimate alternative to Windows for desktop users. Linux is already established to be good for sysadmin uses.
I don't think the goal of Linux is to be Windows-like(or OSX-like). I don't think the goal of Windows is even to be Windows-like. I think the goal is to effectivly perform a variety of tasks for as many people as possible. For sysadmins, they won't neccessarily use media tools. But for my Mom who may want the occational torrent of a show she missed or to watch a home movie clip I send her, these apps make or break the legitimacy. It all depends on who we(Linux users) are trying to convince. Yes, the title is decieving, but the underlying message isn't. Linux has many great tools, and letting people know that should be the focus.
Re:Nothing to do with systems administration (Score:5, Insightful)
This is one of an ongoing series of such articles, not the only one. So, yes, it is desirable for a certain class of reader to hear from someone who administers a large network, but since many people who ar enot professional sysadmins do in fact administer a machine or two (their own and sometimes others), it is quite reasonable to hear from people in other situations as well.
Re:Nothing to do with systems administration (Score:3, Insightful)
Re:Nothing to do with systems administration (Score:3, Informative)
Re:Nothing to do with systems administration (Score:2)
Re:Nothing to do with systems administration (Score:2)
I don't think that anyone claimed that it was. From the blurb on Slashdot, it's pretty clear that this is a user's list of tools and utilities, but that they are asking for a list of power user and sysadmin tools in the res
Ethereal (Score:5, Insightful)
Ethereal, heck yes! Plus more! (Score:3, Informative)
Netcat - In the original netcat readme he describes it as one of those tools that should have become a standard tool for Unix admins. Well, as of 2006, its basically achieved that status. It's one of the most useful network tools ever and nowadays most BSD and Linux distros come with it in a standard install.
Grep, cut, sed, awk, tar, gzip, sort, un
Re: Better than Etheral (Score:3, Funny)
Yep, a user complains, I monitor the situation in Nethack for a while. Call the
user back, ask if the problem has resolved itself and 9 times out of 10, it has.
Nethack has gotten me out of some pretty tight spots. Just, a word of advice, don't eat your pet.
My Top Ten (Score:5, Insightful)
2.
3.
4.
5.
6.
7.
8.
9.
10.
Re:My Top Ten (Score:2)
Re:My Top Ten (Score:3, Interesting)
- xosview
and for all the EXIM systems (Sendmail? bah - Qmail - double bah):Re:My Top Ten (Score:3, Informative)
du -ks * | sort -nr
to find out how much each sub-directory is taking up.
Re:My Top Ten (Score:3, Funny)
ls? You n00b. In my day, we had echo * and we were grateful for it.
Re:My Top Ten (Score:3, Interesting)
According to the FreeBSD man page for ls, "An ls command appeared in Version 1 AT&T UNIX." So I think it's been around pretty much from the beginning.
Re:My Top Ten (Score:3, Interesting)
echo * actually came in quite handy once. I meant to type:
/home/user/tmp
/lib directory. It's a really good way to learn about shared libraries on unix!
# rm -rf
but what came out was:
# rm -rf / home/user/tmp
I caught my mistake a few seconds later, but not after rm happily removed my entire
MOD PARENT UP (Score:2)
Not necessarily in that order, though.
Re:My Top Ten (Score:3, Interesting)
cat
Results from my home box:
98 cd
96 ls
57 pico
40 curl
17 sudo
15 locate
14 cat
13 mkdir
12 ps
11 du
The only reason 'ssh' isn't on there is because I have short scripts for each server I ssh to (like '~/bin/sshweb') that save time in general and, as a bonus, they color-code the Terminal [newbox.org]
Re:My Top Ten (Score:2)
mv
rm is for n00bs
Re:My Top Ten (Score:4, Informative)
mv
No, you can't.
Torsmo is dead (Score:4, Informative)
Re:Torsmo is dead (Score:2, Interesting)
got this...
Re:Torsmo is dead (Score:2)
Re:Torsmo is dead (Score:2, Informative)
Re:Torsmo is dead (Score:2)
Re:Torsmo is dead (Score:2)
Somehow, I shall struggle not to hold it against you.
Re:Torsmo is dead (Score:3, Funny)
Did Netcraft confirm this?
Re:Torsmo is dead (Score:2)
Re:Torsmo is dead (Score:2)
--
The Word of the Day today, boys and girls, is "denial"
Phillips Screwdriver (Score:4, Funny)
Re:Phillips Screwdriver (Score:2, Insightful)
Re:Phillips Screwdriver (Score:3, Funny)
Just make sure to avoid wrinkles and smooth the edges down, otherwise that would just be sloppy work.
Re:Phillips Screwdriver (Score:2)
Top 10? Here it is... (Score:5, Funny)
Lies about Azureus (Score:3, Informative)
Re:Lies about Azureus (Score:2)
but can it stop using so damn much memory?
i stopped using it long ago because it would eat 100MB of memory just for one torrent. add in my usual downloading practices and it balloons to over 600MB.
at least rtorrent keeps itself down to 35MB even with two dozen torrents running....
Re:Lies about Azureus (Score:2)
Resizing the window doesn't resize the data display areas, so I'm stuck with a fixed-width interface maybe 600 px wide on a screen that's set to 1024x768 (or higher, that's just my laptop) to try to dig through a list of 500 files in a torrent so I can decide which ones I want. It's ridiculous.
Someone always brings up Azureus when people talk about Linux not having any good bt clients, but it's one of the crappies
Re:Lies about Azureus (Score:3, Insightful)
aterm? (Score:5, Interesting)
i only use rxvt-unicode. it's the only thing that will properly display the unicode text in the filenames of my Japanese music collection. :)
also, rxvt has another cool feature. aside from its shockingly minimalistic memory usage, run urxvtd and then urxvtc for every term you need open and it uses even less memory. what could possibly be better than that?
Re:aterm? (Score:2)
A terminal that isn't known for data corruption and security holes?
Re:aterm? (Score:2)
what could possibly be better than that?
Transparent backgrounds. *grin*
*Sysadmin* toolbox? (Score:2)
Signed,
A Curmudgeon
One awsome tool (Score:3)
Re:One awsome tool (Score:2)
ren-regexp (Score:3, Interesting)
If it sounds interesting, you can find it here [michael-forman.com].
Michael. [michael-forman.com]
Re:ren-regexp (Score:5, Informative)
You realize that Larry Wall already wrote that a long time (14 years) ago and bundled it with the Perl sources, and it's installed on pretty much any Debian-based system (including Ubuntu), right?
$ head `which rename`
#!/usr/bin/perl -w
#
# This script was developed by Robin Barker (Robin.Barker@npl.co.uk),
# from Larry Wall's original script eg/rename from the perl source.
#
# This script is free software; you can redistribute it and/or modify it
# under the same terms as Perl itself.
#
# Larry(?)'s RCS header:
# RCSfile: rename,v Revision: 4.1 Date: 92/08/07 17:20:30
$ tar ztf perl_5.6.1.orig.tar.gz | grep rename
perl-5.6.1/eg/rename
Whoops!
Re:ren-regexp (Score:4, Informative)
Try out my version and compare it if you'd like. I only offer it to share resources with fellow sysadmins.
Michael.
Re:ren-regexp (Score:4, Informative)
It's funny. I usually share this and a couple other scripts on various website, including Slashdot, every few months. I'm always thrilled by others who take the time to post and share their related programs as well, discussing the different features they've implemented and why. This is the first time I've been hit with a barrage of disparaging remarks by simply offering code to the community. It's a strange thing to see in "linux.slashdot.org".
Michael.
Re:ren-regexp (Score:3, Insightful)
Similarly, your solution is an elegant one-liner. Focus on the positive!
Re:ren-regexp (Score:3)
Michael.
Has the term sys-admin become polluted? (Score:2)
Has the term become so polluted as to mean anyone who runs a linux box? If this is the case then the term 'sys-admin' has become meaningless.
Here are my top tools (Score:2)
Knoppix
Ethereal
NTOP
Nagios
nmap
joe
gcc
make
gdb
Re: (Score:2)
Toolbox? (Score:5, Funny)
Re:Toolbox? (Score:4, Funny)
Extra Cables... (Score:2)
Re:Extra Cables... (Score:2)
snips, crimp tool, rj45 and rubber cable boot; why use 100 when you can use 3 and have 97 left over?
Re:Extra Cables... (Score:2)
What the hell? (Score:4, Insightful)
Imagemagick? ATerm? A fucking bittorrent client? What is the definition of sysadmin?
Some guy decides to list apps he likes and it gets on
Bra-fucking-vo.
Sysadmin tools? (Score:2)
Re:Sysadmin tools? (Score:2)
Sysadmin? (Score:2)
In no particular order: (Score:5, Interesting)
Re:In no particular order: (Score:5, Insightful)
Not good enough for you?
Tools for *actual* sysadmins (Score:5, Informative)
Bash. If you don't know how to write a for-loop in bash to connect to all your hosts and make some changes, you don't know what you're missing.
SSH, with an agent and keys. If you get asked for the password every time you connect to a host with the above bash loop, you're missing on a very powerful tool. Passwords are a once-daily thing for me now, and that's only because my screen lock also kills my ssh agent.
Osiris. Because you should know what's happening on the computers you maintain. File integrity monitoring is a Good Thing. File integrity monitoring with a client/server architecture is a Very Good Thing.
Snort. Use snort. You have no idea what's happening on your network until you use snort. If you have desktop users, load up the bleeding-snort rulesets and be prepared to panic in horror as you see all the crapware flowing over your network.
Perl. With bash-fu. Like this: $ perl -i.BAK -pe 's/(http://192/ [192]\.168\.0)\.2/$1.3/' `find . -iname "*.htm"` You'll never look at sed again
Finally, if you've got a boss who will let you, rip out those expensive proprietary firewalls and replace them with OpenBSD on a Soekris solid-state computer. OpenBSD pf is a joy to work with, and for VPNs, ipsecctl can't be beat. You can literally VPN two remote networks together in about five minutes.
Re:Tools for *actual* sysadmins (Score:2)
You should see what we've got. Stores host names in profiles, and runs in parallel. Very sweet, unfortunately not GPL so I can't share. I'm sure there's something like it out there on the intarweb, though.
Re:Tools for *actual* sysadmins (Score:5, Funny)
You misspelled "doing".
Not exactly a newbie (Score:2)
My favorites:
Re:Not exactly a newbie (Score:2)
are you sure he's not limited to "normal teenage computer interests"? P2P, check. Meeja player, check. Eye candy desktop customisation a la ricer, check.
Re:Not exactly a newbie (Score:2)
Here's one I've been using for a while (Score:2)
We use fanout to run wsadmin.sh and deploy apps across our WebSphere App servers. We were using the NDM but found custom scripts to be much more reliable. It's really handy for JspBatchCompile.sh as well.
Fanterm is just FUN. run fanterm against a list of servers and see how much.
Re:Here's one I've been using for a while (Score:2)
High school kid (Score:3, Funny)
My sysadmin toolkit is vi and man. If I need to download an ISO and it's available on bittorrent you know what I'll use? BITTORRENT. WTF do you need a gui for to download a file?
Things I wouldn't want to live without:
screen
ssh
bash or ksh; I don't care which
perl
sed and awk (I'm old, I should be using perl more, sue me)
ncftp (I know, it's practically gold-plated effemininity, but I like it)
vim
GNU grep
Everything else, I'm good with whatever the OS provides.
Re:High school kid (Score:2)
Multitail! (Score:4, Interesting)
i'm a unix sysadmin, here's my top ten list (Score:5, Informative)
Re:i'm a unix sysadmin, here's my top ten list (Score:4, Informative)
poke is a shell function I wrote, as I needed to test network capability in a place that blocked ICMP traffic. It returns true when it can make a connection, or false otherwise. You may wish to add reporting; just uncomment the second line.
Also please note that I purposefully left anything that is in standard installs (yes, Redhat fails to install cvs and vim-enhanced in its "server" config).Virtual Desktops and Tail (Score:2)
By using Virtual desktops, having multiple tail windows open to view an appliation is not so bad.
Personally, I create a folder for each application with startup, shutdown shortcuts and tail execution shortcuts to each significant log file for the application I am testing.
This methodology works with x11 or win32 hacking / administration.
Now that I virtual desktop, I have don't know how I managed without them
JsD
gqmpeg & a NetBSD boot CD (Score:2)
in addition to what was already said.
Not really sysadmin-related.
(gqmpeg's the world's finest mp3 player
- Hubert
Mine (Score:5, Informative)
2) nmap
3) sysstat utilities (sar, iostat, vmstat, etc)
4) python (my automation tool of choice)
5) grep/awk/sed (filtering output etc)
6) Nagios
7) DenyHost (log watcher that blocks hosts via deny.hosts file)
8) snort
9) screen
10) lsof (list open file discriptors (sockets, streams, and actual files))
As for those who keep saying "ImageMagick? What kind admin uses ImageMagick!" Well, I used to work for a e-commerice bookseller. We delt with millions of bookcover images and ImageMagick was a golden for mass manipulation of images. As for MP3 tools, I like my music why I work! Whats wrong with that? It's not essential for the job, but it is for my happiness.
Re:Mine (Score:3, Informative)
For ecommerce image manipulation, I found a handy tool called 'phpThumb'. It generates resized images on the fly and caches the results for performance. I worked for an online musical instrument shop and found it to be an incredible timesaver, not just for me, but for the data entry people, too. When a page design required yet another size image for produ
Hate to flame... (Score:2)
In any case, here is my sysadmin tools (and this is somebody with four years system administration experience, but no means an "aged expert" but no neophyte):
1. Perl. The Swiss army knife of most *any* UNIX task. Self explanatory. (Most useful Perl modules for a sysadmin would be Net:: any
Win32 toolbox (Score:3, Funny)
McAfee
Disk Defrag
Regedit
Spybot
Adaware
ctr-alt-del
Hard Reset
Reinstall Windows
Update
My neice swears by the above
My top ten tools for system administration (Score:3, Funny)
Hard liquor would have made the list, but I use that for more than sysadminning.
ISO's (Score:3, Insightful)
You're right - it's preposterous to think a sysadmin would want to download distro ISO's quickly.
Re:ISO's (Score:5, Interesting)
I see that argument a lot, but y'know, I can download an ISO of any major distro via plain ol' FTP or HTTP as fast as my cablemodem will let me. What exactly would I gain by using P2P, other than yet another open port on my machine just waiting for someone to find an exploit?
Though, don't take this as an anti-P2P stance... P2P has its uses, and more efficient (for the server, not for any particular recipient) distribution of large files comes in pretty high on that list. But on this list, of the top 10 sysadmin tools - It doesn't come in at all. It duplicates funcationality (if via a slightly different mechanism) already present on a stock Linux box.
ctorrent rules (Score:2)
You neglect the fact that many Linux distributions now rely on bittorrent in preference to other protocols. Centos comes to mind.
In these cases, I use ctorrent [sourceforge.net]. Very small, non-gui.
Re:ISO's (Score:2)
You should consider that somebody pays for that bandwidth. I don't leave my torrents on forever, but I at least try to maintain a 1:1 ratio. That's the only scalable behavior. OK, you can donate money too.
Re:Transmission? (Score:3, Interesting)
Re:Sysadmin? (Score:2)
This is the Linux section after all. Perhaps the BSD section is more suited for real admins? *ducks*
Re:LART (Score:3, Insightful)
s/IBM model "M"/Sun Type 5/g
Without a doubt the most glorious keyboard in the world.
Re:Where is Snort? (Score:2)