- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Tracing a Process from OS
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
10-05-2008 07:49 PM
10-05-2008 07:49 PM
Tracing a Process from OS
Is there any method on HPUX (OS Level) to trace any process from where it originated through its Process id.
Originated means
1. It is from a pc or device.
2. Its IP.
3. any other relevant information
If there is any method then please let me know.
It is very urgent.
Thanks and Regards :
Arun Jain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2008 08:07 PM
10-05-2008 08:07 PM
Re: Tracing a Process from OS
With rsh, ssh you can start a process from the remote machine and all you need to know is remote address.
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2008 08:16 PM
10-05-2008 08:16 PM
Re: Tracing a Process from OS
I think you misunderstood my question, I exactly want to trace out the remote address and everything related to process.
But you are saying that for tracing you need to know the remote address.
Regards
Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2008 08:19 PM - edited 07-30-2011 09:14 PM
10-05-2008 08:19 PM - edited 07-30-2011 09:14 PM
Re: Tracing a Process from OS
As Ivan said, you trace sessions not processes.
By using "UNIX95=EXTENDED_PS ps -Hfu user", you can get the whole process trees. By looking at the top you can figure out how it started, cron, login, rlogin, etc.
"who -R" may be able to give you the remote machine.
- Tags:
- PS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2008 08:23 PM
10-05-2008 08:23 PM
Re: Tracing a Process from OS
Go to Glance
# /opt/perf/bin/glance
select S and give PID number you will get details of that process.
Also you can check with command
# who -u ( Check man page for who )
Thanks
SKR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2008 01:45 AM
10-06-2008 01:45 AM
Re: Tracing a Process from OS
This Unix95 command is for which HPUX version. Will it work in 11.23 also. If yes whether it requires any patch or not.
should I use the command the way you wrote the syntax or it is in small case.
Regards :
Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2008 04:32 AM
10-06-2008 04:32 AM
Re: Tracing a Process from OS
Dennis's command, will work on 11.23 just as he typed it with one small change, replace
UNIX95=1 ps -Hfu
You can also user who -R |grep
This will give you the
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2008 04:39 AM
10-06-2008 04:39 AM
Re: Tracing a Process from OS
Setting the UNIX95 environment variable should work on any version if you are using a real shell. (The syntax is different for the scummy C shell.)
>should I use the command the way you wrote the syntax or it is in small case.
As David mentioned, you adjust it to the user you want to trace.
>David: This will only be true if the
You can get similar info if logged off by using the last(1) command.
- Tags:
- scummy C shell