There might be other solutions, but atop is easy to understand and use and a good start before doing some more bespoke setups. You have then access to all 'top' like functions (sorting/looking at memory/CPU/IO usage, etc.) and you can jump 10 minutes forward in time via 't' and 10 minutes back with 'T' or jump at a specific time via 'b'.Ĭheck out the atop manpage and google has lots of howtos about it. The more interesting part is: Once installed a daemon starts logging data into /var/log/atop and you can read these files with atop again: atop -r /var/log/atop/atop_20160128 You can use atop like a normal real-time top utility, with slightly different behaviour (check out the manpage for keystrokes). their command without further arguments, as in /usr/bin/firefox) After youve used a Spreadsheet to create a graph to see when your CPU load went through the roof, you can then search this file for the nearest time to see what process has caused it. atop is very good at this, at it takes care of logfile retention.Ītop is available via the EPEL repo for CentOS/RHEL/Fedora and via the default repos of Debian/Ubuntu. This is just the top 10, and just their CPU Usage, Memory Usage and the first argument (i.e.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |