Hareesh Nagarajan wrote:
Hi,
Any idea how I can get the process name from the pid from within the
kernel? Is there a function that does this?
Im just a newbie, but Id be suprised if there were one already written.
the kernel doesnt much care about the process name, thats for user-land
to discern from contents of /proc (btw, you could read the code
to see how it does it)
Thanks,
Hareesh
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/