systemctl-list-paths
List path-activated units
TLDR
List path units
SYNOPSIS
systemctl list-paths [OPTIONS] [PATTERN...]
DESCRIPTION
systemctl list-paths displays path units currently loaded in memory, ordered by the paths they watch. Path units activate other units when specified filesystem paths are modified.
The output shows the watched path, the path unit name, and its current state.
PARAMETERS
-a, --all
Include inactive path units--state= STATE
Filter by state--show-types
Display unit types in output--no-legend
Suppress header and footer--no-pager
Disable pager
CAVEATS
Only shows path units, not related service units. Inactive path units are hidden by default. Path monitoring uses inotify, which has kernel limits on watched paths.
HISTORY
The list-paths subcommand provides a focused view of filesystem-triggered units, which are systemd's replacement for incron or similar file-watching mechanisms.
SEE ALSO
systemctl-list-units(1), systemd.path(5), systemctl(1)
