Project

General

Profile

1 7257 aaronmk
#!/bin/sh
2
# Gets PIDs whose process names contain a string
3
# Usage: self name
4
5
ps -A -o pid,command|grep -F "$1"|awk '{print $1}'