tldr/pages/common/ps.md

24 lines
431 B
Markdown
Raw Normal View History

2013-12-08 08:56:16 +00:00
# ps
> Information about running processes.
2013-12-08 08:56:16 +00:00
- List all running processes:
2013-12-08 08:56:16 +00:00
`ps aux`
- List all running processes including the full command string:
`ps auxww`
2014-03-23 23:52:15 +00:00
- Search for a process that matches a string:
2014-03-23 23:52:15 +00:00
`ps aux | grep {{string}}`
- List all processes of the current user in extra full format
`ps --user $(id --user) -F`
- List all processes of the current user as ASCII art process hierarchy
`ps --user $(id --user) f`