The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > HP-UX
.
google unix.com



HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
script to monitor process running on server and posting a mail if any process is dead pradeepmacha Shell Programming and Scripting 13 03-06-2009 07:33 AM
3004-505 Cannot set process environment ak835 AIX 4 02-20-2009 01:36 AM
Getting another process' environment DreamWarrior High Level Programming 3 04-02-2008 01:31 PM
How to create a dummy process of a process already running? shambhu UNIX for Advanced & Expert Users 3 08-31-2007 10:22 AM
Running UNIX in windows environment ? bh_hensem Windows & DOS: Issues & Discussions 1 05-10-2007 07:25 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-12-2009
obbzung obbzung is offline
Registered User
  
 

Join Date: Jun 2009
Posts: 1
Exclamation How can I get environment of running process?!!

In Solaris, here is the command that use to get the environments of running process.

pargs -e [pid]

For example:

/export/home/admin> pargs -e 6682
6682: /storage1/opt/wls103/jdk160_05/bin/java -client -Xms256m -Xmx512m -XX:CompileTh
envp[0]: XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt
envp[1]: NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat
envp[2]: ANT_CONTRIB=/storage1/opt/wls103/modules/net.sf.antcontrib_1.0.0.0_1-0b2
envp[3]: ANT_HOME=/storage1/opt/wls103/modules/org.apache.ant_1.6.5
envp[4]: ARDIR=/storage1/opt/wls103/wlserver_10.3/server/lib
envp[5]: BEA_HOME=/storage1/opt/wls103
envp[6]: BEA_JAVA_HOME=

Is there any command like this in HP-UX?

Or, anyway to get the env of running proc?

Could you all please give me a good recommendation?

I have been finding this for 2 weeks.

Thank you.
  #2 (permalink)  
Old 06-12-2009
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2005
Location: Switzerland - GE
Posts: 1,546
Unfortunately I doubt seriously...
All I can think of for tweeking stuff process related is lsof, pipcs, or using a debugger such as adb, wdb or gdb...
Sponsored Links
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 08:14 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0