Is it possible to hide process args from 'ps -ef'?? (Recap)

Guy Harris guy at auspex.auspex.com
Tue Apr 23 04:20:45 AEST 1991


>...nor would it do any good, since running "ps" won't automagically increase
>the size of the string stashed in the ublock.

Well, no, it won't increase the size of the string stored there, but
that doesn't mean it wouldn't necessarily do any good; the reason for
"w" and "ww" in the BSD "ps" is that the BSD "ps" normally truncates the
entire line at 80 columns, by chopping the command off, and "w" and "ww"
increase the amount of command line printed.

A quick look at the S5R3.0 "ps" indicates that if the "-l" flag is
given, the string in the u area is chopped off at 35 characters rather
than PSARGSZ characters, so a "w" flag might be useful there as well.



More information about the Comp.unix.wizards mailing list