Add usage of ps aux | grep <process>

pull/462/head
Sri Harsha Kappala 2016-10-03 17:33:01 +05:30
parent b7f139d996
commit 245105172a
No known key found for this signature in database
GPG Key ID: 1CD401D828C3E763
1 changed files with 2 additions and 0 deletions

View File

@ -103,6 +103,8 @@ Notes:
- `pstree -p` is a helpful display of the process tree.
- Grep the output of `ps aux` to know the pid of a process, like `ps aux | grep postgresql`
- Use `pgrep` and `pkill` to find or signal processes by name (`-f` is helpful).
- Know the various signals you can send processes. For example, to suspend a process, use `kill -STOP [pid]`. For the full list, see `man 7 signal`