sam
2006-02-06 23:17:17 UTC
in 5.06 and 5.07 the ps command reports the 'args' with only up to 80
chars (or 79) width.
I am often looking for a command whos args are many and exceed the 80
char width limitation in the 'ps -o args' or ps -f.
I found a blog that talks about
/usr/include/sys/user.h
there is a #define PSARGSZ 80
in there that could supposedly be changed to something wider (i tried
254)
then I relinked the kernel (and rebooted - for those who might think
I'm stupid)
but - ps -o args, and ps -f, still truncate the 'args' portion of the
listing to 80 chars.
any suggestions?
any one know of a different command (maybe one of the gnu utils) to
list processes?
anyone know how to get the OS to consider /usr/include/sys and rebuild
the ps command?
any ideas at all?
(I do have the full development system as well as the full gnu-tools
5.07Kj as well
as gwxlibs200Eb).
thx
chars (or 79) width.
I am often looking for a command whos args are many and exceed the 80
char width limitation in the 'ps -o args' or ps -f.
I found a blog that talks about
/usr/include/sys/user.h
there is a #define PSARGSZ 80
in there that could supposedly be changed to something wider (i tried
254)
then I relinked the kernel (and rebooted - for those who might think
I'm stupid)
but - ps -o args, and ps -f, still truncate the 'args' portion of the
listing to 80 chars.
any suggestions?
any one know of a different command (maybe one of the gnu utils) to
list processes?
anyone know how to get the OS to consider /usr/include/sys and rebuild
the ps command?
any ideas at all?
(I do have the full development system as well as the full gnu-tools
5.07Kj as well
as gwxlibs200Eb).
thx