View Single Post

   
  #3 (permalink)  
Old 02-15-2008, 05:46 PM
sam
 
Posts: n/a
Default Re: Length of PS command arguments

Hi -
here's an example
sco 5.06
on a given session type

grep aaaa bbbb cccc dddd eeeee fffff gggg hhhh iiii jjjj kkkk llll mmmm
nnnn ooo pppp qqqq rrrr sssss tttt uuuu vvvv www xxxx yyyyy zzzzz

go to another session an type either of the following

ps -ef | grep grep
or
ps -e -o pid -o args

the grep command will show "truncated" at about mmmm

changing the PSRGSZ assignment in /usr/include/sys/user.h has no
effect. (relinked & rebootted) - I guess I'd need the source or
makefile for the 'ps' command.

I was curious if there is an alternative (some file where these args
are kept, or some other - maybe gnu - utility that does tha same thing)
for Sco 5.x (5.0.6 in my case)

Reply With Quote