Solved

Find Poorly Optimized Scripts

Posted on 2006-11-16
7
205 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to redirect https://www to non-www? 6 75
how can I backup my incomplete website from hostgator? 3 63
Use System DSN 6 88
whm high memory usage in processes 7 91
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

831 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