Difference between revisions of "Atop"

From wikieduonline
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
Atop is an ASCII full-screen performance monitor for Linux that is capable of reporting the activity of all processes even if processes have finished during the interval and daily logging of system and process activity for long-term analysis. To collect information atop switches on the [[process accounting]] mechanism in the kernel<ref>https://linux.die.net/man/1/atop</ref>.
+
<code>atop</code> is an ASCII full-screen performance monitor for Linux that is capable of reporting the activity of all processes even if processes have finished during the interval and daily logging of system and process activity for long-term analysis. To collect information atop switches on the [[process accounting]] mechanism in the kernel<ref>https://linux.die.net/man/1/atop</ref>.
  
  
Line 10: Line 10:
 
* <code>atopsar -A</code><ref>https://haydenjames.io/use-atop-linux-server-performance-analysis/</ref>
 
* <code>atopsar -A</code><ref>https://haydenjames.io/use-atop-linux-server-performance-analysis/</ref>
 
* <code>atopsar -O</code> Report top 3 processes consuming CPU
 
* <code>atopsar -O</code> Report top 3 processes consuming CPU
 +
 +
== Journalctl ==
 +
Jan 25 15:59:09 SERVER atopacctd[27779]: (see ATOP README about kernel bug 190271)
 +
Jan 25 15:59:09 SERVER atopacctd[27779]: Retrying to switch on process accounting
  
 
== Activities ==
 
== Activities ==
# Read LWN article about atop: https://lwn.net/Articles/387202/
+
# Read [[LWN]] article about atop: https://lwn.net/Articles/387202/
 
 
  
 
== See also ==
 
== See also ==
* [[sar|sysstat]]
+
* {{sar}}
* [[/acct/]] package and lastcomm command (https://www.gnu.org/software/acct/)
+
* [[acct]] package and lastcomm command (https://www.gnu.org/software/acct/)
* [[/auditd/]]
+
* {{audit}}
* [[monitoring]]
+
* {{top}}
* [[Linux server administration/Performance and Troubleshooting]]
+
* {{performance}}
  
 
[[Category:Linux]]
 
[[Category:Linux]]
 +
[[Category:Monitoring]]

Latest revision as of 16:07, 30 April 2020

atop is an ASCII full-screen performance monitor for Linux that is capable of reporting the activity of all processes even if processes have finished during the interval and daily logging of system and process activity for long-term analysis. To collect information atop switches on the process accounting mechanism in the kernel[1].


  • Crontab: /etc/cron.d/atop -> /usr/share/atop/atop.daily (INTERVAL=600)
  • Data storage: /var/log/atop


Usage[edit]

  • View interactively today recorded activity: atop -r (press t to see next interval)
  • atopsar -A[2]
  • atopsar -O Report top 3 processes consuming CPU

Journalctl[edit]

Jan 25 15:59:09 SERVER atopacctd[27779]: (see ATOP README about kernel bug 190271)
Jan 25 15:59:09 SERVER atopacctd[27779]: Retrying to switch on process accounting

Activities[edit]

  1. Read LWN article about atop: https://lwn.net/Articles/387202/

See also[edit]

  • https://linux.die.net/man/1/atop
  • https://haydenjames.io/use-atop-linux-server-performance-analysis/
  • Advertising: