加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

Linux:ps -awx与ps -awwx

发布时间:2020-12-13 16:42:06 所属栏目:Linux 来源:网络整理
导读:有谁知道ps -awx与ps -awwx的区别? 我正在追踪一些流程,当我添加额外的“w”时,我会看到更多的信息.当你发出多个“v”时,这是否像其他情况一样(例如SSH调试),输出越“详细”?我在手册页中没有看到任何关于此的内容. 解决方法 手册页(man ps): -w Use 132
有谁知道ps -awx与ps -awwx的区别?

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

解决方法

手册页(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.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读