Skip to content
Luna-OSPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

MoonTask

Every process, calmly under the moon.

MoonTask is a modern, open-source task manager for Windows, Linux and macOS — in the spirit of TaskExplorer and Process Explorer, but calmer, better organized and in the same night-sky design as MoonDisk.

MoonTask overview

The process tree with its GPU column and the detail panel

GPU load, engines and video memory in the performance view

Screenshots show the real interface with sample data of a Windows gaming PC.

Features

  • Overview — CPU, memory, disk and network at a glance (as moon phases), the busiest and largest processes, facts about the machine, storage, and a live feed of processes that start and end
  • Processes in three views:
    • Tree — parent and child processes; searching keeps the path to every match visible
    • List — every process, flat and sortable
    • Apps — processes of the same program grouped and summed (30 browser processes become one row), with End all
  • Search by name, PID, user, executable or command line; filter by owner (mine / system & others); newly started processes briefly light up
  • Detail panel for the selected process: general facts with CPU/memory sparklines, threads, loaded modules, open handles, its network connections and environment variables
  • Actions: end, force kill, end the whole process tree, suspend, resume, change priority, show the executable in the file manager
  • GPU — load per graphics card and engine (3D, video decode/encode, copy …), dedicated and shared video memory, the GPU temperature (like Task Manager, where the driver reports it), and a GPU column per process (Windows: the same performance counters and graphics kernel data Task Manager uses; Linux: NVML for NVIDIA, sysfs for AMD/Intel)
  • Performance — CPU (total and per core), memory and swap, GPU, disk and network throughput over time with hover read-outs, volumes, and temperature sensors
  • Network — every open TCP/UDP connection and listening port, with the process holding it
  • Services — systemd services (Linux) and Windows services: state, startup type, main process; start, stop and restart
  • Night and day themes (or follow the system), adjustable refresh rate, pause, and full keyboard control

Better organized than a classic task manager

  • One sidebar with six clear sections instead of a wall of tabs; the process details open next to the list instead of in a separate window
  • Kernel threads are hidden by default (they can be shown in Settings), so the list stays readable on Linux
  • CPU is shown as a share of the whole machine, so the column adds up to the total
  • MoonTask keeps its own footprint small: it measures once per interval and only animates what carries information

Safety

Ending the wrong process can lose unsaved work or take the system down. MoonTask is careful by design, and the rules live in the Rust core (src-tauri/src/control/guard.rs), not only in the UI:

  • Protected processes — the kernel, init, the Windows session processes (csrss, wininit, lsass, …) and MoonTask itself can't be ended, suspended or re-prioritized
  • Confirmation — ending someone else's or a system process, ending a whole tree, and every service change always need an explicit confirmation; for your own processes it's a setting
  • No PID mix-ups — every action names the process by PID and start time and is re-checked right before it runs, so a PID the OS has meanwhile given to another process is never touched
  • Never realtime — MoonTask won't set realtime priority, which can freeze a machine
  • No telemetry and no network access of its own; the webview can't reach the network at all

Keyboard

Keys Action
Ctrl 1 … Ctrl 6 Switch section
/ or Ctrl F Search processes
↑ ↓ Page↑ Page↓ Home End Move through the process list
← → Collapse / expand a branch
Delete End the selected process
Shift Delete Force kill the selected process
Space Pause / resume live updates
F5 Refresh now
Escape Clear the search, then the selection

Installation

Installers for Windows (.exe), Linux (.deb/.rpm) and macOS (.dmg, Apple silicon and Intel, macOS 14 or newer) are published on the Releases page.

MoonTask runs as a normal user. It then sees every process, but can only act on your own and can't look inside other users' processes (their modules, handles and environment). To manage everything, start it with administrator rights (Windows: Run as administrator; Linux: e.g. sudo -E moontask).

macOS

On the Mac, MoonTask is a native app written in Swift and SwiftUI (macos/), with the same night sky, the same views and the same safety rules. Open the disk image and drag MoonTask into Applications. The app isn't notarized by Apple yet, so macOS asks once before the first start: open it, then allow it under System Settings → Privacy & Security → Open Anyway.

macOS shows the command line, environment, open files and network connections only for your own processes; the system's and other users' processes show their CPU and memory, but not those details. launchd agents of your session appear under Services.

Platform notes

Feature Linux Windows macOS
Process tree, CPU, memory, disk I/O ✓ ✓ ✓ (disk I/O: your processes)
End, kill, end tree ✓ ✓ (end = kill) ✓
Suspend / resume ✓ ✓ ✓
Priority ✓ (nice, all threads) ✓ (priority class) ✓ (nice)
Threads / modules ✓ ✓ thread count
Open handles ✓ planned ✓ (open files, your processes)
GPU load, memory ✓ (NVIDIA, AMD; Intel: name, temperature) ✓ (all vendors) ✓
GPU load per process ✓ (NVIDIA) ✓ –
GPU temperature ✓ ✓ (where the driver reports it, as in Task Manager) –
Network connections ✓ ✓ ✓ (your processes)
Services systemd Service Control Manager launchd agents
CPU and other sensor temperatures ✓ – thermal state

Development

MoonTask is a Tauri 2 app: a Rust core (src-tauri/) and a React + TypeScript + Tailwind frontend (src/), laid out like MoonDisk.

src-tauri/src/
  monitor/    the live view of the machine (sysinfo), rates, owner/protection rules
  control/    process actions and their risk guard
  platform/   everything OS-specific: signals, priorities, threads, modules, handles
  services/   systemd / Windows SCM (launchd for later)
  network/    open sockets
  commands/   the thin Tauri IPC layer
src/
  lib/        pure logic: process tree/list/apps, risk, history, formatting (unit-tested)
  components/ process table, detail panel, charts, dialogs
  views/      Overview, Processes, Performance, Network, Services, Settings

The macOS app is a Swift package in macos/:

macos/Sources/
  MoonTaskCore/    models, process tree/list/apps, sorting, safety rules (pure Swift, tested)
  CDarwin/         a thin C layer over libproc, sysctl, Mach and IOKit
  MoonTaskSystem/  reads the Mac and acts on processes
  MoonTask/        the SwiftUI app
cd macos
swift test                      # tests
swift run                       # run the app
scripts/bundle.sh 0.3.0         # MoonTask.app and a .dmg in dist/

The Windows/Linux app:

npm install
npm run tauri dev        # run the app
npm test                 # frontend tests
npm run lint && npm run typecheck
cargo test --manifest-path src-tauri/Cargo.toml

On Linux, Tauri needs libwebkit2gtk-4.1-dev, libgtk-3-dev, libayatana-appindicator3-dev and librsvg2-dev. The Rust core can be built and tested without them: cargo test --manifest-path src-tauri/Cargo.toml --no-default-features.

License

This repository is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages