首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Linux: ps -awx与ps -awwx

Linux: ps -awx与ps -awwx
EN

Server Fault用户
提问于 2011-02-07 20:49:27
回答 2查看 4.3K关注 0票数 5

有人知道ps -awx vs. ps -awwx的区别吗?

我正在跟踪一些进程,当我添加一个额外的"w“时,我会看到更多的信息。在其他情况下(例如SSH调试),当您发出多个"v“时,输出越”详细“,这种工作是否类似?我在手册里没有看到关于这件事的任何东西。

EN

回答 2

Server Fault用户

回答已采纳

发布于 2011-02-07 20:55:33

查询手册页(man ps):

代码语言:javascript
复制
 -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命令有些简洁/不那么具体,但类似于:

代码语言:javascript
复制
        -w              Wide output. Use this option twice for unlimited width.
票数 9
EN

Server Fault用户

发布于 2011-02-07 20:54:13

-w开关要求使用宽输出,但宽度有限。使用-ww表示要使用无限宽度的输出,这样您就可以看到包含了多少次的命令的完整命令行。添加额外的ws超过2没有任何影响。

票数 4
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/232355

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档