Home
last modified time | relevance | path

Searched hist:"8 f9f7b4a" (Results 1 – 1 of 1) sorted by relevance

/freebsd/usr.bin/procstat/
H A Dprocstat_auxv.c8f9f7b4a Mon Oct 16 16:53:53 GMT 2023 Brooks Davis <brooks@FreeBSD.org> procstat auxv: widen COMM column to MAXCOMLEN

For reasons unknown, procstat subcommands typically display the command
in a 16+overflow column format. However, the command may be up to
MAXCOMLEN (19) characters long causing the column to spill into the next
one. Since there's plenty of room in the auxv case, bump the column
width up to 19 to avoid this issue. While this is a format change 1)
users who want to parse the data should use libxo output and 2) this
makes it possible to parse reliably with cut.

Reviewed by: markj
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D42202
8f9f7b4a Mon Oct 16 16:53:53 GMT 2023 Brooks Davis <brooks@FreeBSD.org> procstat auxv: widen COMM column to MAXCOMLEN

For reasons unknown, procstat subcommands typically display the command
in a 16+overflow column format. However, the command may be up to
MAXCOMLEN (19) characters long causing the column to spill into the next
one. Since there's plenty of room in the auxv case, bump the column
width up to 19 to avoid this issue. While this is a format change 1)
users who want to parse the data should use libxo output and 2) this
makes it possible to parse reliably with cut.

Reviewed by: markj
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D42202