Get a ppid from process name or pid