Merge "Adding collectl element."
This commit is contained in:
commit
39ec89a3fa
|
@ -0,0 +1,5 @@
|
|||
Installs the collectl package for gathering performance data when needed.
|
||||
|
||||
The default configuration file /etc/collectl.conf has been changed to examine
|
||||
cpu, disk, memory, network and process stats only and record eth and bond
|
||||
stats for the networks. Both raw and plottable files will be produced.
|
|
@ -0,0 +1 @@
|
|||
os-apply-config
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
set -eux
|
||||
|
||||
install-packages collectl
|
||||
|
||||
# The default configuration has been changed to examine cpu, disk, memory,
|
||||
# network and process stats only and only record eth and bond stats for the
|
||||
# networks. Both raw and plottable files will be produced.
|
||||
|
||||
sudo sed -i "/^DaemonCommands/c\DaemonCommands = -f /var/log/collectl -r00:00,7 -m -F60 -scdmnZ --rawnetfilt eth|bond -P --rawtoo" /etc/collectl.conf
|
Loading…
Reference in New Issue