On Thu, Jul 17, 2008 at 12:19 PM, Michael ODonnell <
[EMAIL PROTECTED]> wrote:

>
>
> >> If they know the PID in question this might work:
> >>
> >>   xargs -0 < /proc/$PID/cmdline
> >>
> >
> > Apparently /proc/$PID/cmdline only holds 4096 characters as well
> > (on RHEL5 at least).
>
> Now that you mention it I think that might be a hard
> system limit.  Can you demonstrate that the command line
> as presented to the app hasn't been truncated to 4096 by
> the kernel's exec code?  I suspect not.
>
> (and a 4k command line seems heinous, anyway...)
>  <http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/>
>

4k is obscenely  heinous. These are java apps that call and exec other jar
files, etc., so the ps output is extremely long. I did manage to get
everything by doing ps eaufww. It shows the exec tree, and gave them exactly
what they needed (I guess).

Thanks,
Kenny
_______________________________________________
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/

Reply via email to