- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- collect hostname and IP?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2005 04:04 PM
12-14-2005 04:04 PM
collect hostname and IP?
How to collect hostname and IPaddress by processid or pts/ta or username.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2005 04:10 PM
12-14-2005 04:10 PM
Re: collect hostname and IP?
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2005 04:18 PM
12-14-2005 04:18 PM
Re: collect hostname and IP?
Output is given below,
assoq - pts/ta Dec 14 23:39 0:14 14472 a1230373p2
it showing
a1230373p2 is the package name how this happening because this username i.eassoq utilzation cpu 100%,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2005 04:43 PM
12-14-2005 04:43 PM
Re: collect hostname and IP?
# who -R
Does that help you?
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2005 04:50 PM
12-14-2005 04:50 PM
Re: collect hostname and IP?
What exactly you want to do ? A script to kill a particular user ? Can you be more specific ?
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2005 04:54 PM
12-14-2005 04:54 PM
Re: collect hostname and IP?
its given all the details but what my problem,
The User aqqoq utilization cpu 100%,and find out the Hostname or IP by using who -R cmd by it given output is
aqqoq pts/ta Dec 14 23:39 (a0300112p2)
and
a0300373p2 is the package name..i am so confuse pls anyone clarify to me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2005 04:54 PM
12-14-2005 04:54 PM
Re: collect hostname and IP?
its given all the details but what my problem,
The User aqqoq utilization cpu 100%,and find out the Hostname or IP by using who -R cmd by it given output is
aqqoq pts/ta Dec 14 23:39 (a0300112p2)
and
a0300112p2 is the package name..i am so confuse pls anyone clarify to me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2005 05:05 PM
12-14-2005 05:05 PM
Re: collect hostname and IP?
Can you explain what is the scenario and what info you would like to get.
Problem?
Solution expected??
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2005 05:18 PM
12-14-2005 05:18 PM
Re: collect hostname and IP?
that user is aqqoq
My IT Head want to know hostname and ip of that user aqqoq,then i tried by who -R
it showing hostname a0300112p2 i.ePackage name
How should i find out the hostname and Ipaddress...?pls help out this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2005 05:32 PM
12-14-2005 05:32 PM
Re: collect hostname and IP?
Cheers,
Awadhesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2005 06:02 PM
12-14-2005 06:02 PM
Re: collect hostname and IP?
Now there are two things:
1. TO find out which is the user who is hogging CPU (I assume you have done it)
2. TO know from where this person has logged in and his Systems IP.
For that you can use:
# last -R | grep
This command will give you IP address or the hostname (anyone of them should suffice)
Hope that works for you.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2005 06:41 PM
12-14-2005 06:41 PM