LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-01-2006, 10:21 PM   #1
hegdeshashi
Member
 
Registered: Dec 2005
Posts: 73
Blog Entries: 3

Rep: Reputation: 15
how to read log info in Linux?


Hi,

please let me know any methods to read 'log info' from files like /var/log/messeges , var/log/maillog etc....


rgds,
hegdeshashi
 
Old 02-01-2006, 10:32 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Do you want to go through the files manually or do you want something to parse them for you? If you go through them manually, you'll need to open them as root (or with su/sudo access) in a text editor. Some info in the logs is self explanatory, some isn't. Are there specific entries you wanted help with?

You could use something like logwatch will will summarise your log files to the level of detail you specify and email you a report (if you run it out of a cron job).

Last edited by gilead; 02-01-2006 at 10:34 PM.
 
Old 02-02-2006, 12:10 AM   #3
hegdeshashi
Member
 
Registered: Dec 2005
Posts: 73

Original Poster
Blog Entries: 3

Rep: Reputation: 15
yes,

I have some specific entries to read ,please let me know how to read.
 
Old 02-02-2006, 02:57 AM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
How to read it is with a text editor (you'll need root privileges) What it means is something we can explain if you show us the lines that don't make sense.
 
Old 02-02-2006, 03:16 AM   #5
gugabaga
Member
 
Registered: Jan 2006
Distribution: Fedora
Posts: 61

Rep: Reputation: 15
In RH and Fedora you can use Application->System Tools->System Logs

If you dont find it - check your application manager and intall it.

Other systems dont know.

Hope this help.
 
Old 02-02-2006, 04:50 AM   #6
hegdeshashi
Member
 
Registered: Dec 2005
Posts: 73

Original Poster
Blog Entries: 3

Rep: Reputation: 15
hi,


My software(server) will be sending informations like IP addresses,ports,mail size etc. per client to var/log/messeges . I would like to read thaat one based on per unit time for taking some action.
 
  


Reply



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
Getting Log in Info from Dsniff mmhat Linux - Security 7 10-04-2005 02:48 AM
Startup log info puishor Linux - General 3 06-21-2005 02:24 AM
any linux tools to read nvidia cards bios? info? hedpe Linux - Hardware 0 04-19-2005 09:22 AM
which log gives me info about internet activity? dr_zayus69 Linux - Newbie 7 12-03-2004 05:14 PM
How can I pause boot so I can read info weshutchins Linux - Newbie 3 10-18-2003 08:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:51 AM.

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