Skip to main content

Lean cross-platform monitoring agent for the terminal and native app: live dashboard, baseline-aware anomaly insights, persistent history, and a security panel (firewall, open ports, failed auth).

Project description

SysDock ๐Ÿš€

Built and independently maintained by Kavy Vachhani

Modern cross-platform monitoring agent โ€” Linux, macOS, and Windows โ€” with a live terminal dashboard, Docker metrics, baseline-aware anomaly insights, and a persistent history it remembers. Terminal & native-app only: no server, no open port.

PyPI version Python versions License


โšก What is SysDock?

SysDock is a lightweight, zero-configuration monitoring tool for Linux, macOS, and Windows. It runs completely in the terminal and provides real-time insights into your system's performance, Docker containers, and live firewall rules.

Think of it as htop + docker stats + ufw status rolled into one beautiful dashboard, running natively on any platform!

pipx install sysdock
sysdock          # opens the live dashboard instantly

โœจ Features

  • ๐Ÿ–ฅ Live Terminal Dashboard โ€” Monitor CPU per-core, RAM, disk, network throughput, processes, and security.
  • ๐Ÿณ Laser-Accurate Docker Metrics โ€” CPU %, true memory usage (correctly subtracting page caching), and network I/O per container exactly matching the docker stats formula.
  • ๐Ÿ“Š htop-Grade Accuracy โ€” CPU measured as a true delta between refreshes (never a misleading instantaneous 0%); RAM utilizes the authentic htop free/buffers/cached formula.
  • ๐Ÿ›ก๏ธ Cross-Platform Security Panel โ€” One normalized firewall / open-ports / failed-auth view on every OS: Linux (UFW โ†’ nftables โ†’ iptables, fail2ban, journald/auth.log), macOS (Application Firewall via socketfilterfw, unified-log auth failures), and Windows (Get-NetFirewallProfile, Security-log event 4625). A capability that isn't present degrades cleanly to "unavailable โ€” reason", never a crash.
  • ๐Ÿ”Ž Baseline-Aware Anomaly Insights โ€” Unlike fixed-threshold monitors, SysDock learns what's normal for this machine and flags what's unusual โ€” spikes, sustained pressure, and slow leaks โ€” and names the culprit process (e.g. โ€œCPU 94% now vs ~18% typical ยท likely ffmpeg (pid 8821)โ€). sysdock insights, plus a live band in the dashboard.
  • ๐Ÿง  Its Own Memory โ€” SysDock persists a lightweight local history (standard-library SQLite, no daemon) so it can show real trends, baselines, and peaks over the last hour/day/week โ€” not just the instantaneous value. sysdock history renders min/avg/max + sparklines per metric.
  • ๐Ÿ›  Zero Configuration โ€” Runs out of the box on Linux, macOS, and Windows with Python 3.9+. No heavy daemons, no config files.

๐Ÿ“ฆ Installation

We highly recommend using pipx (or a standard pip environment) for clean installation:

# Recommended standard install
pipx install sysdock

# Install with native Docker SDK (richer container stats)
pipx install "sysdock[docker]"

# Upgrade to the latest version
pipx upgrade sysdock

Note: If pipx is not available on your system, standard pip install sysdock works beautifully as well.


๐Ÿ’ป Native App Installers (macOS, Windows, Linux)

Download the latest pre-built native installer directly from GitHub Releases:

Platform Installer How to Install
๐ŸŽ macOS SysDock_macOS.pkg Double-click the .pkg โ€” installs SysDock.app into /Applications
๐Ÿง Linux sysdock_linux.deb sudo dpkg -i sysdock_linux.deb
๐ŸชŸ Windows SysDock_Windows.zip Extract the zip, run sysdock.exe

๐ŸŽ macOS Step-by-Step

  1. Download SysDock_macOS.pkg from Releases
  2. Double-click it to run the macOS Installer
  3. SysDock.app is installed into your /Applications folder
  4. Open it from Launchpad or Spotlight โ€” it launches its own window!

๐ŸชŸ Windows Step-by-Step

  1. Download SysDock_Windows.zip from Releases
  2. Extract the zip file
  3. Double-click sysdock.exe inside the extracted folder โ€” no installation required!

๐Ÿง Linux (Debian/Ubuntu)

wget https://github.com/Kavyvachhani/SysDock/releases/latest/download/sysdock_linux.deb
sudo dpkg -i sysdock_linux.deb
sysdock

Native installers are automatically built and published to GitHub Releases on every version tag.


๐Ÿš€ Quick Reference

sysdock              # open live dashboard (default)
sysdock dash         # same as above
sysdock status       # one-shot snapshot (rich table)
sysdock status --json               # full snapshot as JSON
sysdock status --top 20             # show more processes
sysdock status --no-docker          # skip Docker collection
sysdock insights     # flag anomalies vs. this machine's learned baseline
sysdock insights --json             # findings as JSON
sysdock record       # headless recorder โ€” builds history (no server/browser)
sysdock record --interval 10        # sample every 10s
sysdock rewind --peak cpu           # time-travel to the worst CPU moment on record
sysdock rewind --ago 10m            # what was running 10 minutes ago
sysdock rewind 14:30                # โ€ฆat 14:30 today
sysdock history      # show recorded trends (its own memory): min/avg/max + sparklines
sysdock history --window 7d         # summarise the last 7 days
sysdock history --json              # raw history summary as JSON
sysdock history --clear             # wipe the local history store
sysdock check        # report detected capabilities (--json for raw)
sysdock version      # print version
sysdock install      # install the headless recorder as a background service (root)
sysdock uninstall    # remove background service (requires root)

๐Ÿ”Ž Anomaly Insights (what stateless monitors can't do)

htop / btop / glances color a value red at a fixed threshold โ€” they have no memory, so they can't tell you whether what you're seeing right now is unusual for this machine. SysDock keeps a persistent baseline and turns it into plain-language, actionable findings โ€” including which process is responsible.

sysdock insights          # evaluate the current reading vs. the learned baseline
sysdock insights --json   # machine-readable findings

It detects:

  • Spikes โ€” a reading that is both statistically unusual (z-score over the metric's own spread) and materially above its baseline, with the culprit process attributed (e.g. โ€œCPU 94% now vs ~18% typical ยท likely ffmpeg (pid 8821, 190% CPU)โ€).
  • Sustained pressure โ€” chronically high averages, not just transient blips.
  • Slow upward creep on memory/swap that looks like a leak โ€” invisible to a threshold monitor until it's already on fire.
  • Cross-subsystem correlation โ€” when two subsystems are anomalous together, it names the root cause: RAM + swap โ†’ "system is paging", CPU + disk โ†’ "likely I/O-bound".

The same findings appear as a live Insights band in the terminal dashboard (alongside per-metric sparklines of the recent trend). The engine is conservative: it stays quiet until it has a trustworthy baseline and only speaks when a move is genuinely abnormal โ€” so no alert fatigue.

โช Time-travel (flight recorder)

SysDock records the top processes alongside every metric sample, so you can rewind to a past spike and see what was running then โ€” something no stateless monitor (htop/btop/glances) can do, because they keep no history.

sysdock rewind --peak cpu      # jump straight to the worst CPU moment on record
sysdock rewind --ago 10m       # reconstruct the system 10 minutes ago
sysdock rewind 03:14           # โ€ฆat 03:14 today (when that alert fired)

It reconstructs the metrics and the process table for that instant, bounded so it never borrows a process list from a different time.

Terminal & native app only โ€” no browser. SysDock runs in your terminal or as a native app window; there is no web server, no open port, and nothing to expose. History is built locally by sysdock record (or each sysdock status).


๐Ÿง  Its Own Memory (Persistent History)

Most terminal monitors are amnesiac โ€” they only ever show now. SysDock keeps a small local SQLite database (standard library only, no daemon) and folds each snapshot into it, so it can tell you what normal looks like on this machine.

sysdock history                 # trends over the last 24h (min/avg/max + sparklines)
sysdock history --window 7d     # the last week
sysdock history --json          # machine-readable summary

History accrues automatically whenever sysdock record runs (continuously) or each time you run sysdock status. The database is bounded by automatic retention (7 days) and a hard row cap, so it stays lightweight forever. It lives at:

Platform Location
๐Ÿง Linux $XDG_DATA_HOME/sysdock/history.db (default ~/.local/share/sysdock/)
๐ŸŽ macOS ~/Library/Application Support/sysdock/history.db
๐ŸชŸ Windows %LOCALAPPDATA%\sysdock\history.db

Override the location with SYSDOCK_DATA_DIR. Wipe it any time with sysdock history --clear.


๐ŸŽฏ Metric Accuracy Details

SysDock takes immense pride in providing data that you can actually trust:

Metric Method
CPU % delta between refreshes, per core (same model as htop)
RAM used total โˆ’ free โˆ’ buffers โˆ’ cached (authentic htop formula)
Docker CPU (cpu_delta / sys_delta) ร— nCPUs ร— 100 (matches docker stats)
Docker Memory Subtracts page caching (inactive_file/cache) from raw memory usage

๐Ÿง Compatibility

Distro Status
Ubuntu 20.04 / 22.04 / 24.04 โœ… Fully Supported
Debian 10 / 11 / 12 โœ… Fully Supported
Amazon Linux 2 / 2023 โœ… Fully Supported
CentOS / RHEL (7 / 8 / 9) โœ… Fully Supported
Alpine / Arch Linux โœ… Fully Supported

Cross-platform (Linux, macOS, Windows); requires Python 3.9 โ€“ 3.13.


๐Ÿ’ผ License & Links

MIT License ยฉ 2026 built by Kavy Vachhani

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sysdock-3.0.1.tar.gz (70.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sysdock-3.0.1-py3-none-any.whl (79.3 kB view details)

Uploaded Python 3

File details

Details for the file sysdock-3.0.1.tar.gz.

File metadata

  • Download URL: sysdock-3.0.1.tar.gz
  • Upload date:
  • Size: 70.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for sysdock-3.0.1.tar.gz
Algorithm Hash digest
SHA256 bfabdf6c984ec5abc70b94eb35008109f794660a087c7e73870a746c08346ff3
MD5 f992e6914854cb98c102d656b9407869
BLAKE2b-256 c5c9151344e07ab522825e6719d0c9b17be80281bedadec8a113f88ac7fefa50

See more details on using hashes here.

Provenance

The following attestation bundles were made for sysdock-3.0.1.tar.gz:

Publisher: workflow.yml on Kavyvachhani/SysDock

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sysdock-3.0.1-py3-none-any.whl.

File metadata

  • Download URL: sysdock-3.0.1-py3-none-any.whl
  • Upload date:
  • Size: 79.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for sysdock-3.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6a22da9185622bb4d2824aeed1e1f562069c596d1fcbac51ef4e067e7857eee7
MD5 33b06a126a5fbd9802e33697251c9a8e
BLAKE2b-256 bb315703800a24a7e030cd5b6b908656c0d98d9b15d1a4fd5734f155d107ead1

See more details on using hashes here.

Provenance

The following attestation bundles were made for sysdock-3.0.1-py3-none-any.whl:

Publisher: workflow.yml on Kavyvachhani/SysDock

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page