- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
PuTTY terminal width: ps output
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
PuTTY terminal width: ps output
In a PuTTY terminal window, I am struggling to get ps to display the full command line for long commands, despite trying to override the output width. Ideally, I'd like to get ps to wrap. I tried:
ps axf --cols 300
The lines just get truncated at terminal width.
If I redirect to a file, no chopping of lines.
However, more <file> shows full lines wrapped, but, cat chops the ends off.
Any suggestions?
(note: my normal user account is aks)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PuTTY terminal width: ps output
Note, I also tried to get ps to ignore termnal width by adding w w :
ps axfww
Lines still chopped at terminal width.
(note: my normal user account is aks)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PuTTY terminal width: ps output
@aks-2 wrote:
Note, I also tried to get ps to ignore termnal width by adding w w :
ps axfwwLines still chopped at terminal width.
Odd, as I'm not seeing that. ps efx truncates, but ps efxww wraps.
Have you tried piping it through something else (for instance grep).
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PuTTY terminal width: ps output
I literally have no idea what's happened, I just retried all the combinations from yesterday, all wrap fine !
I did not reboot the ReadyNAS, but I have rebooted the PC (Win10). I was very confused as this obviously worked in the past, and I just started to wonder whether it was 'broken' by the recent patch/update.
I am running 6.10.5 Hotfix 1.
(note: my normal user account is aks)