HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- process environment
Operating System - HP-UX
1832286
Members
2504
Online
110041
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
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
11-01-2007 02:37 AM
11-01-2007 02:37 AM
process environment
i wonder how does one can find out environment variables of arbitrary process.
in linux we have /proc//environ. but what to do in hpux?
in linux we have /proc/
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2007 03:52 AM
11-01-2007 03:52 AM
Re: process environment
There is no equivalent in HP-UX to the /proc filetree. The getenv() function can be used within the process but if you are talking about unrelated processes then using a debugger to attach to a the process is about as close as you get.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2007 06:45 PM
11-01-2007 06:45 PM
Re: process environment
so we have a adb debugger as well as ported gdb. what can be done with this tools?
i cannot find something related to reporting processes's environment in manuals.
i cannot find something related to reporting processes's environment in manuals.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2007 04:20 PM
11-02-2007 04:20 PM
Re: process environment
>so we have a adb debugger
Don't even think of using this.
>as well as ported gdb. what can be done with this tools?
HP's latest wdb can be downloaded from:
http://www.hp.com/go/wdb
>i cannot find something related to reporting processes' environment in manuals.
That's because it is none of your business to look at other processes, only your own. Especially since it isn't easy as using /proc. ;-)
Here are some old threads that explain how:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=763461
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1109088
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1116594
Don't even think of using this.
>as well as ported gdb. what can be done with this tools?
HP's latest wdb can be downloaded from:
http://www.hp.com/go/wdb
>i cannot find something related to reporting processes' environment in manuals.
That's because it is none of your business to look at other processes, only your own. Especially since it isn't easy as using /proc. ;-)
Here are some old threads that explain how:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=763461
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1109088
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1116594
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