13
Quick Start Guide: Linux Performance Data Collection and Processing into the PDB

Quick Start Guide: Linux Performance Data Collection …demandtech.com/.../2012/...Linux-Performance-Data.pdf · Quick Start Guide: Linux Performance Data Collection and Processing

  • Upload
    buibao

  • View
    253

  • Download
    3

Embed Size (px)

Citation preview

Quick Start Guide: Linux Performance Data

Collection and Processing into the PDB

 

LINUX  SYSTEM  DATA  PROCESSING  ..........................................................................  2  

Set  Up  for  System  Data  Capture  Using  Scripts  Provided  by  Demand  Technology    procsadf.tar  .......................................................................................................  2  Set  Up  For  System  Data  Capture  ...................................................................................  3  

Load  the  Data  Files  into  the  PDB  .........................................................................  4  Examples  .......................................................................................................................  4  Requirements  ................................................................................................................  5  

APPENDIX  1  .............................................................................................................  6  

Defining  the  ODBC  Connection  ............................................................................  6  

http://pagesperso-­orange.fr/sebastien.godard/index.html    

HOSTNAME-

sadf-YYYY-mm-dd.xml

su

sh run-sadc.sh

run-procsadf.sh

run-procsadf.sh procsadf.pl

-

-

-

/home/admin/sadf-­logs/procsadf.pl/var/log/sa/home/admin/sadf-­logs/logs /usr/bin/sadf

-

-

- - -

run-procsadf.sh

chmod +x run-procsadf.sh

the run-procsadf.sh

sadfload -a -Force -DbDsn DSNNAME -DbId ID -DbPw PW -KeepDays DAYS -f

FILE -a

-Force

-DbDsn DSNNAME

-DbId ID

-DbPw PW

-KeepDays DAYS

-f FILE

sadfload.exe -DbDsn PDB -f c:\linuxlogs\lnxdb1-sadf-20081207.xml

sadfload.exe -DbDsn PDB -f c:\linuxlogs\lnxdb1-sadf-200812*.xml

sadfload.exe -DbDsn PDB -f c:\linuxlogs\*sadf*.xml

sadfload.exe -a -DbDsn PDB -DbId pdbuser -DbPw password -

KeepDays 20 -f c:\linuxlogs\lnxdb1-sadf-20081210.xml

sadfload.exe -a -Force -DbDsn PDB -DbId pdbuser -DbPw password -

KeepDays 20 -f c:\linuxlogs\lnxdb1-sadf-20081210.xml