pgrep
This commit is contained in:
parent
31e52f9861
commit
39dedbd440
1 changed files with 5 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
# look for a string in processes names
|
# look for a string in processes names
|
||||||
pg() {
|
pg() { sh_a__proc_grep "${@}"; }
|
||||||
ps \
|
sh_a__proc_grep() {
|
||||||
-A |
|
pgrep \
|
||||||
grep \
|
--list-full \
|
||||||
"${@}"
|
"${@}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue