Modify

Opened 8 years ago

Closed 6 years ago

Last modified 4 years ago

#6445 closed enhancement (fixed)

ps cut the lines at fixed width

Reported by: o462 Owned by: developers
Priority: low Milestone: Barrier Breaker 14.07
Component: base system Version: Kamikaze 8.09
Keywords: ps Cc: jonathan@…

Description

The busybox 'ps' command included in OpenWRT cuts the lines at a fixed width, preventing the user to see the full output either by having a wide terminal or redirecting the output to a file or pager.

Attachments (0)

Change History (3)

comment:1 Changed 6 years ago by answ

Yes it's an old bug, nobody wants to fix it. Still presents in Backfire.

A workaround is to install procps (by force). This includes a standard ps.

Another workaround is the following script:

pgrep ssh | while read a; do
echo -n $a" "
cat /proc/$a/cmdline | tr "\0" " "
echo
done

Where ssh is the process we want to grep from ps output.

comment:2 Changed 6 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

'ps ww' is supported in trunk by default

comment:3 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.