Showing posts with label System monitor. Show all posts
Showing posts with label System monitor. Show all posts

Saturday, July 16, 2016

sar: System Admin Reporter

Command:

$ sar

Result:

Linux 4.4.0-22-generic (remote) 2016年07月16日 _x86_64_ (1 CPU)

05時15分02秒     CPU     %user     %nice   %system   %iowait    %steal     %idle
05時25分01秒     all      1.50      0.11      0.80      2.88      0.00     94.70
05時35分01秒     all      0.00      0.00      0.00      0.04      0.00     99.96
05時45分01秒     all      0.01      0.00      0.01      0.12      0.00     99.87
???:            all      0.50      0.04      0.27      1.01      0.00     98.19

Monday, May 16, 2016

Ubuntu: Install, Configure, and Run Sysstat

Installation:

$ sudo apt-get install sysstat


Configuration:

$ cat /etc/default/sysstat
#
# Default settings for /etc/init.d/sysstat, /etc/cron.d/sysstat
# and /etc/cron.daily/sysstat files
#

# Should sadc collect system activity informations? Valid values
# are "true" and "false". Please do not put other values, they
# will be overwritten by debconf!
ENABLED="true"


Execution:

$ sudo service sysstat start