LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 02-27-2004, 07:18 PM   #1
Bogdan
Member
 
Registered: May 2001
Location: Belarus
Distribution: Debian
Posts: 120

Rep: Reputation: 15
perfomance monitoring on server


Hi! I want to know, how much cpu use some software (apache, perl, mysql) for perfomance optimization. The only idea I have is to parse top output.
 
Old 02-05-2013, 09:49 AM   #2
sundialsvcs
Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,455

Rep: Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172
Very often, Nagios is used for this sort of big-picture view. It's a sort of framework into which many different kinds of monitors (including pre-existing ones) can be inserted.
 
Old 02-05-2013, 10:19 AM   #3
Habitual
Senior Member
 
Registered: Jan 2011
Distribution: Undecided
Posts: 3,619
Blog Entries: 1

Rep: Reputation: Disabled
Easy SNMP Server and Client Configuration
 
Old 02-05-2013, 11:05 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,688
Blog Entries: 54

Rep: Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955
Quote:
Originally Posted by Bogdan View Post
Hi! I want to know, how much cpu use some software (apache, perl, mysql) for perfomance optimization. The only idea I have is to parse top output.
SNMP is an oft-forgotten completely undervalued method for polling assets for data. Nagios is most used for long term, continuous monitoring of local and remote assets (also see Monit, Munin, Zabbix, Cacti). Most of these these tools come with plugins to monitor for example the amount of MySQL queries and Apaches amount of busy / idle worker threads, etc, etc.

They're valuable tools but might be overkill if you need a quick fix and not continuous monitoring. IMHO the best way to start IMHO is to ask yourself and examine what it exactly is that you feel you need to optimize. To some extent (low resources, obsolete HW, misconfiguration and other bad admin practices aside) the LAMP web stack isn't the problem but what runs on top of it. If you're not that knowledgeable or creative then look at performance optimization documents first. These tutorials will often offer system and daemon-specific tools used for performance analysis and stress-testing. Start with with Atop, Collectl or Dstat and Apache Top and MySQL Top. And unless you're very disciplined making backups manually I suggest you add any versioning system you're comfortable with. Collected statistics and changes in performance aren't worth anything if you can't link them back to changes made earlier and it makes reverting easier. Before you turn to optimizing your LAMP web stack ensure you understand the system in terms of scheduling, Virtual Memory Management, networking and web server best practices. Simulate a system under stress with the aptly named 'stress' tool and fire of a gazillion requests using Apaches 'ab' benchmarking tool. For more search Sourceforge, Berlioz, Savannah.nongnu or the-site-formerly-known-as-Freshmeat for terms like "performance analysis" or "stress test" or "test harness" or "automated testing". HTH
 
  


Reply


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
Remote Server Monitoring vaworx Linux - General 3 08-22-2005 09:27 AM
server monitoring wedgeworth Linux - Networking 11 05-06-2004 11:31 PM
Server monitoring software. SSBN Linux - Networking 1 06-24-2003 05:40 PM
Server Monitoring Manuel-H Linux - General 1 04-20-2003 12:39 AM
monitoring proftp server adrianmak Linux - Networking 4 01-04-2003 10:46 AM


All times are GMT -5. The time now is 04:54 PM.

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