diff --git a/pages/common/psgrep.md b/pages/common/psgrep.md new file mode 100644 index 000000000..cc02688ad --- /dev/null +++ b/pages/common/psgrep.md @@ -0,0 +1,15 @@ +# psgrep + +> Search through processes with grep. + +- Find process lines containing a specific string: + +`psgrep {{process_name}}` + +- Find process lines containing a specific string, do not include headers: + +`psgrep -n {{process_name}}` + +- Search using simplified format (PID, user, command): + +`psgrep -s {{process_name}}`