Store collectl logs in /mnt/state/var/log/collectl

Change-Id: I4ff36f8c89ecfc3f5a2a42aaa0202f90e0ad23c2
This commit is contained in:
Michael Kerrin 2014-12-01 16:19:07 +00:00
parent bd878c7f2a
commit 8d6e334a45
1 changed files with 3 additions and 0 deletions

View File

@ -11,3 +11,6 @@ os-svc-enable -an collectl
# 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
# Save all collectl logs to /mnt/state
register-state-path --leave-symlink /var/log/collectl