LinuxAlternative

Linux · Ferramentas do Sistema

atop

atop is a terminal‑based performance monitor that records and displays CPU, memory, disk, and network usage over time.

Código abertoGrátis
Seja o primeiro a avaliar
Licença
GPL-2.0
Versão mais recente
2.13.0

O que é o atop?

atop originated in the early 2000s as a lightweight alternative to proprietary system monitors. It runs in a text console, periodically sampling system metrics and writing them to a log file that can be replayed later. The tool is mature, maintained in the main repositories of Arch, Debian, Fedora, openSUSE and Ubuntu, and works on virtually any modern Linux kernel.

atop is aimed at sysadmins and power users who need a concise, per‑process view of resource consumption without a graphical UI. It shows each task’s CPU, memory, I/O, and network usage, plus kernel‑level counters, all in a single screen. Because it stores snapshots, you can analyse spikes after the fact, something the Windows Process Monitor does with its event logs.

Compared with Process Monitor, atop feels more like a traditional Unix tool: keyboard‑driven, no mouse, and output is plain text. It lacks the deep Windows‑specific event tracing, but its simplicity makes it fast and easy to script. If you prefer a CLI‑only workflow, atop will feel familiar and efficient.

Ideal para: Sysadmins who need a fast, scriptable, console‑based view of system resource usage.

Principais recursos do atop

  • Real‑time per‑process CPU, memory, disk and network stats
  • Periodic logging to /var/log/atop for later analysis
  • Aggregated view of kernel threads and system totals
  • Customizable sampling interval
  • Supports highlighting of high‑resource tasks
  • Command‑line navigation with simple keystrokes
  • Exportable CSV output via -b flag
  • Works over SSH without X

Prós

  • Very low overhead, suitable for production servers
  • Works on any terminal, no GUI dependencies
  • Log files enable post‑mortem analysis
  • Available in all major distro repos

Contras

  • No graphical interface; steep learning curve for newcomers
  • Limited Windows‑specific event data (e.g., registry, file system filters)
  • Keyboard shortcuts are not documented on screen

Programas do Windows que o atop substitui

Como instalar o atop no Linux

Ubuntu / Mintsudo apt install atop
Debiansudo apt install atop
Fedorasudo dnf install atop
Arch / Manjarosudo pacman -S atop
openSUSEsudo zypper install atop

Dicas para quem vem do Windows

Unlike Process Monitor, atop does not record individual file‑system events; instead focus on aggregate resource metrics. Use the -b option to dump logs to CSV for spreadsheet analysis, and learn the basic keys: 't' toggles task view, 'd' shows disk I/O, 'n' shows network, and 'q' quits. Adjust the sampling interval with -r to match the granularity you need.

atop: perguntas frequentes

How do I start logging with atop?

Run 'atop -w /var/log/atop.log' to write snapshots; stop with Ctrl‑C.

Can I view a saved log file?

Yes, use 'atop -r /var/log/atop.log' and navigate with the same keys as live mode.

What does the 'P' column mean?

It shows the percentage of CPU time the process used during the last sampling interval.

How do I filter to a specific PID?

Press 'p' and type the PID, then press Enter to isolate that process.

Atualizado em