[问题]ps -aux 和 ps aux有何区别?

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
askme
帖子: 45
注册时间: 2007-07-08 15:24

[问题]ps -aux 和 ps aux有何区别?

#1

帖子 askme » 2007-09-01 10:43

如题,一直没搞明白。
谢谢!
头像
BigSnake.NET
帖子: 12522
注册时间: 2006-07-02 11:16
来自: 廣州
联系:

#2

帖子 BigSnake.NET » 2007-09-01 12:12

看上去没区别
^_^ ~~~
要理解递归,首先要理解递归。

地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
lisir
帖子: 1187
注册时间: 2006-04-29 14:54
来自: 山东
联系:

#3

帖子 lisir » 2007-09-01 12:39

代码: 全选

man ps
Note that "ps -aux" is distinct from "ps aux". The POSIX and UNIX standards require that "ps -aux" print all
processes owned by a user named "x", as well as printing all processes that would be selected by the -a option. If
the user named "x" does not exist, this ps may interpret the command as "ps aux" instead and print a warning. This
behavior is intended to aid in transitioning old scripts and habits. It is fragile, subject to change, and thus
should not be relied upon.
学会看置顶帖、精华帖。
学会使用搜索。
常见问题解答和发帖需知
回复