|
C tramadol hc mplete System Performance Monitor HOWTOChris Lorenz2003-06-10Revision History tramadol hc Revision 2.0 2003-06-10 Revised by: CL Th tramadol hc s HOWTO provides an overview of the Complete System Performance Monitor,including a description of the product and ins tramadol hc allation and configurationinformation.-----------------------------------------------------------------------------Tab tramadol hc e of Contents1. Copyright and legal notice2. What Is the Complete System Performance Monitor?3. Requirements4. Install tramadol hc ng CSPM and its requirements 4.1. Installing Qt 3.0 or later 4.2. Installing CSPM 4.3. Starting the CSPM moni tramadol hc or 5. Modifying CSPM defaults6. How CSPM displays data 6.1. System Overview tab 6.2. IRQs tab 6.3. CPU U tramadol hc ilization tab 6.4. Memory tab 6.5. Network tab 6.6. Storage tab 6.7. Tests tab 6.8. Test Summary tab tramadol hc 1. Copyright and legal noticeCopyright © 2003 IBM Corporation. All rights reserved.This document is provided "AS IS, tramadol hc with no express or implied warranties. Usethe information in this document at your own risk.Linux is a registered tra tramadol hc emark of Linus Torvalds. Other company, product,and service names may be trademarks or service marks of others.Permiss tramadol hc on is granted to copy, distribute, and/or modify this document underthe terms of the GNU Free Documentation License, V tramadol hc rsion 1.1 or any laterversion published by the Free Software Foundation with no Invariant Sections,no Front-Cover text tramadol hc and no Back-Cover text. A copy of the license can befound at [http://www.gnu.org/licenses/fdl.txt] http://www.gnu.org tramadol hc licenses/fdl.txt.-----------------------------------------------------------------------------2. What Is the Complete tramadol hc ystem Performance Monitor?The Complete System Performance Monitor (CSPM), written by Don Dupuis ofCompaq Computer Corp tramadol hc ration, is a graphical tool that monitors a Linux®system's CPU, memory, storage, network, and IRQ utilization. CSPM ga tramadol hc hers allthe data automatically and then generates histogram displays of system usage.--------------------------------- tramadol hc -------------------------------------------3. RequirementsCSPM V1.0 and later require the following: * Red Hat Linux tramadol hc .2 or later, Mandrake 8.2 or later, or any Linux kernel that has Stephen Tweedie's sar or sysstat patch applied (su tramadol hc h as 2.4.20). * The Trolltech Qt 3.0 or later C++ application development environment, which is available for d tramadol hc wnload from Trolltech for free. -----------------------------------------------------------------------------4. Inst tramadol hc lling CSPM and its requirementsThis section describes how to acquire the Qt application developmentenvironment and ins tramadol hc all CSPM.-----------------------------------------------------------------------------4.1. Installing Qt 3.0 or laterQ tramadol hc 3.0 or later must be installed on the system before you install CSPM.Follow these steps to acquire and configure Qt: tramadol hc . Download the Qt X/11 Free Edition from [www.trolltech.com] http:// www.trolltech.com for the latest version of Qt tramadol hc 2. Follow Trolltech's instructions for installing Qt. 3. Run ./configure with the -thread switch to the configu tramadol hc e program so that Qt is installed to run in multithreaded mode. # ./configure -thread tramadol hc 4. Be sure to export the variables QTDIR and LD_LIBRARY_PATH, as described in the Qt in tramadol hc tallation instructions that are downloaded with the software. --------------------------------------------------- tramadol hc -------------------------4.2. Installing CSPMThe following sections describe how to download and install CSPM. These s tramadol hc epsmust be run by the root user. The installation process creates a directorycalled spm and places all the files in th tramadol hc t directory.-----------------------------------------------------------------------------4.2.1. Installing from rpmFol tramadol hc ow these steps to install CSPM from the rpm file: 1. Download the CSPM rpm file from SourceForge at [http://sourceforg tramadol hc .net/ projects.cspm] http://sourceforge.net/projects/cspm. The program name for CSPM is spm2. 2. Install the tramadol hc oftware: # rpm -ihv --nodeps spm2-1.0-1.586.rpm The rpm creates the binary tramadol hc call spm2 in the current directory. -----------------------------------------------------------------------------4.2 tramadol hc 2. Installing from tarFollow these steps to install CSPM from the tar file: 1. Download the CSPM tar file from SourceF tramadol hc rge at [http://sourceforge.net/ projects.cspm] http://sourceforge.net/projects/cspm. The program name for CSPM i tramadol hc spm2. 2. Untar the spm2.tar.gz file: # tar xvzf spm2.tar.gz tramadol hc 3. Compile CSPM: # make all The make command tramadol hc creates the binary call spm2 in the current directory. ------------------------------------------------------------- tramadol hc ---------------4.3. Starting the CSPM monitorThe spm2 program should be run by a user other than root so that any chan tramadol hc esto the default preference settings can be changed.Enter the following command from the directory where CSPM is insta tramadol hc led:# ./spm2 If a segmentation fault occurs when s tramadol hc m2 is starting up, make sure that youhave set the QTDIR and LD_LIBRARY_PATH variables, as described in the Qtinstallat tramadol hc on instructions that are downloaded with the software.---------------------------------------------------------------- tramadol hc ------------5. Modifying CSPM defaultsBy default, the number of "range bars" along the y-coordinate of eachhistogram i tramadol hc five. When there is no activity for a particular device, CSPMprovides default values of 0, 0.2, 0.4, 0.6, and 0.8. On tramadol hc e activity begins onthe device, CSPM sets the five values in equal increments from 0 to the peakdata value collected in each collection interval. Sometimes the grid linesfall directly on the range bar numbers, making the numbers hard to read. Youcan either adjust the color of the grid lines, adjust the collectioninterval, or try to ignore the grid lines.You can modify the default grid, sizing, and monitoring settings for each ofthe views from the Preferences pulldown. From the Preferences pulldown, youcan select System, Tests, CPU, Memory, Network, Storage or IRQs. Once youselect a particular item, you can view the Grid, Monitoring, or Sizing tab(if applicable) for that item.From the Grid tab you can change such things as: * the color of the
|