Linux:ps -awx 与 ps -awwx

dre*_*ard 5 linux files process ps

有谁知道的区别ps -awx vs. ps -awwx

我正在跟踪一些进程,当我添加一个额外的“w”时,我看到了更多的信息。当您发出多个“v”时,这是否像在其他情况下(例如 SSH 调试)一样工作,输出越“详细”?我在手册页中没有看到任何关于此的内容。

vor*_*aq7 9

引用手册页 ( man ps):

 -w      Use 132 columns to display information, instead of the default which is your window
         size.  If the -w option is specified more than once, ps will use as many columns
         as necessary without regard for your window size.  
         When output is not to a terminal, an unlimited number of columns are always used.
Run Code Online (Sandbox Code Playgroud)

请注意,以上内容来自 BSD 联机帮助页。debian 联机帮助页更简洁/不那么具体,但类似:

        -w              Wide output. Use this option twice for unlimited width.
Run Code Online (Sandbox Code Playgroud)