DominicBreuker/pspy

Monitor linux processes without root permissions

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 4 minutes ago
Added to GitGenius on September 10th, 2026
Created on February 8th, 2018
Open Issues & Pull Requests: 3 (+0)
GitHub issues: Enabled
Number of forks: 572
Total Stargazers: 6,178 (+0)
Total Subscribers: 58 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 3.6 days
Mean response time: 3.6 days
90th percentile: 3.6 days
Tracked items: 1

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 2
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 570 days
Stale 30+ days: 2
Stale 90+ days: 2

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

pspy is a command line tool for monitoring Linux processes without requiring root permissions.

The tool solves the problem of discovering hidden process execution on Linux systems by combining two monitoring techniques. It performs regular scans of the procfs filesystem to enumerate running processes, and it places inotify watchers on selected filesystem directories to trigger additional scans when file system activity occurs. This dual approach allows it to catch short-lived processes that might otherwise be missed by periodic scanning alone. The tool can reveal commands executed by other users, scheduled cron jobs, and other system activity as it happens in real time.

pspy is well suited for security professionals conducting Linux system enumeration during penetration tests and capture-the-flag competitions. It serves as a practical demonstration of why passing sensitive information as command line arguments is insecure, since the tool can observe such arguments without elevated privileges. The tool offers multiple binary distributions to accommodate different deployment scenarios: statically compiled versions for maximum portability and smaller compressed versions for constrained environments. Configuration options allow users to customize which directories are monitored recursively, which directories are watched without recursion, the interval between procfs scans, and whether to display filesystem events and colored output.

The project maintains a straightforward build process supporting both direct Go compilation and Docker-based builds. The tool includes a working example demonstrating its capability to observe privileged cron jobs, which can be run locally with Docker. Documentation covers the available command line flags and their effects, with sensible defaults that work for most use cases.