有人知道ps -awx vs. ps -awwx的区别吗?
我正在跟踪一些进程,当我添加一个额外的"w“时,我会看到更多的信息。在其他情况下(例如SSH调试),当您发出多个"v“时,输出越”详细“,这种工作是否类似?我在手册里没有看到关于这件事的任何东西。
发布于 2011-02-07 20:55:33
查询手册页(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.请注意,上面的内容来自BSD手册。debian命令有些简洁/不那么具体,但类似于:
-w Wide output. Use this option twice for unlimited width.发布于 2011-02-07 20:54:13
-w开关要求使用宽输出,但宽度有限。使用-ww表示要使用无限宽度的输出,这样您就可以看到包含了多少次的命令的完整命令行。添加额外的ws超过2没有任何影响。
https://serverfault.com/questions/232355
复制相似问题