1827286 Members
1649 Online
109717 Solutions
New Discussion

pstat_getproc()

 
Herbert Simon
Advisor

pstat_getproc()

Hi out there!!

I use pstat_getproc for scan the ps-list aout running processes. On HP UX 11.0 i get "value to large.." if the ps-list is longer than 156 lines!!!
Why????
please help me!!!
( part of my source )

Karsten
2 REPLIES 2
Helen French
Honored Contributor

Re: pstat_getproc()

Hi,

There is a patch for the pstat function in 11.0 - PHKL_26008. Try applying this patch. That may help you.

HTH,
Shiju
Life is a promise, fulfill it!
Stephen Keane
Honored Contributor

Re: pstat_getproc()

Don't try and get all the results in one hit, instead do them in batches. See the pstat man page for details in how to batch the results. The pstat interface has to cache its answers somewhere and that space is limited. If you try and pull back too many resulys at the same time, you'll get the error you described.