mirror of
https://github.com/DominicBreuker/pspy.git
synced 2025-12-21 03:34:50 +00:00
add config to enable/disable colored output
This commit is contained in:
@@ -27,9 +27,10 @@ You can run `pspy --help` to learn about the flags and their meaning.
|
||||
The summary is as follows:
|
||||
- -p: enables printing commands to stdout (enabled by default)
|
||||
- -f: enables printing file system events to stdout (disabled by default)
|
||||
- -r: list of directories to watch with inotify. pspy will watch all subdirectories recursively (by default, watches /usr, /tmp, /etc, /home, /var, and /opt).
|
||||
- -d: list of directories to watch with inotify. pspy will watch these directories only, not the subdirectories (empty by default).
|
||||
- -r: list of directories to watch with Inotify. pspy will watch all subdirectories recursively (by default, watches /usr, /tmp, /etc, /home, /var, and /opt).
|
||||
- -d: list of directories to watch with Inotify. pspy will watch these directories only, not the subdirectories (empty by default).
|
||||
- -i: interval in milliseconds between procfs scans. pspy scans regularly for new processes regardless of Inotify events, just in case some events are not received.
|
||||
- -c: print events in different colors. Red for new processes, green for new Inotify events.
|
||||
|
||||
The default settings should be fine for most applications.
|
||||
Watching files inside `/usr` is most important since many tools will access libraries inside it.
|
||||
|
||||
Reference in New Issue
Block a user