LinuxQuestions.org
Visit Jeremy's Blog.
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 08-10-2004, 03:19 PM   #1
atom
Member
 
Registered: Feb 2004
Location: Slovenia
Distribution: archlinux
Posts: 271

Rep: Reputation: 31
finding program logfiles


Hi!

My computer has been behaving strange lately. I am on RH9 (yeah, I know it kinda sucks but as soon as I get a new machine I'm switching to Gentoo) and just leaving it on required 20 percent of CPU and gkrellm's showing a lot of write to disc. So, I thought to check the program logfiles for size, because it has to scroll to the bottom when it writes anything, so it consumes a lot of cpu. I would then empty them.


So, my question:

Is there any universal (or mainstream) logfile {extension, search criteria, anything else} that I could use to search for them via locate?

Thx in advance,

Atom
 
Old 08-10-2004, 05:22 PM   #2
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
Red Hat 9 ought to keep all of its logs in /var/log. Just browse to that directory and look over its contents. You may see files like "messages.2" or something like that. That just means the logrotate program is working and gradually cycles old log files out (by deleting them). Depending on when your computer is on, logrotate might not have an opportunity to do that maintenance.

If you don't see anything out of the ordinary, then it could be a specific application log. You'll have to read up on any daemons you're running and where they store their log files. There's no set-in-stone rule that says they must go in /var/log that's just where Red Hat chose to put their system logs. You could always try locate '.log'

Last edited by Dark_Helmet; 08-10-2004 at 05:37 PM.
 
Old 08-10-2004, 05:31 PM   #3
atom
Member
 
Registered: Feb 2004
Location: Slovenia
Distribution: archlinux
Posts: 271

Original Poster
Rep: Reputation: 31
thanks, I'll try that out. Will be back with results.
 
Old 08-10-2004, 05:33 PM   #4
atom
Member
 
Registered: Feb 2004
Location: Slovenia
Distribution: archlinux
Posts: 271

Original Poster
Rep: Reputation: 31
it seems ok. Must be summat else. Thanks anyway, at least I know where i must look next.
 
  


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
Finding out the version of a program purefan Linux - Software 3 02-25-2005 06:37 PM
Finding installed program binarysoul Mandriva 5 01-31-2005 10:42 PM
finding pid with program name durden2.0 Linux - Newbie 1 08-04-2003 09:38 PM
Need help finding program - emailSMTP Brett-NZ Linux - Newbie 0 07-26-2003 06:14 AM
Finding program paths davee Linux - Newbie 4 07-14-2003 09:17 AM

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

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