OpenSUSE Linux Tips, tricks, how-tos, opinions, and news
My Resume - My LinkedIn Profile - twitter: @scottmmorrisLet’s face it, Linux is better than Windows.
Actually, rather than open that can of worms, I would like to supply just one of the tons of reasons that I believe many system administrators would prefer Linux.
When you are trying to troubleshoot a problem, information about that problem is invaluable. Take, for example, the logging capabilities of the proprietary alternative.
I was called in (I still marvel over why) to work one day to figure out what happened to our Exchange server. What on earth possesses anyone to think I know or care anything about that… ? Anyway, they called me in, and I went. First thing I did when I got there was to go hunting for the system log. The extent of the information I found can be summarized in this screenshot:

Hmm… “The previous system shutdown at 4:49:45 AM on 8/11/2007 was unexpected.” Congratulations, thank you for that insightful bit of noteworthy and informative enlightenment. I had no idea that the shutdown was unexpected, even though that is PRECISELY why I am sitting in front of the computer to begin with.
In other words, the “Event Log” on Win32 platforms is technically correct, but absolutely useless.
In Linux, I can go to any one or more of several different logs, and I can even create my own should I so choose. We have /var/log/messages as the main system log. There are also others, like the mail log, the apache log, the php log, and the database log. Should I write a script that has custom output messages, I can send them to any other output file I wish by using the “>” symbol and redirecting the output to that file.
Without helpful and informative logs, I would likely not have been able to solve issues such as this that cropped up last September.
Helpful, detailed, descriptive, informative debugging and error logs: yet another reason to use Linux.
Heh, did you hear about how Vista was attacked by a 13-year-old virus?!
That would have to qualify as another spectacular reason to choose Linux over proprietary systems. You’re less likely to get viruses.
If you enjoyed this post, make sure you subscribe to my RSS feed!| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
| « Aug | ||||||
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 | ||
33 queries. 0.474 seconds
September 18th, 2007 at 1:26 pm
“In other words, the “Event Logâ€? on Win32 platforms is technically correct, but absolutely useless.
In Linux, I can go to any one or more of several different logs, and I can even create my own should I so choose. We have /var/log/messages as the main system log. There are also others, like the mail log, the apache log, the php log, and the database log. Should I write a script that has custom output messages, I can send them to any other output file I wish by using the “>� symbol and redirecting the output to that file.£
Can i just say i have a problem with Suse10.1 where it randomly freezes. Nothing can recover it apart from turning the PC completely offf and then back on again. Upon checking the logs there is absolutley nothing recorded about this event!! Don’t assume Linux is perfect either!
Cheers
September 18th, 2007 at 3:03 pm
Hayden,
Yes, I realize that it is not perfect. It is, however, by design, more helpful to troubleshooting in the ways I describe. Sorry that you are having trouble. For most instances, though, I think that the logs in Linux will have a higher probability of being helpful than those in M$ OSes. Thanks for stopping by!