Solved

Find Poorly Optimized Scripts

Posted on 2006-11-16
7
207 Views
Last Modified: 2011-04-14
My memory and CPU usage have been going quite high lately, and I am wondering what is the easiest way to monitor the scripts running on my server to find out which ones are using the most CPU and memory.  I need something that does more than top in SSH and can help me pinpoint it more than the page in WHM that shows top processes.
0
Comment
Question by:jls33fsls
  • 3
  • 2
7 Comments
 
LVL 15

Expert Comment

by:periwinkle
ID: 17965076
What more than top are you looking for?
0
 

Author Comment

by:jls33fsls
ID: 17969461
I have been optimizing all the scripts on my site and the server load problem has not gone away.  I want to try and find what is causing the problem, but top just shows things like what user the process is from and nothing very specific.  I want to try and pinpoint certain scripts that are causing the problem.
0
 
LVL 15

Expert Comment

by:periwinkle
ID: 17973150
Try doing:

ps ax

to show what processes are running (and the parameters they are running with) at the time of the problems.  Additionally, check the web logs and error logs, as well as the message logs.
0
 

Author Comment

by:jls33fsls
ID: 17973786
That doesn't help me see which ones are causing the load problem though.
0
 
LVL 15

Accepted Solution

by:
periwinkle earned 125 total points
ID: 17974477
Looking at the documentation and faqs for Cricket, that might work for you:

http://cricket.sourceforge.net/
0

Featured Post

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question