Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-11-2002, 11:50 AM   #1
LQ Newbie
Registered: Sep 2001
Location: Colorful Colorado
Posts: 8

Rep: Reputation: 0
Question Process Info (more than ps )

Hey everyone,

We got some user that must have a PHP script or something that's getting stuck in an endless loop.

I've checked as far as I know how with top and ps, but this httpd process keeps coming back using 50-95% of the CPU. I've been killing it all day yeasterday and this morning. But it keeps coming back. And it will keep on running until I kill it.

It's owned by httpd, and the best info that I was able to get from ps is that it's coming from httpd.conf

How can I get more infomation about a httpd process. I need to track down the exact file and user that is causing this problem so that this issue can be resolved.

Thanks in Advance
Old 05-12-2002, 02:26 AM   #2
Registered: Apr 2002
Posts: 84

Rep: Reputation: 15
look in /proc/<PID>

where <PID> is the id of the process you need info on - just cat some of the files in there.

for instance:

$ cd /proc/2964
$ ls
cmdline cwd@ environ exe@ fd/ maps mem root@ stat statm status
$ cat cmdline

basically, everything the kernel knows about this process should be in there. hope this helps!
Old 05-12-2002, 03:22 AM   #3
LQ Newbie
Registered: Sep 2001
Location: Colorful Colorado
Posts: 8

Original Poster
Rep: Reputation: 0
oh yes, that helps immensly,

Thanks much Growler


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
get info about a specific process hfawzy Programming 4 01-31-2007 02:11 PM
how to send some info to a process? puishor Programming 1 11-28-2005 04:09 PM
how to get more process' info according to its PID? iclinux Programming 1 02-05-2005 06:30 AM
API's to get process info r_213 Programming 4 12-06-2004 09:23 AM
INFO: configuring monit (process monitoring) markus1982 Linux - Software 0 05-25-2003 06:39 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:34 AM.

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