Hi,
My problem is, consider 2 users A and B belonging to the same group. I run a process under User A. Am trying to monitor it by logging in from as User B.How do i do this ?
i tried kill(pid,0) in my C program which is my monitoring program run from user B.This doesnot work since kill could be issued only by the owner of the pid.here the owner of that pid is A,since i started it from A.
Could you just tell me if there is any other means of monitoring a process from an other user id who is not the owner of the process that is currently running.
Thanx in advance,
-VSR
My problem is, consider 2 users A and B belonging to the same group. I run a process under User A. Am trying to monitor it by logging in from as User B.How do i do this ?
i tried kill(pid,0) in my C program which is my monitoring program run from user B.This doesnot work since kill could be issued only by the owner of the pid.here the owner of that pid is A,since i started it from A.
Could you just tell me if there is any other means of monitoring a process from an other user id who is not the owner of the process that is currently running.
Thanx in advance,
-VSR