- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Identify a process
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
Discussions
Discussions
Forums
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
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
тАО04-05-2006 08:16 PM
тАО04-05-2006 08:16 PM
On my machine (Hp-ux 11.23) there is a perl-programm, which sometimes doesn't finish correctly (in my opinion), because it runs constantly with alsmost 100% of CPU-time. I would like to identify which programm starts, but I have no idea how to do this. How can I determine which programm was run by perl. As I am running webmin, I always get
1212:07 /opt/perl_64/bin/perl /usr/local/webmin-1.260/miniserv.pl /etc/
for any perl-programm run by webmin.
Thanks for any ideas!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2006 08:21 PM
тАО04-05-2006 08:21 PM
Re: Identify a process
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2006 08:22 PM
тАО04-05-2006 08:22 PM
Re: Identify a process
# ps -ef | grep webmin
3rd field gives that.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2006 08:23 PM
тАО04-05-2006 08:23 PM
Re: Identify a process
what do you mean by "which program starts"?
To find the process taking the CPU: top
which should give you the PID
You can then use: ps -ef | grep PID_value
to get the ParentPID (second column).
Repeating this process will eventually lead you to the process that started all your sub-processes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2006 08:27 PM
тАО04-05-2006 08:27 PM
Re: Identify a process
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2006 09:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2006 09:01 PM
тАО04-05-2006 09:01 PM
Re: Identify a process
# ps -ef | grep
will give all process which are started by it.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2006 09:04 PM
тАО04-05-2006 09:04 PM
Re: Identify a process
UNIX95=1 ps -ef -o cpu= -o pcpu= -o comm= -o pid | sort -rnk 2
or
top
will give that.
Hope webmin is maintaining a log file. Try to trace it.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2006 09:40 PM
тАО04-05-2006 09:40 PM
Re: Identify a process
You can esily find out by giving,
# ps ef |grep -i perl
Also, You can download and install HP's Webmin which is fully supported on HP-UX/.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2006 09:42 PM
тАО04-05-2006 09:42 PM
Re: Identify a process
You can download http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXWSARCHIVE
-Arun