HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- get program name from ps -ef
Operating System - HP-UX
1832439
Members
3216
Online
110042
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
03-06-2007 03:24 PM
03-06-2007 03:24 PM
Hi,
$ps -ef | grep jar
otroot 21894 19704 0 20:12:14 pts/tf 0:03 /opt/java1.3/bin/../bin/PA_RISC2
.0/native_threads/java -jar TPI
How do I get the complete program name instead of "TPI" in output?.
This is a jar file named TPIDS.jar
If I search for TPIDS.jar no output. Though the jar file is executing.
$ps -ef | grep TPIDS.jar
No output
I am on HPUX.
Thanks
$ps -ef | grep jar
otroot 21894 19704 0 20:12:14 pts/tf 0:03 /opt/java1.3/bin/../bin/PA_RISC2
.0/native_threads/java -jar TPI
How do I get the complete program name instead of "TPI" in output?.
This is a jar file named TPIDS.jar
If I search for TPIDS.jar no output. Though the jar file is executing.
$ps -ef | grep TPIDS.jar
No output
I am on HPUX.
Thanks
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2007 04:01 PM
03-06-2007 04:01 PM
Re: get program name from ps -ef
How do I get the complete program name instead of "TPI" in output?
First you should note that the program name is your case is java -- as that is the true executable. Your TPIDS.jar file is simply a data file albeit a data file that is interpreted or executed as pcode. In any event, add the -x argument so that ps -efx should be used. This will display more of the command line. Note that the "-x" ps option is not supported in all version of HP-UX. It first became available at 11.0 and only if a patch was applied. Do a man ps and if the -x option is mentioned then you are good to go.
First you should note that the program name is your case is java -- as that is the true executable. Your TPIDS.jar file is simply a data file albeit a data file that is interpreted or executed as pcode. In any event, add the -x argument so that ps -efx should be used. This will display more of the command line. Note that the "-x" ps option is not supported in all version of HP-UX. It first became available at 11.0 and only if a patch was applied. Do a man ps and if the -x option is mentioned then you are good to go.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2007 08:39 PM
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP