104 pspy(1) - Kailash Tool Reference
104.1 pspy
pspy - Monitors Linux processes without root permissions.
| Layer | CLASSIC |
| Category | c-08-exploitation-post-exploitation |
| Safety class | safe |
| Licence | GPL-3.0-only |
| Upstream | github.com/dominicbreuker/pspy |
104.1.1 NAME
pspy - Monitors Linux processes without root permissions.
104.1.2 SYNOPSIS & usage
Derived from the upstream README at generation time; verify against --help where the tool is installed.
# print both commands and file system events and scan procfs every 1000 ms (=1sec)
./pspy64 -pf -i 1000
# place watchers recursively in two directories and non-recursively into a third
./pspy64 -r /path/to/first/recursive/dir -r /path/to/second/recursive/dir -d /path/to/the/non-recursive/dir
# disable printing discovered commands but enable file system events
./pspy64 -p=false -f
104.1.3 DESCRIPTION (upstream)
pspy is a command line tool designed to snoop on processes without need for root permissions. It allows you to see commands run by other users, cron jobs, etc. as they execute. Great for enumeration of Linux systems in CTFs. Also great to demonstrate your colleagues why passing secrets as arguments on the command line is a bad idea. The tool gathers the info from procfs scans. Inotify watchers placed on selected parts of the file system trigger these scans to catch short-lived processes. Get the tool onto the Linux machine you want to inspect. First get the binaries. Download the released binaries here: - 32 bit big, static version: pspy32 [download](https://github.com/DominicBreuker/pspy/
104.1.4 SEE ALSO
- Category: c-08-exploitation-post-exploitation in the category directory (sister tools listed there).
ref: pin - verified 2026-10-14