Access RAM Memory & CPU Usage By User Files

Reply

Join Date: Dec 2008
Posts: 16
Reputation: =IceBurn= is an unknown quantity at this point 
Solved Threads: 0
=IceBurn='s Avatar
=IceBurn= =IceBurn= is offline Offline
Newbie Poster

Access RAM Memory & CPU Usage By User Files

 
0
  #1
Jan 14th, 2009
Hi!

OK, I don't really now how this can be done, but as far as I can remember when I was in shared hosting, they always complaint about memory usage.... but they always know what specific files were cosing the most load on the server.

So, I remember I have this count.php file that was constantly hited and the complaint and tell me exactly what file it was cosing the heavy load.

This is just an example, but looks like they always knew the specific files that were cosing problems, so what the hell, this can be done!

Now that I have my own server I would like to know these things as well, so I can know what files need to be optimized.

I searched and searched and searched and... OK, you'll get the point, and I just HAVE NOT find any information on this.

Can someone tell me this "secret"? What do you use to get the files that are cosing the most heavy load on a Linux server?

In advance, thank you very much!!!!
"Yesterday is history. Tomorrow is a mystery.
Today is a gift. That's why it's called the present."
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 16,233
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 540
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: Access RAM Memory & CPU Usage By User Files

 
0
  #2
Jan 14th, 2009
they were probably running each virtual server in a jail and minirotirng the usage with top.
If i am helpful, please give me reputation points.
Reply With Quote Quick reply to this message  
Join Date: Dec 2008
Posts: 16
Reputation: =IceBurn= is an unknown quantity at this point 
Solved Threads: 0
=IceBurn='s Avatar
=IceBurn= =IceBurn= is offline Offline
Newbie Poster

Re: Access RAM Memory & CPU Usage By User Files

 
0
  #3
Jan 14th, 2009
But even with
# top -U username
I don't have access to file names, only the php-cgi process.

By the way, great musical taste
"Yesterday is history. Tomorrow is a mystery.
Today is a gift. That's why it's called the present."
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 16,233
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 540
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: Access RAM Memory & CPU Usage By User Files

 
0
  #4
Jan 14th, 2009
i think cpanel etc... can get that sort of info from the logs
If i am helpful, please give me reputation points.
Reply With Quote Quick reply to this message  
Join Date: Dec 2008
Posts: 16
Reputation: =IceBurn= is an unknown quantity at this point 
Solved Threads: 0
=IceBurn='s Avatar
=IceBurn= =IceBurn= is offline Offline
Newbie Poster

Re: Access RAM Memory & CPU Usage By User Files

 
0
  #5
Jan 14th, 2009
I use Lxadmin.
"Yesterday is history. Tomorrow is a mystery.
Today is a gift. That's why it's called the present."
Reply With Quote Quick reply to this message  
Join Date: Dec 2008
Posts: 16
Reputation: =IceBurn= is an unknown quantity at this point 
Solved Threads: 0
=IceBurn='s Avatar
=IceBurn= =IceBurn= is offline Offline
Newbie Poster

Re: Access RAM Memory & CPU Usage By User Files

 
1
  #6
Jan 15th, 2009
Ok, the solution is to activate mod_status in Apache.

Thanks.
Last edited by =IceBurn=; Jan 15th, 2009 at 9:03 pm.
"Yesterday is history. Tomorrow is a mystery.
Today is a gift. That's why it's called the present."
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC