No Longer Easy for Sys Admins
Until now, system administrators running Linux have had it fairly easy. But this won't last long. Why? Well, until now Linux has been basically a server OS. The GUI, and therefore window manager, was just a pretty option. But as Linux moves to the desktop, the Linux system administrator's life becomes much more complicated. Now, it's not just a matter of knowing how to configure sendmail, DNS and Apache, but being able to fix GUIs users have managed to break somehow. That means knowing, inside and out, KDE, GNOME, XFCE, TWM, FVWM, MWM, Blackbox, etc. Sure, your present company may dictate KDE and enforce the choice. But another company will push GNOME or any of a dozen other WMs. Then there's the rogue “power user” who knows enough to be dangerous and has installed a private copy of his or her favorite WM. I've looked at the KDE configuration files and I'm awed. My /opt/kde/share/config has more files than /etc. Guess I'll be figuring them out for a while. Then it's on to GNOME. Yes, I know there are GUI config tools for all this. And that's all well and fine when you're standing in front of the system. But when the broken system is on the other end of a 56k dial-up connection, vi is still my tool of choice.
If you must maintain a system with the latest and greatest that's out, then vcheck can be a lifesaver. I don't know of any distribution that will keep libraries and other files up to date except for security reasons. I find that my libraries must be the most current for new software to build. This utility makes it easy. The default configuration will check on your kernel, but adding entries is easy. A quick cron job and you always have the latest software ready for installation. Requires: Perl and Perl modules: LWP::UserAgent, Getopt::Long, File::Copy, HTTP::Request and File::Basename.
While I generally prefer the command line to check disk usage, this particular utility is very nice. What I like about it is that I can put a copy on all my systems, then use ssh's ability to run an application remotely and display it locally (if you have X11 forwarding configured). I can put half a dozen on the screen and keep an eye on all the systems at once. Requires: libgtk, libfdk, libgmodule, libdl, libglib, libXext, libX11, libm, glibc.
ettercap goes beyond the simple (though extremely useful) tcpdump and shows you more about what's happening on your LAN. It can show all traffic between two hosts or can show only web traffic, etc. It also can analyze encrypted traffic and works even on a switched LAN. It can, however, be a little hard on a LAN on startup as it uses an ARP storm to gain LAN information in a switched environment. Of course, there are always command-line options that can be used to override this behavior. Requires: libdl, libform, libncurses, libm, libssl, libcrypto, glibc.
I may be wrong (and often am), but I believe most administrators have at least a little knowledge of Perl. It's just that Perl is so darn useful and simple it's relatively easy to write in. And combined with a lot of powerful modules, so much can be done by those of us with little real programming knowledge. The Perltidy application can help you by making your Perl code a little easier to read. I personally don't always indent. And between writing sessions (write/test/rewrite) I find I occasionally do things differently. Perltidy attempts to clean up all that and more. It's not perfect, but it does make your code more readable. Requires: Perl and the Perl module IO::File.
The gocr program is an attempt to bring optical character recognition (OCR) capabilities to Linux. This program is designed to work with PNG files (faxes) to turn them into ASCII text. I tried a number of different documents and found that, while gocr does work, it is fairly sensitive to the font size and type used. If someone sends you a very fancy fax with italics and fonts in differing sizes, gocr probably won't help much. But a very plain fax using a courier font comes through fairly well. As usual, your mileage may vary. Requires: libpnm, libpgm, libppm, glibc.
This utility will show you bandwidth utilization on your network. Yes, you can use MRTG, but if you don't want to run SNMP and a web server, this will do you well. Most administrators need something to help justify increases in bandwidth or capacity for your LAN, or just to identify the bandwidth hogs. Requires: libpcap, glibc.
If you're running CUPS as your printer software, you might want to look at GtkLP for use in the X Window System. While CUPS comes with a web interface, it's not the quickest way around the CUPS system. GtkLP will get you around much more quickly. The utility is easy to use and allows you to do a number of things much more easily than with CUPS' web interface. Worth a look. Requires: libcups, libgtk, libgdk, libgmodule, libglib, libdl, libXext, libX11, libm, libssl, libcrypto, glibc.
Until next month.
David A. Bandel (firstname.lastname@example.org) is a Linux/UNIX consultant currently living in the Republic of Panama. He is coauthor of Que Special Edition: Using Caldera OpenLinux.
Practical Task Scheduling Deployment
One of the best things about the UNIX environment (aside from being stable and efficient) is the vast array of software tools available to help you do your job. Traditionally, a UNIX tool does only one thing, but does that one thing very well. For example, grep is very easy to use and can search vast amounts of data quickly. The find tool can find a particular file or files based on all kinds of criteria. It's pretty easy to string these tools together to build even more powerful tools, such as a tool that finds all of the .log files in the /home directory and searches each one for a particular entry. This erector-set mentality allows UNIX system administrators to seem to always have the right tool for the job.
Cron traditionally has been considered another such a tool for job scheduling, but is it enough? This webinar considers that very question. The first part builds on a previous Geek Guide, Beyond Cron, and briefly describes how to know when it might be time to consider upgrading your job scheduling infrastructure. The second part presents an actual planning and implementation framework.
Join Linux Journal's Mike Diehl and Pat Cameron of Help Systems.
Free to Linux Journal readers.View Now!
|The Firebird Project's Firebird Relational Database||Jul 29, 2016|
|Stunnel Security for Oracle||Jul 28, 2016|
|SUSE LLC's SUSE Manager||Jul 21, 2016|
|My +1 Sword of Productivity||Jul 20, 2016|
|Non-Linux FOSS: Caffeine!||Jul 19, 2016|
|Murat Yener and Onur Dundar's Expert Android Studio (Wrox)||Jul 18, 2016|
- The Firebird Project's Firebird Relational Database
- Stunnel Security for Oracle
- My +1 Sword of Productivity
- Managing Linux Using Puppet
- Non-Linux FOSS: Caffeine!
- SUSE LLC's SUSE Manager
- Murat Yener and Onur Dundar's Expert Android Studio (Wrox)
- Parsing an RSS News Feed with a Bash Script
- Doing for User Space What We Did for Kernel Space
- Google's SwiftShader Released
With all the industry talk about the benefits of Linux on Power and all the performance advantages offered by its open architecture, you may be considering a move in that direction. If you are thinking about analytics, big data and cloud computing, you would be right to evaluate Power. The idea of using commodity x86 hardware and replacing it every three years is an outdated cost model. It doesn’t consider the total cost of ownership, and it doesn’t consider the advantage of real processing power, high-availability and multithreading like a demon.
This ebook takes a look at some of the practical applications of the Linux on Power platform and ways you might bring all the performance power of this open architecture to bear for your organization. There are no smoke and mirrors here—just hard, cold, empirical evidence provided by independent sources. I also consider some innovative ways Linux on Power will be used in the future.Get the Guide