How is atop used for server performance analysis?

How is atop used for server performance analysis?

Atop is a ASCII full-screen performance monitor which can log and report the activity of all server processes. One feature I really like is that atop will stay active in the background for long-term server analysis (up to 28 days by default). Other advantages include: Shows resource usage of ALL processes, even those that are closed/completed.

What does atop show in 10 second intervals?

Once atop is launched, by default, it will show system activity for CPU, memory, swap, disks and network in 10 second intervals. In addition, for each process and thread you can analyse CPU utilization, memory consumption, disk I/O, priority, username, state, and even exit codes.

What does the program atop do in Linux?

The program atop is an interactive monitor to view the load on a Linux system. It shows the occupation of the most critical hardware resources (from a performance point of view) on system level, i.e. cpu, memory, disk and network.

What does it mean when memory usage increases?

For memory leaks, a steady increase in swap usage indicates a problem. I once watched a server slowly die over a period of days. The problem service was a program monitoring other processes for memory leaks. The system admin kept insisting the increasing swap usage was not a problem, right up until the server stopped responding.

How to monitor and log the memory / CPU usage of.?

Server Density does exactly what you describe. I use it on one of our production servers and am very happy about it. It’s top feature is the ability to view charts, click on a peak and see the server CPU/Memory consumption at that current time, including all running processes. They call it snapshots.

Which is the best way to use atop?

When it comes to using atop, a good place to start is to read the man pages: Launch with average-per-second total values. Launch with active processes only. Launch with command-line per process. Launch with disk info. Launch with memory info. Launch with network info. Launch with scheduling info.

How to sort processes by CPU consumption in atop?

Once atop is running, press the following shortcut keys to sort processes: a – sort in order of most active resource. c – revert to sorting by cpu consumption (default). d – sort in order of disk activity. By default after install the atop daemon writes snapshots to a compressed log file (eg. /var/log/atop/atop_20140813).