Operating System - HP-UX
1755839 Members
4436 Online
108838 Solutions
New Discussion юеВ

Finding System IP from User Name

 
SOLVED
Go to solution
susee_sundar
Regular Advisor

Finding System IP from User Name

Hi.,

In my system one process is utilizing more than 80% of CPU....

I find the user name from the ps command..

But how can I find the systems IP address from the user name..

Whether any switch with who will help...
Suggest me.....
2 REPLIES 2
Arunvijai_4
Honored Contributor
Solution

Re: Finding System IP from User Name

Hi Susee,

You can find out by # who -T command. It will display from which machine the user is connected to HP-UX.

-T Same as the -u option, except that the state of
the terminal line is printed. state describes
whether someone else can write to that terminal.
A + appears if the terminal is writable by anyone;
a - appears if it is not. root can write to all
lines having a + or a - in the state field. If a
bad line is encountered, a ? is printed.

"A ship in the harbor is safe, but that is not what ships are built for"
susee_sundar
Regular Advisor

Re: Finding System IP from User Name

Thanks a lot .......Arun Vijay