A bunch of new pages:
common/: dig, gzip, rm, sort, zfs, zpool
linux/: apt-get, shutdown
osx/: airport, caffeinate, diskutil, networksetup open, pgrep, qlmanage, say, shutdown, sysctl, system_profiler
Edits to existing pages:
curl: Added simple download example
find: Added iname and size exmaples
grep: Edited -c description
ps: Added wide lines example
ssh: edited -D description, added simple port forwarding example
unzip: added list option
2014-02-11 00:36:05 +04:00
|
|
|
# pgrep
|
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
> Find or signal process by name.
|
A bunch of new pages:
common/: dig, gzip, rm, sort, zfs, zpool
linux/: apt-get, shutdown
osx/: airport, caffeinate, diskutil, networksetup open, pgrep, qlmanage, say, shutdown, sysctl, system_profiler
Edits to existing pages:
curl: Added simple download example
find: Added iname and size exmaples
grep: Edited -c description
ps: Added wide lines example
ssh: edited -D description, added simple port forwarding example
unzip: added list option
2014-02-11 00:36:05 +04:00
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Return PIDs of any running processes with a matching command string:
|
A bunch of new pages:
common/: dig, gzip, rm, sort, zfs, zpool
linux/: apt-get, shutdown
osx/: airport, caffeinate, diskutil, networksetup open, pgrep, qlmanage, say, shutdown, sysctl, system_profiler
Edits to existing pages:
curl: Added simple download example
find: Added iname and size exmaples
grep: Edited -c description
ps: Added wide lines example
ssh: edited -D description, added simple port forwarding example
unzip: added list option
2014-02-11 00:36:05 +04:00
|
|
|
|
2016-01-02 04:12:34 +03:00
|
|
|
`pgrep {{process_name}}`
|
A bunch of new pages:
common/: dig, gzip, rm, sort, zfs, zpool
linux/: apt-get, shutdown
osx/: airport, caffeinate, diskutil, networksetup open, pgrep, qlmanage, say, shutdown, sysctl, system_profiler
Edits to existing pages:
curl: Added simple download example
find: Added iname and size exmaples
grep: Edited -c description
ps: Added wide lines example
ssh: edited -D description, added simple port forwarding example
unzip: added list option
2014-02-11 00:36:05 +04:00
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Search full command line with parameters instead of just the process name:
|
2014-03-01 10:06:58 +04:00
|
|
|
|
2016-01-02 04:12:34 +03:00
|
|
|
`pgrep -f "{{process_name}} {{parameter}}"`
|
2014-03-01 10:06:58 +04:00
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Search for process run by a specific user:
|
2014-03-01 10:06:58 +04:00
|
|
|
|
2016-01-02 04:12:34 +03:00
|
|
|
`pgrep -u root {{process_name}}`
|