hi i want to get another process' pid(s) from withing a program by process name, without executing a ps or pidof command. Is there another way of doing this other than iterating over /proc and reading all the process names?
thanks,
hi i want to get another process' pid(s) from withing a program by process name, without executing a ps or pidof command. Is there another way of doing this other than iterating over /proc and reading all the process names?
thanks,