Difference between revisions of "Sar installation"

From wikieduonline
Jump to navigation Jump to search
(Created page with "One line command for installation and basic configuration for collecting : * Debian/Ubuntu: :: <code>apt -y install sysstat; sed -i 's/ENABLED="false"/ENABLED="tr...")
 
Line 13: Line 13:
 
* Binaries installed in ''/usr/bin/'' directory: <code>dpkg -L sysstat | grep "/usr/bin"</code>. Sysstat package contains sar and some other utilities.
 
* Binaries installed in ''/usr/bin/'' directory: <code>dpkg -L sysstat | grep "/usr/bin"</code>. Sysstat package contains sar and some other utilities.
 
* [[Installing sysstat using Ansible]]
 
* [[Installing sysstat using Ansible]]
 +
 +
== See also ==
 +
* {{sar}}
 +
 +
[[Category:Performance]]

Revision as of 17:30, 26 August 2022

One line command for installation and basic configuration for collecting :

  • Debian/Ubuntu:
apt -y install sysstat; sed -i 's/ENABLED="false"/ENABLED="true"/g' /etc/default/sysstat && service sysstat restart && sar
Optionally modify collection interval in: /etc/cron.d/sysstat
Optionally modify collection options in (SADC_OPTIONS="-S XALL"): /etc/sysstat/sysstat (man sadc)
yum -y install sysstat && service sysstat start


Installing sar Debian, you have to install sysstat package that includes sar and some other performance tools:

  • apt -y install sysstat
  • Checking installation: dpkg -l sysstat
  • Binaries installed in /usr/bin/ directory: dpkg -L sysstat | grep "/usr/bin". Sysstat package contains sar and some other utilities.
  • Installing sysstat using Ansible

See also

Advertising: