跳到主要内容

htop 展示完整命令行

htop 展示完整命令

htop页面, 命令行特别长很难看到具体参数, 箭头移动也很麻烦.

picture 1

输入w快捷键, 可以查看完整的command.

picture 0

Ctrl+A可以跳转到命令行开头, Ctrl+E可以跳转到命令行结尾.

picture 2

How to configure htop to display the complete command line?

https://unix.stackexchange.com/questions/158839/how-to-configure-htop-to-display-the-complete-command-line

ps 展示完整命令行

Full command text with unix ps

https://superuser.com/questions/486648/full-command-text-with-unix-ps

Pipe the result into cat .. that'll ignore your terminal settings.

ps -f | cat