I want to get the program name(pull path) of specific running process. As I
cannot get program name, I tried to get vnode pointer from u area of process
in kernel mode. I read "u.u_exdata.vp" variable, but it show only 0x0 value(I
tried on Solaris 2.5.1 at SPARCstation20). I did it according to the related
text book(Pate's UNIX Internals), but I could not. I want to know why it
doesn't work and other method to get program name or vnode pointer. Hope any
advice.
Thanks in advance,
Chun-Mok Chung.
Sent via Deja.com http://www.deja.com/
Before you buy.