pstop

psmuxMIT活跃维护

Windows 上的 htop 替代品,用 Rust 写的终端系统监视器,能看每核 CPU、内存、网络和进程树,还支持鼠标操作和杀进程。

htop for Windows . TUI system monitor with per-core CPU bars, memory/swap/network, tree view, process kill, 7 color schemes, mouse support. cargo install pstop

v0.5.5发布于 2026-11-07 20:38 UTC267star11fork同步于 2026-11-07 07:33 UTC

怎么上手

由 README 提炼,执行前请确认
winget install marlocarlo.pstop
硬件要求按 README 说明

README 未说明显存或 GPU 型号要求;仅要求 Windows 10/11 x86_64,可在 Windows Terminal、PowerShell、cmd.exe 等终端运行。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

Windows 上的 htop 替代品,用 Rust 写的终端实时系统监视器,无需 WSL 或 Cygwin

Windows 上的 htop 替代品,用 Rust 写的终端系统监视器,能看每核 CPU、内存、网络和进程树,还支持鼠标操作和杀进程。

核心能力

  • 按逻辑核心绘制实时 CPU 使用条,列数随核心数和终端宽度自动调整
  • 提供 Mem、Swap、Net、GPU、VMem 头部条形图,可经 F2 配置布局
  • 支持树视图、增量搜索与实时过滤,F9 可结束进程并调整优先级
  • 五个标签页:主表、I/O、按进程网络、GPU、WSL 内 Linux 进程
  • 内置 23 套配色方案,支持鼠标点击选中、排序、切换标签与滚动

容易踩的坑

仅支持 Windows 10/11 x86_64,其他平台无法运行;用 cargo 安装需先装 Rust 工具链;WSL 标签页需本机存在运行中的 WSL 发行版才能读到 Linux 进程。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v0.5.5
  1. v0.5.5pstop v0.5.5最新正式版2026-11-07 · 2026-11-07 20:38 UTC

    pstop v0.5.5

    htop for Windows — beautiful, fast TUI system monitor.

    Install

    cargo install pstop
    
    choco install pstop
    
    winget install marlocarlo.pstop
    

    SHA256 (zip)

    1d2fa39680f9372a9d84e43aa4b88bd002a1860345180726d2f9912f50e3d06c
    
  2. v0.5.4pstop v0.5.42026-04-18 · 2026-04-18 16:38 UTC
    查看更新说明

    pstop v0.5.4

    htop for Windows — beautiful, fast TUI system monitor.

    Install

    cargo install pstop
    
    choco install pstop
    
    winget install marlocarlo.pstop
    

    SHA256 (zip)

    58da4fa5b6a7370e4b14ead14df0c43546de6404812fcdc100a4b0cf4071af0b
    
  3. v0.5.3pstop v0.5.32026-03-19 · 2026-03-19 13:25 UTC
    查看更新说明

    pstop v0.5.3

    htop for Windows — beautiful, fast TUI system monitor.

    Install

    cargo install pstop
    
    choco install pstop
    
    winget install marlocarlo.pstop
    

    SHA256 (zip)

    37d07b823df9b20bc07163283897f03a45851783072e921d7b30f34b42d6f284
    
  4. v0.5.2pstop v0.5.22026-03-14 · 2026-03-14 20:39 UTC
    查看更新说明

    pstop v0.5.2

    htop for Windows — beautiful, fast TUI system monitor.

    Install

    cargo install pstop
    
    choco install pstop
    
    winget install marlocarlo.pstop
    

    SHA256 (zip)

    97959be1e4dd92ab85dd4f3d00c5e37b98b5c4262fcf0cdb8dfffa14c95b7595
    
  5. v0.5.1pstop v0.5.12026-03-13 · 2026-03-13 08:13 UTC
    查看更新说明

    pstop v0.5.1

    htop for Windows — beautiful, fast TUI system monitor.

    Install

    cargo install pstop
    
    choco install pstop
    
    winget install marlocarlo.pstop
    

    SHA256 (zip)

    a055a1035e96a8439f8621c43b39616a038f7e600285e5504625e5cd0ae5d841
    

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译


    Why pstop?

    If you've ever missed htop on Windows, your search is over. pstop brings the full htop experience to Windows PowerShell. No WSL, no Cygwin, no compromises.

    pstopTask ManagerGet-Process
    Real-time CPU per-core bars✅❌❌
    Memory / Swap / Network bars✅Partial❌
    GPU utilization & VRAM bars✅Basic❌
    Tree view (process hierarchy)✅❌❌
    Search & filter processes✅Basic❌
    Kill / change priority✅✅Manual
    Mouse support✅✅❌
    23 color schemes✅❌❌
    Keyboard-driven✅❌❌
    Runs in terminal✅❌✅
    ~1 MB binary, zero dependencies✅N/AN/A

    Installation

    WinGet (Recommended)

    winget install marlocarlo.pstop
    

    Chocolatey

    choco install pstop
    

    Cargo (crates.io)

    cargo install pstop
    

    Don't have Rust/Cargo? Install it in seconds: https://rustup.rs

    From GitHub Releases

    Download the latest .zip from GitHub Releases, extract, and add to your PATH.

    From Source

    cargo install --git https://github.com/psmux/pstop
    

    Build Locally

    git clone https://github.com/psmux/pstop.git
    cd pstop
    cargo build --release
    # Binary at: target/release/pstop.exe + target/release/htop.exe
    

    All methods install both pstop and htop commands. Yes, you can just type htop on Windows.

    Add htop Alias (Optional)

    If you only installed pstop and want the htop alias in your PowerShell profile:

    pstop --install-alias
    

    This adds Set-Alias htop pstop to your $PROFILE automatically.


    Features

    🖥️ Per-Core CPU Monitoring

    Real-time CPU usage bars for every logical core, color-coded by usage type (user / system / virtual), exactly like htop. CPU columns auto-adjust based on core count (2/4/8/16 columns) and terminal size — just like htop's calcColumnWidthCount.

    📊 Memory, Swap, Network & GPU Bars

    • Mem bar: shows used (green), buffers (blue), cached (yellow)
    • Swap bar: swap usage with color threshold
    • Net bar: live RX/TX throughput in the header
    • GPU bar: overall GPU utilization percentage (shown on GPU tab, or on any tab when added via F2)
    • VMem bar: dedicated video memory usage (shown on GPU tab, or on any tab when added via F2)

    🌳 Tree View

    Press F5 or t to toggle process tree view — see parent-child relationships with ├─ / └─ tree connectors, collapsible nodes with +/-.

    🔍 Search & Filter

    • F3 - Incremental search: jumps to matching process
    • F4 - Filter: hides all non-matching processes in real-time

    📋 Five Tab Views

    • Main - Full process table (PID, USER, CPU%, MEM%, TIME+, Command...)
    • I/O - Disk read/write rates per process
    • Net - Per-process network bandwidth (live download/upload rates with auto-scaling B/s, KB/s, MB/s, GB/s) plus active connection counts. No admin required.
    • GPU - Per-process GPU engine utilization and dedicated/shared video memory usage via PDH performance counters
    • WSL - Linux processes inside every running WSL/WSL2 distribution: distro, PID, user, state, CPU%, MEM%, RES, threads, TIME+ and full command line. Sampled on a background thread by reading /proc inside the distro (works with Ubuntu, Debian, Fedora, Alpine, Docker Desktop, ...). F9 sends the chosen Linux signal to the selected process.

    ⚙️ F2 Setup Menu (Full htop Parity)

    Press F2 to open the setup menu with 4 categories:

    • Meters - Configure header layout (CPU, Memory, Swap, Network, Tasks, Load, Uptime)
    • Display Options - 16 toggleable settings (tree view, highlight basename, shadow other users, show threads, detailed CPU time, vim keys, Irix mode, and more)
    • Colors - Choose from 23 built-in color schemes with live preview
    • Columns - Add/remove/reorder visible columns

    🎨 23 Color Schemes

    Switch instantly in F2 > Colors. Choose from built-in htop schemes plus all 16 Windows Terminal color schemes:

    Original htop Schemes:

    1. Default - Classic htop green/cyan on black
    2. Monochrome - Pure white on black
    3. Black Night - Muted tones for dark terminals
    4. Light Terminal - Optimized for light backgrounds
    5. Midnight Commander - Blue background, MC-inspired
    6. Black on White - Clean light theme
    7. Dark Vivid - High-contrast neon colors

    Windows Terminal Built-in Schemes: 8. CGA - Classic color graphics adapter palette 9. Campbell - Windows Terminal default scheme 10. Campbell Powershell - Campbell on the classic PowerShell blue 11. Dark+ - VS Code classic dark theme 12. Dimidium - Warm muted tones 13. IBM 5153 - Retro IBM terminal colors 14. One Half Dark - Atom One Half Dark theme 15. One Half Light - Atom One Half Light theme 16. Ottosson - Perceptually balanced palette by Björn Ottosson 17. Solarized Dark - Solarized dark mode 18. Solarized Light - Solarized light mode 19. Tango Dark - Tango desktop environment dark 20. Tango Light - Tango desktop environment light 21. Vintage - Classic terminal colors 22. VSCode Dark Modern - VS Code modern dark theme 23. VSCode Light Modern - VS Code modern light theme

    🖱️ Full Mouse Support

    • Click anywhere in the process table to select
    • Click column headers to sort
    • Click F-key bar buttons
    • Click tabs to switch views
    • Scroll wheel for navigation

    ⌨️ Keyboard Shortcuts

    Familiar htop keybindings — zero learning curve if you know htop.

    💾 Persistent Configuration

    All settings auto-save to %APPDATA%/pstop/pstoprc and restore on next launch. Your color scheme, display options, column choices, sort preference... everything persists.

    ⚡ Performance

    • ~1 MB single binary (release build with LTO + strip)
    • 50ms event polling for instant keyboard response
    • Configurable refresh rate (200ms–10s)
    • Native Win32 API calls for I/O counters, process priority, CPU affinity
    • Zero runtime dependencies

    Keybindings

    KeyAction
    F1 / ?Help screen
    F2Setup menu (meters, display, colors, columns)
    F3 / /Search processes
    F4 / \Filter processes
    F5 / tToggle tree view
    F6 / >Sort by column
    F7 / F8Decrease / Increase process priority (nice)
    F9 / kKill process
    F10 / qQuit
    TabSwitch between Main / I/O / Net / GPU / WSL views
    SpaceTag process
    cTag process and children
    UUntag all
    uFilter by user
    pToggle full command path / process name
    HToggle show threads
    KToggle hide kernel threads
    + / -Expand / collapse tree node
    eShow process environment
    lList open handles (lsof equivalent)
    aSet CPU affinity (arrow keys/hjkl move, Space toggles, a all, i invert, mouse click toggles)
    IInvert sort order
    Arrow keysNavigate
    PgUp / PgDnPage through process list
    Home / EndJump to first / last process

    Vim Mode (opt-in)

    Enable via F2 > Display Options > Vim-style keys, or set vim_keys=1 in your config file. Off by default.

    Process CPU% above 100

    Like htop, the CPU% column counts one fully busy core as 100%, so a busy multi-threaded program (a VM, a compiler) can show 300% or more. The ceiling is 100% times the number of logical CPUs. If you prefer Task Manager style, where the whole machine is 100%, turn off F2 > Display Options > Irix mode, or set irix_mode=0 in your config file.

    KeyVim Mode ActionReplaces
    jMove down(new — default mode has no bare j)
    kMove upk = kill in default mode
    gJump to first processHome
    GJump to last processEnd
    Ctrl+dHalf page down(new)
    Ctrl+uHalf page up(new)
    xKill processk / F9
    /Search(unchanged, works in both modes)
    ?Help(unchanged, works in both modes)

    What changes in vim mode:

    • k becomes move up instead of kill — use x or F9 to kill
    • h no longer opens help — use ? or F1 instead
    • j/k work as bare keys (no Alt modifier needed)
    • All other keys (F1–F10, Space, u, t, e, l, a, etc.) remain unchanged

    What stays the same:

    • Arrow keys, PgUp/PgDn, Home/End still work
    • All F-key shortcuts (F1–F10) still work
    • / for search, \ for filter
    • q to quit, Ctrl+C to quit
    • All sorting keys (P, M, T, N, I, <, >)
    • Tree view (t/F5), tags (Space/c/U), user filter (u)

    Color Schemes

    All 23 schemes affect every UI element: header bars, process table, footer, tabs, popups. Each scheme provides a cohesive color palette optimized for readability and visual hierarchy.

    The original 7 htop schemes remain the core collection, with 16 Windows Terminal schemes added for users who want consistency across terminal applications.

    Quick Reference:

    • Need dark mode? Try Default, Dark+, One Half Dark, or Solarized Dark
    • Need light mode? Try Light Terminal, One Half Light, Solarized Light, or VSCode Light Modern
    • Retro vibes? Try CGA, IBM 5153, Campbell, or Vintage
    • High contrast? Try Dark Vivid, Monochrome, or VSCode Dark Modern

    Change schemes live: F2 > Colors > select > Enter. Preview updates in real-time.


    Configuration

    Settings are saved automatically to:

    %APPDATA%\pstop\pstoprc
    

    Format: simple key=value (htoprc-style). Persisted settings include:

    • Color scheme
    • All 16 display options (including vim keys mode and Irix mode)
    • Visible columns
    • Sort field & direction
    • Update interval
    • Tree view state

    To enable vim keys from the config file directly:

    vim_keys=1
    

    System Requirements

    • OS: Windows 10 / 11 (x86_64)
    • Terminal: Windows Terminal, PowerShell, cmd.exe, or any terminal with ANSI support
    • Build: Rust 1.70+ (for building from source)

    Roadmap

    • Publish to crates.io (cargo install pstop)
    • Pre-built binaries via GitHub Releases
    • WinGet (winget install marlocarlo.pstop)
    • Chocolatey (choco install pstop)
    • GPU monitoring (per-process GPU engine usage + VRAM, header GPU/VMem bars)
    • Network per-process tracking (live bandwidth, no admin required)
    • Auto-adjusting CPU column layout (2/4/8/16 columns based on core count)
    • Independent htop-style header panel flow (no forced alignment)
    • Vim-style keybindings (opt-in j/k/g/G/Ctrl-u/Ctrl-d)
    • Scoop bucket
    • Custom meter plugins

    Contributing

    Contributions welcome! This is a Rust project using:

    • ratatui 0.30 - TUI framework
    • crossterm 0.29 - Terminal backend
    • sysinfo 0.38 - System information
    • windows 0.62 - Native Win32 APIs
    git clone https://github.com/psmux/pstop.git
    cd pstop
    cargo run
    

    License

    MIT - use it, fork it, ship it.