LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 06: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, 07:32 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,751

Rep: Reputation: 272Reputation: 272Reputation: 272
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, 07: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, 09:14 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,751

Rep: Reputation: 272Reputation: 272Reputation: 272
"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


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


All times are GMT -5. The time now is 10:25 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration