FastHandle - IT Operations Examples

FastHandle is fast operation tools for infrastructure configurations and tests.

User Tools

Site Tools


os:linux:set:performance:etc_cron.d_performance.html



Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
os:linux:set:performance:etc_cron.d_performance.html [2018/01/15 01:19]
kurihara
os:linux:set:performance:etc_cron.d_performance.html [2018/02/04 23:24] (current)
kurihara ↷ Links adapted because of a move operation
Line 1: Line 1:
-[[os:set:index.html]]+[[os:linux:set:index.html]]
 ====== /etc/cron.d/performance ====== ====== /etc/cron.d/performance ======
 **Performance survey of seconds interval on Cron** **Performance survey of seconds interval on Cron**
Line 26: Line 26:
 # CPU Details # CPU Details
 0 * * * * root mpstat 5 720 >> ${DIR}/mpstat.`date +\%Y\%m\%d` 0 * * * * root mpstat 5 720 >> ${DIR}/mpstat.`date +\%Y\%m\%d`
 +
 +# Load Average Details
 +0 * * * * root sar -q 5 720 >> ${LOGDIR}/sar-q.`date +\%Y\%m\%d`
 +
 +# Memory
 +0 * * * * root sar -r 5 720 >> ${LOGDIR}/sar-r.`date +\%Y\%m\%d`
  
 # Disk Details # Disk Details
Line 124: Line 130:
 </code> </code>
  
 +\\
 +\\
 +===== Load Average Details=====
 +==== sar -q ====
 +<code>
 +~]# sar -q 2 3
 +Linux 3.10.0-229.el7.x86_64 (centos7)   01/15/18        _x86_64_        (2 CPU)
 +
 +01:43:05      runq-sz  plist-sz   ldavg-1   ldavg-5  ldavg-15   blocked
 +01:43:07            0       219      0.00      0.01      0.05         0
 +01:43:09            1       219      0.00      0.01      0.05         0
 +01:43:11            0       219      0.00      0.01      0.05         0
 +Average:            0       219      0.00      0.01      0.05         0
 +</code>
 +
 +\\
 +===== Memory Details =====
 +==== sar -r ====
 +<code>
 +~]# sar -r 2 3
 +Linux 3.10.0-229.el7.x86_64 (centos7)   01/15/18        _x86_64_        (2 CPU)
 +
 +01:43:26    kbmemfree kbmemused  %memused kbbuffers  kbcached  kbcommit   %commit  kbactive   kbinact   kbdirty
 +01:43:28       249240    509760     67.16      1492    230356   1465816     91.69    247440    185552         0
 +01:43:30       249240    509760     67.16      1492    230356   1465816     91.69    247444    185552         0
 +01:43:32       249240    509760     67.16      1492    230360   1465816     91.69    247444    185556         0
 +Average:       249240    509760     67.16      1492    230357   1465816     91.69    247443    185553         0
 +</code>
  
 \\ \\
Line 411: Line 445:
 \\ \\
 \\ \\
-[[os:set:index.html]]+[[os:linux:set:index.html]]
  
 \\ \\


os/linux/set/performance/etc_cron.d_performance.html.1515946744.txt.gz · Last modified: 2018/01/15 01:19 by kurihara