Operating System - HP-UX
1829115 Members
13208 Online
109986 Solutions
New Discussion

Check the IP address of the process

 
SOLVED
Go to solution
peterchu
Super Advisor

Check the IP address of the process

I found a dead process in the system like below , I want to trace who run this process , (userA is the common ID ), for the below limited information , can I know which user ( IP address ) run this process ? thx

# ps -ef |grep userA
userA 2394 1 0 10:07 ? 00:00:00 login -- userA
7 REPLIES 7
malay boy
Trusted Contributor

Re: Check the IP address of the process

command "who -u" will show user login from which machine.

regards
mB
There are three person in my team-Me ,myself and I.
Joseph Loo
Honored Contributor
Solution

Re: Check the IP address of the process

hi,

do u have lsof? if not:

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.70/

select the download based on the HP-UX version.

regards.
what you do not see does not mean you should not believe
Rajesh D L
Frequent Advisor

Re: Check the IP address of the process

Hi,

#who -u |grep 2394

regards,
RDL.
Bharat Katkar
Honored Contributor

Re: Check the IP address of the process

Hi,
Use
# ps -ef | grep processname

Trace the ttyname in this output.

# who -R | grep

This gives you the IP Address of te user who fired this process.

This should help.
regards,
You need to know a lot to actually know how little you know
peterchu
Super Advisor

Re: Check the IP address of the process

thx all replies,
sorry to misleading , I have already killed all the process , so I think I need to check it on the history , is it possible ? thx.
Bruno Ganino
Honored Contributor

Re: Check the IP address of the process

I would check users history file
or maybee look into /var/logs
Bruno
Torino (Turin) +2H
Bharat Katkar
Honored Contributor

Re: Check the IP address of the process

It looks like diffucult to trace the killed processes and info about them.
But if these processes are related to any application then may be you can refer the logs generated by that application to get more info.

Hope that helps.
regards,
You need to know a lot to actually know how little you know