- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- process output
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
08-21-2005 10:57 AM
08-21-2005 10:57 AM
I have an output as shown below:
$ ps -ef|grep weblogic
weblogic 20040 20026 0 Sep 23 ? 2727:09 /opt/bea/jdk131_09/bin/../bin/PA_RISC2.0/native_threads/java -X
I need to know what this path means:
/opt/bea/jdk131_09/bin/../bin/PA_RISC2.0/native_threads/java -X
Why there is double .. in between ? What does it indicate ?
Why this is not running as from a path like:
/opt/bea/jdk131_09/bin/PA_RISC2.0/native_threads/java
Secondly, -X stands for what ?
Thanks,
Shiv
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2005 01:58 PM
08-21-2005 01:58 PM
Solutionll -a
and you'll see two directories at the top of the listing, . and ..
Now to answer the question, why have /../ in the path? You'll have to ask the programmers. Unix doesn't care if you use a path like:
cd /dir1/dir2/../dir3/dir4/../../dir5/
What is this really? If you type the command: pwd, you'll find yourself in /dir1/dir5. Is this obfuscation necssary? Doubtful, but then the WebLogic code uses it to locate the path it needs. It just looks very ugly on the command line.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2005 02:15 PM
08-21-2005 02:15 PM
Re: process output
Thats right, its the relative way of addressing the PATH. If you look at /opt/bea/jdk131_09/bin/../bin/PA_RISC2.0/native_threads/java and /opt/bea/jdk131_09/bin/PA_RISC2.0/native_threads/java
They both mean the same and the reason why weblogic has the earlier command in ps output is because when it runs weblogic the PATH and BASE is already set to /opt/bea/jdk131_09/bin and to reach the java executable it goes a directory back from base and i.e ../bin and then runs the whole executable.
Now -X options if you have a look at java -X you'll see it says that The -X options are non-standard and subject to change without notice.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2005 04:30 PM
08-21-2005 04:30 PM
Re: process output
ps -efx|grep weblogic
will give you the full command line.
the -X switch means "print help on non-standard options"
you can get the different switches for the java command by just typing "java" at the command line.
hope this helps too!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2005 04:51 PM
08-21-2005 04:51 PM
Re: process output
in this case
/opt/bea/jdk131_09/bin/../bin/PA_RISC2.0/native_threads/java -X
is the same as
/opt/bea/jdk131_09/bin/PA_RISC2.0/native_threads/java -X
greetings,
Michael