Getting Command line on HP-UX

Hello,

I am using following call to get command line argument.

pstat(PSTAT_GETCOMMANDLINE, pu, MAX_PATH_LEN, 1,
m_ProcessStruct.pst_pid)

Can anybody tell me what is the maximux size of command line arg
that can be obtained with this call ?

I have read in the release notes of HP-UX

Patch Name: PHKL_31932

Patch Description: s700_800 11.00 pstat patch, long command line storage

Can anybody tell me what is maximum size supported after this patch ?

Regards,
Rucha

The old default was 60 chars, new value 1020
ftp://us-ffs.external.hp.com/hp-ux\_patches/s700\_800/11.X/PHKL_31932.txt

Hey thanks a lot !! :slight_smile: