LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-05-2003, 03:03 PM   #1
mad_ady
Member
 
Registered: Jan 2003
Location: I'm all in your mind!
Distribution: Debian
Posts: 248

Rep: Reputation: 30
How do I monitor a process?


I have a process that from time to time (about every 2 minutes) causes my processor to work at 100% for about a second. The thing is I never found out which process does this. How can I find out? (maybe look in the logs, but which?)

Thanks!
 
Old 11-05-2003, 03:13 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
The easiest way is probably to run "top" then press "P" to sort by CPU usage then look at the top screen when the CPU is being used.
 
Old 11-06-2003, 10:40 AM   #3
mad_ady
Member
 
Registered: Jan 2003
Location: I'm all in your mind!
Distribution: Debian
Posts: 248

Original Poster
Rep: Reputation: 30
Thanks... I noticed that actually a couple of programs are responsible for this...
foomatic-rip (any ideas what it does?)
devfsd (I believe this is necessary for things to work)
gs (what does it do?)
 
Old 11-06-2003, 02:01 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
foomatic-rip is used in printing - can't remember exactly what
devfs is used to monitor filesystems
gs is ghostscript - used to viewing PostScript and PDF files.

Try looking at the man pages for more info. Perhaps you are creating pdfs via a printer driver or something?
 
Old 11-06-2003, 07:45 PM   #5
alexchannell
Member
 
Registered: Nov 2003
Posts: 47

Rep: Reputation: 15
I had the same problem, it was gs. I uninstalled and reinstalled, it went away.
 
Old 11-07-2003, 10:15 AM   #6
mad_ady
Member
 
Registered: Jan 2003
Location: I'm all in your mind!
Distribution: Debian
Posts: 248

Original Poster
Rep: Reputation: 30
I'll try that...
david: I wasn't using the printer... But I'll gladly keep it just to be able to use the damn thing!
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Process monitor $@ya Programming 5 09-15-2005 12:57 PM
can inetd monitor process? iclinux Linux - Newbie 0 01-27-2005 07:49 PM
monitor process iclinux Programming 3 01-16-2005 03:00 PM
process monitor iclinux Programming 6 01-14-2005 10:35 PM
Process monitor in program ... joda Linux - Networking 1 06-10-2004 02:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:07 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