Skip to content

Linux's system activity information from sar, this project will use postgresql manage bulk Linux hosts. These hosts registed in postgresql, and every day load it's sar info into postgresql, and use postgresql's SQL analyze the hosts performance, like performance's system activity information and TOP resource consume's hosts, and so on.

Notifications You must be signed in to change notification settings

jiaoyk/linux_performance_analyze

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

linux_performance_analyze

Linux have a rpm sysstat, when you install it, it will add a crontab in /etc/cron.d/sysstat, it's content like below :

run system activity accounting tool every 10 minutes

*/10 * * * * root /usr/lib64/sa/sa1 1 1

generate a daily summary of process accounting at 23:53

53 23 * * * root /usr/lib64/sa/sa2 -A

You can use command sar view the history of sysstat collected, but we see the history will rotated automatic. This linux_performance_analyze project will use postgresql store the sysstat history data. These Linux hosts must registed in postgresql, and then every day load it's sar info into postgresql. And we can use postgresql's SQL analyze the hosts performance, like performance's system activity information and TOP resource consume's hosts, and so on. OK, Let's use it , easy know bulk linux Hosts's performance data, and can enjoy selflife.

Author : Digoal zhou

About

Linux's system activity information from sar, this project will use postgresql manage bulk Linux hosts. These hosts registed in postgresql, and every day load it's sar info into postgresql, and use postgresql's SQL analyze the hosts performance, like performance's system activity information and TOP resource consume's hosts, and so on.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 51.3%
  • PLSQL 48.7%