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
|
||||
pg() {
|
||||
ps \
|
||||
-A |
|
||||
grep \
|
||||
"${@}"
|
||||
pg() { sh_a__proc_grep "${@}"; }
|
||||
sh_a__proc_grep() {
|
||||
pgrep \
|
||||
--list-full \
|
||||
"${@}"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue