Artificial intelligent assistant

How to configure atop sampling interval & log path? I installed `atop` version 1.26 on Ubuntu 12.04 server. By default, its sampling interval is 10 minutes. How can I change to 1 minute? Also, how can I set the log path? Currently the logs are at `/var/log/`, but I notice that `atop` added a folder `/var/log/atop/` (empty). How can I set the logs to be saved in this folder?

Correction: the default sampling interval for `atop` is 10 seconds; `atop` writes compressed binary data to _/var/log/atop/atop_YYYYMMDD_ every 10 minutes.

Sampling intervals and log file locations can be set from the command line. To set the sample interval to one minute:


atop 60


Set compressed raw format log to _foo.log_ :


atop -w foo.log

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 8dca36aab6ebef3edfb8562a6fac3d5b