FastHandle is fast operation tools for infrastructure configurations and tests.
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
os:linux:set:performance:etc_cron.d_performance.html [2018/01/15 01:14] 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: | + | [[os:linux: |
| ====== / | ====== / | ||
| **Performance survey of seconds interval on Cron** | **Performance survey of seconds interval on Cron** | ||
| Line 20: | Line 20: | ||
| #daily output | #daily output | ||
| # | # | ||
| + | # Multi | ||
| 0 * * * * root vmstat 5 720 | awk ' | 0 * * * * root vmstat 5 720 | awk ' | ||
| #0 * * * * root dstat -taf 5 720 >> ${LOGDIR}/ | #0 * * * * root dstat -taf 5 720 >> ${LOGDIR}/ | ||
| - | 0 * * * * root sar -n DEV 5 720 >> ${LOGDIR}/ | + | |
| + | # CPU Details | ||
| 0 * * * * root mpstat 5 720 >> ${DIR}/ | 0 * * * * root mpstat 5 720 >> ${DIR}/ | ||
| + | |||
| + | # Load Average Details | ||
| + | 0 * * * * root sar -q 5 720 >> ${LOGDIR}/ | ||
| + | |||
| + | # Memory | ||
| + | 0 * * * * root sar -r 5 720 >> ${LOGDIR}/ | ||
| + | |||
| + | # Disk Details | ||
| 0 * * * * root iostat -xtm 10 360 >> ${LOGDIR}/ | 0 * * * * root iostat -xtm 10 360 >> ${LOGDIR}/ | ||
| - | * * * * * root / | + | # Network Details |
| - | * * * * * root /home/ | + | 0 * * * * root sar -n DEV 5 720 >> |
| * * * * * root / | * * * * * root / | ||
| * * * * * root / | * * * * * root / | ||
| + | |||
| + | # Process Details | ||
| + | * * * * * root / | ||
| + | * * * * * root / | ||
| + | |||
| # | # | ||
| # monthly output | # monthly output | ||
| # | # | ||
| + | # Disk Details | ||
| 0 0,6,12,18 * * * root / | 0 0,6,12,18 * * * root / | ||
| Line 114: | Line 130: | ||
| </ | </ | ||
| + | \\ | ||
| + | \\ | ||
| + | ===== Load Average Details===== | ||
| + | ==== sar -q ==== | ||
| + | < | ||
| + | ~]# sar -q 2 3 | ||
| + | Linux 3.10.0-229.el7.x86_64 (centos7) | ||
| + | |||
| + | 01: | ||
| + | 01: | ||
| + | 01: | ||
| + | 01: | ||
| + | Average: | ||
| + | </ | ||
| + | |||
| + | \\ | ||
| + | ===== Memory Details ===== | ||
| + | ==== sar -r ==== | ||
| + | < | ||
| + | ~]# sar -r 2 3 | ||
| + | Linux 3.10.0-229.el7.x86_64 (centos7) | ||
| + | |||
| + | 01: | ||
| + | 01: | ||
| + | 01: | ||
| + | 01: | ||
| + | Average: | ||
| + | </ | ||
| \\ | \\ | ||
| Line 401: | Line 445: | ||
| \\ | \\ | ||
| \\ | \\ | ||
| - | [[os: | + | [[os:linux: |
| \\ | \\ | ||
My Sites
SNS
Copyright (c) 2025 FastHandle - IT Operations Examples All Rights Reserved.