HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: pst_cmd field in pst_status structure
Operating System - HP-UX
1834772
Members
2666
Online
110070
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-19-2003 03:49 AM
11-19-2003 03:49 AM
pst_cmd field in pst_status structure
I'm developing an application that use pst_cmd in pst_status structure to recognize running process.
This field len is limited to PST_CLEN = 64 byte, that under some circumstance may be not enough. I see that "ps -efx" command is able to retrieve long command line.
Anyone know which UX-API is available to retrieve info like "ps -efx" do ?
TIA
Chiappa Andrea
This field len is limited to PST_CLEN = 64 byte, that under some circumstance may be not enough. I see that "ps -efx" command is able to retrieve long command line.
Anyone know which UX-API is available to retrieve info like "ps -efx" do ?
TIA
Chiappa Andrea
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2003 07:07 AM
11-24-2003 07:07 AM
Re: pst_cmd field in pst_status structure
Tusc says it is pstat_getcommandline. You can find that documented in 11i v2 in-
http://www.docs.hp.com./cgi-bin/onlinedocs.py?mpn=B2355-60103&service=hpux&path=00/12/1218
It doesn't seem to have been added to libc or pstat.h for 11.00 or 11.11 by the ps patches that added the ps -x option.
http://www.docs.hp.com./cgi-bin/onlinedocs.py?mpn=B2355-60103&service=hpux&path=00/12/1218
It doesn't seem to have been added to libc or pstat.h for 11.00 or 11.11 by the ps patches that added the ps -x option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2003 10:06 PM
11-24-2003 10:06 PM
Re: pst_cmd field in pst_status structure
Many thanks Mike for indicate me an english version of pstat_getcommandline doc.
I did use tusc, before your answer, to spy which system call ps -x use and found pstat_getcommandline doc only in japanese (not so clear for me !).
So I open an official call to HP to have an
answer about.
The answer say that pstat_getcommandline is not documented on PA-RISC version of UX
(HP-UX 11i Version2 as reported on documentation is Itanium porting) and may
be used considering that HP may change or remove the interface at any time.
Regards
Chiappa Andrea
I did use tusc, before your answer, to spy which system call ps -x use and found pstat_getcommandline doc only in japanese (not so clear for me !).
So I open an official call to HP to have an
answer about.
The answer say that pstat_getcommandline is not documented on PA-RISC version of UX
(HP-UX 11i Version2 as reported on documentation is Itanium porting) and may
be used considering that HP may change or remove the interface at any time.
Regards
Chiappa Andrea
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