Project

General

Profile

1
#!/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}'
(46-46/79)