getting Details of pf -ef

Hi All,

I have a Linux server where many script run on daily basis through crontab.
I could see some entries on my name but I am not able to get the details.

>>ps -ef | grep an001

>>root 9905 1742 0 Apr17 ? 00:00:00 sshd: an001 [priv]
>>an001 9907 9905 0 Apr17 ? 00:00:19 sshd: an001@pts/2
>>an001 9908 9907 0 Apr17 pts/2 00:00:00 -sh

As shown above there is something that is sunning since APR 17 but I dont know what is it.
Is there any way by which I could get the details??

Please help
TIA

Do you have pwdx on you machine? its available on linux and solaris.

if yes,

pwdx 9905

i.e.

pwdx <PID>

this will give you the directory of executable of that particular process.

I am getting this :frowning:
9905: Permission denied

So that is a root process. you must logged in as a root for that.
I think you consult you administrator for that.

btw, It's clear that it is the ssh daemon service. and you don't need to worry about that.