Skip to content

Commit b769876

Browse files
committed
Add get_process_count script
1 parent e9aa07d commit b769876

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

get_processes_count

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
ps -e -o pid,command | grep -E "$1 |$1$" | grep -vE 'grep|get_processes_count' -c

0 commit comments

Comments
 (0)