Ask Your Question

atop and a human readable format?

asked 2017-11-14 03:55:59 -0500

toddandmargo gravatar image

Hi All,

I want to make a snapshot of my system ever so often with atop. Is there a was to get atop to make a human readable file? (I realize atop -r will read it in, but I want the file to be human readable).

Is there a better way to do this than atop?

Many thanks, -T

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2017-11-15 07:40:25 -0500

masteroman gravatar image

Installing atop from the repositories will provide you with service file. To start and enable atop:

sudo systemctl enable --now atop.service

From there, you can adjust logging interval and timestamp format in:


I would prefer doing that instead of manually running atop periodically.

edit flag offensive delete link more


Thank you! I will stick with the manual method too.

toddandmargo gravatar imagetoddandmargo ( 2017-11-15 13:44:42 -0500 )edit

answered 2017-11-14 14:16:28 -0500

ssieb gravatar image

You can just redirect the output of atop to a file. e.g. atop > myfile.txt. That will keep writing new snapshots, so you probably want to set a limit. Note that the first snapshot will always be the cumulative total, so you might want to take two snapshots and split the file up to get the second one. Assuming you want the standard 10s interval, do atop 10 2 > myfile.txt.

edit flag offensive delete link more


thank you!

toddandmargo gravatar imagetoddandmargo ( 2017-11-15 01:00:53 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2017-11-14 03:55:59 -0500

Seen: 59 times

Last updated: Nov 15 '17