DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowHalloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PC×
Skip to content
World desk10 min

How to Monitor a Linux VPS With the atop Command

A practical guide to installing atop, reading its live process and system views, preserving raw logs, replaying incidents and handling permission-dependent disk and network details.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use atop for both live diagnosis and post-incident investigation. It samples Linux system and process activity, shows CPU, memory, swap, disks and network interfaces in one terminal, and can preserve compressed raw counters for replay later. Start with the live view, identify the process behind a resource spike, then rely on scheduled raw logs when an incident is intermittent.

What atop monitors on a VPS

Atop is an ASCII full-screen Linux performance monitor capable of reporting the activity of all processes. Unlike a simple process list, it presents a system summary and the processes responsible for the current load in the same time-based view. The monitor covers:

As an Amazon Associate I earn from qualifying purchases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • CPU: overall utilization and process CPU consumption.
  • Memory and swap: system pressure plus per-process memory fields.
  • Disks: system transfer and wait activity, with per-process disk accounting where the kernel and privileges permit it.
  • Network interfaces: system-level traffic; per-process network attribution requires optional netatop support.

The normal interactive sample interval is 10 seconds. Each refresh is a new observation, so a process that is busy for only a few seconds can be missed unless you shorten the interval or retain background logs. Atop suppresses unchanged processes by default to keep the screen readable; that is useful during a busy incident, but it means a quiet process may not appear until you switch to an all-process or activity-focused display.

Install atop on the VPS

Use the distribution package first

Install the package supplied by your Linux distribution whenever one is available. On Debian or Ubuntu, the package is commonly named atop:

#1 Best Overall
Sale
TOZO A1 Wireless Earbuds Bluetooth 5.3 Light Weight in Ear Headphones | IPX5 Waterproof,2 Mics for AI Calls,Immersive Premium Sound Bass Headset with Charging Case,32 EQ via App Black
  • [Ultra-Lightweight Ear Buds Designed for Small Ears] Each earbud weighs only 3.7g and features a compact, ergonomic in-ear design made especially for small ears. Secure, low-profile, and comfortable for workouts, all-day wear or overnight sleeping.The ultra-slim profile sits flush in your ear with no hard edges poking or rubbing, so you can even sleep on your side without discomfort.
  • [Immersive Stereo Sound with TOZO OrigX Technology] TOZO OrigX tuning delivers clear vocals, balanced mids, and natural stereo sound for music, podcasts, and videos.
  • [Long Battery Life for Daily Use] Get up to 7 hours of playtime on a single charge, with up to 32 hours total using the charging case—ideal for workdays, commuting, and extended listening sessions.
  • [Bluetooth 5.3 & Stable Connection] Bluetooth 5.3 provides fast pairing, stable wireless performance, and reduced dropouts as you move around home or office.
  • [Deep Bass with Clear Vocals] High-performance drivers produce punchy bass while keeping vocals clean and detailed for everyday listening.
sudo apt update
sudo apt install atop

The package normally installs the executable, a service or timer for background logging, and the distribution’s default configuration. Confirm the installed version and available options with:

atop -V
man atop
man atopsar

Package names and service layouts differ on other distributions. Check the package manager and the installed service definition rather than copying Debian paths unchanged.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Build from upstream source when no package is suitable

The upstream build documentation lists zlib, ncurses and glib as runtime/build dependencies. On a systemd host, the documented installation target is:

make install

For a SysV-init system, use:

make sysvinstall

Building yourself gives you the upstream release rather than the distribution’s packaging choices, but you then own upgrades, service integration and log rotation. Keep the source version and build options recorded so the monitoring behavior can be reproduced during an incident.

Start a live monitoring session

  1. Connect to the VPS over SSH and run atop:
atop
  1. Allow at least two refreshes before deciding what is abnormal. The first screen is a point-in-time sample; the next screen shows whether a value is rising, falling or stable.
  2. Read the system summary at the top before inspecting individual processes. Check CPU, memory and swap, disk activity and network-interface counters in that order when the symptom is unknown.
  3. Move to the process section and identify the rows contributing to the stressed resource. The display emphasizes active processes and may hide unchanged rows.
  4. Open the interactive help (the key shown as help in your build) to see the exact sorting and view controls. Resource-specific views and sorting keys let you focus on CPU, memory, disk or network pressure; key names can vary slightly between releases.

To change the cadence, pass an interval in seconds. To collect a fixed number of samples, add a count:

Rank #2
Sale
Smart Watch for Men Women Compatible with iPhone Samsung Android Phone 1.69 inch Full Touch Screen IP68 Waterproof Bluetooh Fitness Tracker Heart Rate/Sleep Monitor (Black)
  • 【IP68 Waterproof Multifunctinal Smart Watch】Torjalph fitness activity tracker smart watch is IP68 waterproof technology ,you can wear it when swimming,handwashing,it's rain-proof which means that you perform multiple exercise modes outside without worrying about sweat or rain corroding your fitness smart watch,and this watch equipped with a 230 mAh large capacity battery magnetic charging ,and this sports activity tracker watch can be used 5-7 days If fully charged.
  • 【Larger 1.83'' Full Screen Watch & Multi-dial Selection】1.83 inch full HD color touch screen smart watch for men / women provides excellent 240*284 resolution image quality ,This Bluetooth smart watch offers a better touch experience and remarkable immersion and ,more than 200 watch faces for you to choose from App"Da Fit ", you can change the dial style according to your mood to wear keeping the world on your wrist
  • 【Accurate Activity Tracker Smart Watch 】sports watch activity tracker uses sweat and dust resistant breathable silicone strap, our Fitness Tracker Smart Watch for Android iOS Phones supports 12 sports modes,walking,running,bicycle,swimming,badminton,basketball,football,rope skipping. This bluetooth calls smart watch for men women is lightweight and stylish, bringing more convenient and relaxing sports experience while also providing more protection.
  • 【Your 24 Hour Personal Daily Health Monitor】Fitness watch for women men full touch screen IP67 waterproof bluetooth smartwatch for Android iOS Phones with heart rate blood pressure monitor multifunction Andriod smart watch with steps counter sleep monitor sports fitness watch, monitoring blood oxygen saturation allows you to understand your physical condition in real time to track fitness progress ,to know your health status in time.
  • 【More Functions Bluetooth Call Smart Watch】This fitness activity smart watch full screen for iPhone and Android phones includes a bunch of new features including:The bluetooth smart watch can hang up the phone, receive and display WhatsAPP /Text /Facebook /Twitter /Messenger reminder.Support sedentary reminder, alarm clock, stopwatch, timer,weather information,music control, remote camera control compatible with Android 5.0 and above or iOS 9.0 and above smartphones.
atop 5 60

This requests five-second samples for 60 refreshes. A short interval makes brief spikes easier to catch but increases screen updates and the amount of data written if you also log the session. Use a longer interval for routine observation and a shorter one while reproducing a known burst.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Read the screen in the order that finds a cause

1. CPU and load

Start with total CPU use and the split between user work, kernel work and idle or waiting time. A high total can mean application computation, kernel activity, or many runnable tasks competing for a small VPS allocation. Sort or switch to the CPU-focused process view, then compare the leading rows over successive samples. A one-sample leader is less useful than a process that remains near the top for several intervals.

Inspect the command line and elapsed behavior of the leading process. A worker that steadily consumes CPU suggests sustained application demand; a process that appears only during one refresh suggests a short job, timer or burst. Record the process ID and command line before restarting anything.

2. Memory and swap

Check available memory and swap activity together. A VPS can show moderate process percentages while still suffering reclaim pressure if the host has little free memory. In the process list, sort by memory and compare resident usage across several samples. Growth that continues between samples is more significant than a large but stable cache or service footprint.

When investigating a suspected leak, save the process ID, resident-memory values and timestamps. Replay historical samples later to distinguish a gradual increase from a one-time allocation. Do not infer a leak from one screen.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
New Bee Guitar Cable 10ft Electric Instrument Bass AMP Cord
  • [Low Noise High Fidelity] New bee guitar cord with 22AWG oxygen-free-copper center conductors provides enhanced signal transfer, the PVC insulation material and the high-density stranded copper double shield provide noise rejection for quiet operation
  • [Ideal for Choice] New bee 1/4 straight and right angle metal connectors, ensures a secure connection in any instrument, pedal, or amp jack. L shape great fro on stage guitar stands
  • [Wide Compatible] Suitable for mixer, power amplifier, microphone, effector, decoder, equalizer, electoronic organ, electric guitar, electric bass and other electronic equipments. Widely used in the installation of smart home, karaoke speaker, professional stage audio, etc
  • [Easy Disassemble] Making incidental repairs quick and easy! Very nice, flexible cable
  • [Dont Hesite to Order] 24 hours customer services and professional technology team are standing by

3. Disk wait and transfers

Look at system disk activity and wait time before blaming a particular application. High wait with low CPU can indicate saturated or slow storage. Then use the per-process disk view to find readers and writers. Debian’s documentation notes that per-process disk-transfer data requires root privileges and kernel storage-accounting support; without those prerequisites, the process columns may be unavailable or incomplete.

Separate throughput from latency in your diagnosis. A process performing many small operations can cause a noticeable wait even when aggregate bytes per second look modest. Compare successive samples and, for an intermittent event, use the raw log rather than a single live screen.

4. Network activity

Atop reports traffic for network interfaces at the system level. That tells you whether the VPS is receiving or sending a burst and which interface is involved. Per-process network attribution is optional: it requires the netatop module and daemon support. Install and enable that component only when process-level network ownership is necessary and your kernel supports it. Without it, do not treat an absent per-process network value as proof that no process is communicating.

Capture evidence while the incident is happening

Write a raw logfile

Start a raw recording with:

sudo atop -w /var/log/atop/manual-incident.raw

The file contains compressed system and process counters rather than a screenshot. Stop a normal recording with the documented quit command inside atop. Avoid kill -9: the atop manual warns that forced termination prevents it from stopping process accounting cleanly, allowing the accounting file to grow excessively.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Choose a writable location with sufficient capacity and protect logs because process command lines and resource activity can reveal operational details. For a long-running collector, use the distribution’s service and rotation policy instead of leaving an ad-hoc shell session running indefinitely.

Rank #4
BSIMB 15.6" Digital Family Calendar & Chore Chart, No Subscription Fees
  • Digital Family Calendar: BSIMB digital calendar wall touch screen puts an end to your chaotic life. Designed for busy families, the digital calendar keeps you organised and in step with your family. Assign different colours and tasks to each family member to make family scheduling easier and more intuitive.
  • Easy Setup and Auto-Sync: Plug in, connect to WLAN and auto-syn your electric calendar in minutes. Digital wall calendar compatible with Google calendar, iCloud calendar, Outlook calendar, Cozi calendar and Yahoo calendar. Add events directly on the device or through the ecalendar app. Electronic calendar stays current whether you're at work or traveling—no manual updates needed.
  • All-In-One Home Assistant: Smart calendar builds habits and encourage independence with personalised chores. Display daily meal plan to reduce the daily ‘What's for dinner?’ stress. To-do lists keep track of everything you want. Turning chores into valuable achievements with stars and rewards, making life easier and more enjoyable.
  • Manage Anytime Anywhere: BSIMB electronic calendar for family stay connected with the powerful ecalendar app. Access and manage your digital wall calendar anytime, anywhere with free features like stars & rewards, photo screensaver, chore charts, meals plans, to-do lists etc. Electronic planner paid features like Magic Import tailor advanced tools for users with special needs.
  • Stay in Touch with Loved Ones: Share photos or videos from your phone to electronic wall calendar with app, instantly update your life moment, and keep in touch with your family, especially those who are far away; you can also surprise your smart calendar digital wall by sending him a wish card; it's also great for keeping tech-illiterate elders in touch with the youngsters.

Replay the recording

Open a raw file interactively with:

atop -r /var/log/atop/manual-incident.raw

Replay uses the same screen and navigation as a live session, but the samples are read from disk. You can pause at the suspected time, move between samples and apply the resource-specific sorting controls to identify which process changed before and after the spike.

Limit replay to a time window

For a large daily file, use the beginning and ending time options documented by atop:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
atop -r /var/log/atop/atop_YYYYMMDD -b HH:MM
atop -r /var/log/atop/atop_YYYYMMDD -b HH:MM -e HH:MM

Replace the date and times with the incident’s local time as represented by the host. Confirm the server timezone before correlating these samples with application or web-server logs; a timezone mismatch can make a correct process appear to precede the event.

Extract machine-readable values

Use the parsable-output option when you need selected metrics for a script or a ticket rather than an interactive screen:

atop -r /var/log/atop/atop_YYYYMMDD -P

Combine the replay time bounds and the metric selections documented in your installed atop manual. Keep the exact command in the incident record, because parsable fields and selectors are version-dependent.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Where atop stores historical logs

When the distribution logger is enabled, Debian’s current package documentation uses:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
/var/log/atop/atop_YYYYMMDD

The files contain compressed raw system and process data. Debian documents a default logging interval of 600 seconds and 28 retained generations. Those are Debian package defaults, not universal atop behavior. Inspect /etc/default/atop, the installed service or timer, and the log-rotation configuration on another distribution before relying on the same path, interval or retention.

Setting Debian documented default What to verify elsewhere
Directory /var/log/atop Service configuration and distribution log policy
Filename atop_YYYYMMDD Date format and timezone used by the package
Sample interval 600 seconds Logger environment or service arguments
Retention 28 generations Rotation count, compression and disk-space limits

Check that the logger is actually running before an incident. A directory with old files does not prove that today’s samples are being written. Verify the service status, check the modification time of the current file, and perform a test replay.

Match common symptoms to an investigation

A CPU spike

  • Run a live session at a shorter interval while the spike is reproducible.
  • Use the CPU-focused process sort and note the process ID, command line and duration across multiple samples.
  • Check whether one process is sustained or several processes rise together, which points to different remedies.
  • If the spike has ended, replay the daily raw log and inspect the samples around the reported timestamp.

Memory pressure or a steadily growing process

  • Compare available memory, swap activity and the top process-memory rows.
  • Capture repeated samples rather than relying on a single resident-size value.
  • Replay earlier samples to establish whether growth is gradual, periodic or tied to a deployment or scheduled task.
  • Correlate the process ID and command line with the service manager before taking action.

Disk wait or apparent storage saturation

  • Confirm system-level disk activity and wait first.
  • Use per-process disk fields only when storage accounting is enabled and you have the required privileges.
  • Compare read/write behavior across samples to distinguish a sustained workload from a flush or backup burst.
  • Use the raw log for events that occur outside an SSH session.

Unexpected network load

  • Identify the busy interface and whether traffic is inbound or outbound.
  • Use system-level counters to establish the timing and scale of the event.
  • Add netatop support when you must attribute traffic to individual processes and the kernel permits it.
  • Do not claim process ownership from interface counters alone.

Permissions and missing fields

Run the interactive monitor as an ordinary user for the information your distribution exposes, but use root privileges when the documented per-process disk-transfer fields require them. Storage accounting must also be enabled in the kernel. If those conditions are absent, the system disk totals can still be useful while process-level disk attribution remains unavailable.

Per-process network load is a separate capability. It depends on the optional netatop module and daemon, not merely on launching atop as root. Install, load and supervise that component according to the package documentation for your kernel; otherwise use atop’s interface-level network view.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Operational limits and sensible complements

Atop is designed around a terminal display and raw logfile replay. Its documentation does not provide a web dashboard, alert routing, or fleet-wide management layer. For a single VPS or for hands-on incident work, that narrow scope is an advantage: the process attribution and replayable counters stay close to the host. For many servers, automated alerts, long-term aggregation or team dashboards, pair atop with separate tooling that supplies those functions.

Plan storage for the retention policy you choose. A shorter interval records more detail and consumes more space; a longer interval reduces overhead but can miss brief bursts. Keep the raw files long enough to cover the slowest incident-reporting cycle, and test that old files can still be replayed after rotation.

A repeatable VPS monitoring routine

  1. Install and verify: install the distribution package or build with the documented target, then run atop -V and read the local manuals.
  2. Confirm collection: check the logger service, current file timestamp and configured interval and retention.
  3. Observe live: run atop, read the system summary, then inspect the process list responsible for the stressed resource.
  4. Focus the view: use the help-documented sorting and resource views for CPU, memory, disk or network.
  5. Record identifiers: capture process IDs, command lines, timestamps and the host timezone before restarting or killing a service.
  6. Investigate after the fact: replay with atop -r, narrow with -b and -e, and use -P when a parsable extract is more useful than a screen.
  7. Escalate missing detail correctly: add root access, kernel storage accounting or netatop only when the missing per-process field requires it.
  8. Stop cleanly: exit atop normally so process accounting closes and the raw file remains bounded.

Atop compared with a basic live process viewer

Capability Atop Basic live viewer
Live terminal visibility Full-screen system and process activity with repeated samples Usually focused on a current process list
CPU and memory attribution System summary plus process fields and sorting Usually available, but often without atop’s integrated replay workflow
Disk and network context System disk and interface activity; optional per-process detail Varies by program and installed kernel support
Historical investigation Raw files replayed with atop -r Usually requires a separate recorder
Parsable extraction -P supports documented parsable output Varies; often screen-oriented
Alerting and dashboards Not provided by atop itself Usually not provided either

The practical reason to choose atop is the combination of a low-friction terminal view, process-level context and a native raw-log replay path. It is not a replacement for an alerting or fleet-management platform.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.