LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-26-2003, 05:19 PM   #1
baronsam
Member
 
Registered: Oct 2003
Posts: 44

Rep: Reputation: 15
logging program - time format


Hello--

I am having trouble with my logs.

Does somebody know of an equivalent to the redhat log viewer that :

- converts unix time format to human time format

- allows you to specify an unlimited number of log files to list and read


in a command line interface, how can i display a log with the times converted to human-readable format ?


thanks for your help,


--sam
 
Old 12-26-2003, 06:32 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,340

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
You could try getting tail to work the way that you want:
tail /var/log/boot.log
tail /var/log/*.log
tail /var/log/*.log | less
find /var -iname "*log" -exec tail {};


___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 12-26-2003, 06:36 PM   #3
baronsam
Member
 
Registered: Oct 2003
Posts: 44

Original Poster
Rep: Reputation: 15
this wouldn't convert the time format though would it ?

also, do you have an idea for one with a gui ?

thanks,

--sam
 
Old 12-26-2003, 08:14 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,340

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
"this wouldn't convert the time format though would it ?"

It shows the time in 24 hour format.

"also, do you have an idea for one with a gui ?"

The only GUI log viewer that I know of is kwatch. I have never tried kwatch so I don't know if it meets your criteria or not:

http://www.m-j-s.net/kde/

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
  


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
First time logging in MEPIS shayahakohen Linux - Newbie 1 11-13-2005 04:10 PM
In C, converting time format Miaire Programming 4 02-03-2005 12:25 AM
I need Help to interpret this time format unixfreak Linux - Newbie 7 08-03-2004 12:13 AM
was able to partition AND format this time!!....BUT..... beginnerx Linux - Newbie 13 10-02-2003 02:24 AM
apt-get time out while logging in? Pcghost Linux - Software 1 06-03-2003 11:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:32 PM.

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