izeye
Tuesday, November 22, 2016
Get PGID in Mac or Linux
To get PGID in Mac or Linux, use the following command:
ps -o pgid= 1115 | tr -d ' '
Reference:
http://stackoverflow.com/questions/392022/best-way-to-kill-all-child-processes
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment