1753259 Members
5675 Online
108792 Solutions
New Discussion юеВ

Process tracing

 
SOLVED
Go to solution
yc_2
Regular Advisor

Process tracing

Hi,

I have the following process list:

$ ps -ef | grep "pts/ta"
informix 10730 26160 0 09:44:40 pts/ta 0:00 dbaccess tpexam
informix 26160 26159 0 May 3 pts/ta 0:00 -sh
leongyc 4554 28428 1 17:22:23 pts/1 0:00 grep pts/ta
root 26159 804 0 May 3 pts/ta 0:00 telnetd -b

How to trace where is "pts/ta"?


Thanks in advance.
3 REPLIES 3
Peter Godron
Honored Contributor
Solution

Re: Process tracing

Hi,
can you please expand what you mean by trace?

who -u | grep 'pts/ta' would give you the ip-address of the connect.

root process 26159 is parent of 26160 which, in turn, is parent of 10730.
Ninad_1
Honored Contributor

Re: Process tracing

Hi,

By tracing, if you mean the trace the ip address of the machine from where the user has telneted - then you can do a
who -uH
and check the pts/xy an the ip address against it in the above commands output.
Please clarify if you mean something else.

regards,
Ninad
yc_2
Regular Advisor

Re: Process tracing

Got it, thanks a zillion.