Go Back   The UNIX and Linux Forums > Operating Systems > HP-UX
google site



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

Closed Thread
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-21-2009
Registered User
 

Join Date: Dec 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Help me in finding process name and argument list without using pstat()

Hi everybody,
I have an application which displayes the process name and argument list for that each and every process running on the system.
For this purpose the application used the pstat_getproc() method which fetches the structure pst_status.
By this method we get the programm name up to 15 bytes and argument list up to 64 bytes only.
Now if i want to display a longer programm name and a longer argument list (up to 255 bytes each) i must fetch them using some different method.
Kindly let me know if anybody knows the way in which this can be accomplished.
Thanks in advance.
Sponsored Links
Closed Thread

Tags
argument list, hp_ux, programm name, pstat()

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
finding * in command line argument cynosure2009 Shell Programming and Scripting 5 11-05-2009 04:07 AM
Argument list too long - SSH empyrean UNIX for Dummies Questions & Answers 6 06-10-2009 12:24 PM
Argument list too long using mv cmd chavez630 UNIX for Dummies Questions & Answers 7 01-10-2009 10:34 AM
getopts and a list argument duderonomy Shell Programming and Scripting 4 06-24-2008 05:27 AM
Argument list too long - Shell error dad5119 Shell Programming and Scripting 8 03-03-2006 02:57 PM



All times are GMT -4. The time now is 03:05 AM.