Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-19-2013, 03:54 PM   #1
LQ Newbie
Registered: Mar 2013
Distribution: Red Hat
Posts: 9

Rep: Reputation: 0
Linux equivalent for Windows Event Log

I'm trying to get used figuring out problems in my Red Hat environment. In Windows I would go to the event log and check the application, system and security logs as appropriate. What is the equivalent in Linux?

I've been looking around and it seems that /var/log seems to hold most of what I need:
boot.log - start up
messages - generic stuff
yum.log - application install

Any others that might be generally useful?

Old 03-19-2013, 04:09 PM   #2
Registered: Dec 2002
Location: Au
Distribution: Debian
Posts: 209

Rep: Reputation: 55
the "dmesg" command gives you latest kernel messages,
/var/log/Xorg.0.log for GUI stuff.
-v (or -vv, -vvv sometimes) for more info from most commands
lspci, lsusb for device info
netstat -tlnp (as root) for a list of open tcp sockets and the related program
top for current process info
jnettop for current network

that about scratches the surface...
1 members found this post helpful.
Old 03-19-2013, 04:37 PM   #3
LQ Newbie
Registered: Mar 2013
Distribution: Red Hat
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks, yowi.

dmesg - looks handy and appears to be a way to avoid sudo to look at messages file.
I rarely have GUI problems.
If I need lspci or lsusb I'm in big trouble.
netstat I knew from windows and top I already figured out (shared dev boxes).
jnettop is new to me. One cool thing is how my laptop didn't have jnettop so it asked if I wanted to download the package. Not in Redmond anymore...
Old 03-19-2013, 07:58 PM   #4
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,329

Rep: Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745
Basically, I advise looking into everything under /var and just googling it if its not obvious. You don't have to know it all inside out, but it you should know (roughly) what each dir/log file under there is for; then you'll know where to start looking when you get a specific problem.
Might be worth getting a notebook and writing it down. Storing it on the system might be problematic if you get a serious problem
2 members found this post helpful.
Old 01-18-2017, 05:00 PM   #5
LQ Newbie
Registered: Jan 2011
Location: Lehi, Utah
Distribution: Linux Mint
Posts: 15

Rep: Reputation: 1
Originally Posted by GreenScuba View Post
.... Not in Redmond anymore...
You cracked me up. I wish others would realize how simple Linux has been written in the recent past to be so user empowering.

Linux is great for anyone who wants to get out of the "We own you now" trap of the typical commercial computer you buy at the big box store down the street, or online at the big net stores (think NewEgg, Amazon, BestBuy, etc.)

Welcome to the real world where real people learn real computing using a real OS, which they get to choose and configure the way THEY want.


Last edited by kpearsonxyz; 01-18-2017 at 05:01 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Machine Check Event Log drManhattan Linux - Server 2 12-03-2012 05:49 AM
horde log event nima0102 Linux - Server 2 11-16-2008 02:42 PM
Linux-Windows Security: ClamAV and Event Viewer ElvisImprsntr Linux - Security 3 09-29-2007 09:23 AM
collecting windows event logs on a linux server kav Linux - Software 1 06-22-2007 04:28 PM
Monitoring Windows Servers from Linux (CPU, Perfmon, Event log) big_linux_geek Linux - Enterprise 5 02-16-2005 02:20 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:56 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration