Ubuntu – What do I need to enable to run sar -d

sarUbuntu

When I run sar -d I receive the error message:

Requested activities not available in
file /var/log/sysstat/sa24

The file does exist, and I can run sar with other flags, but can't see these particular metrics. Is there something I need to enable in sysstat to collect what I need to see this report?

Server is Ubuntu 9.04.

Best Answer

Have you enabled it in: /etc/default/sysstat and made sure that SA1_OPTIONS="-S DISK" is not commented out?

Since you said you can get other information, I assume it is started it with /etc/init.d/sysstat start?