02.01.2016 Views

Linux

linux_admin_text-1.0.0_2

linux_admin_text-1.0.0_2

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5 <br />

# sar -f /var/log/sa/sa22<br />

<strong>Linux</strong> 2.6.32-504.el6.x86_64 (server.example.com) 2015 01 22 _x86_64(2 CP<br />

U)<br />

12 10 02 CPU %user %nice %system %iowait %steal %idle<br />

12 20 01 all 0.33 0.00 0.34 0.01 0.00 99.32<br />

12 30 01 all 0.39 0.00 0.34 0.02 0.00 99.25<br />

: all 0.36 0.00 0.34 0.01 0.00 99.29<br />

<br />

/var/log/sa/sarDD 1 less <br />

23 53 sarDD <br />

root sarDD <br />

<br />

# /usr/lib64/sa/sa2 -A<br />

# cat /var/log/sa/sar24<br />

<strong>Linux</strong> 2.6.32-504.el6.x86_64 (server.example.com) 2015-01-23 _x86_64(2 CPU)<br />

11 10 01 CPU %usr %nice %sys %iowait %steal %irq %soft %guest %idle<br />

11 20 01 all 0.39 0.00 0.35 0.01 0.00 0.00 0.01 0.00 99.24<br />

11 20 01 0 0.44 0.00 0.36 0.02 0.00 0.00 0.02 0.00 99.17<br />

<br />

5.2.7 logwatch <br />

<br />

<br />

logwatch <br />

<br />

<br />

logwatch <br />

# yum install logwatch<br />

logwatch logwatch.conf /usr/share/logwatch/default.conf/logwatch.conf<br />

<br />

/etc/logwatch/conf/logwatch.conf <br />

www.lpi.or.jp 161 (C) LPI-Japan

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!