Solved

Find Poorly Optimized Scripts

Posted on 2006-11-16
7
209 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
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…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Suggested Courses

632 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