Reputation: 1
I know the pid of my current process... I am trying to figure out the processes who have same ppid as the pid of current process
Upvotes: 0
Views: 217
Reputation: 14493
You can use ps
--ppid
to select by parent PID, Using bash builtin variable PPID
.
ps --ppid "$PPID"
Upvotes: 1