ps -aux VS ps aux
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.
Date: 2013-04-16 Tue
HTML generated by org-mode 6.33x in emacs 23
本文详细解释了ps-aux与psaux命令的区别,特别关注了POSIX和UNIX标准下它们的输出行为。对于不存在指定用户名的情况,文章阐述了命令可能的行为变化,旨在帮助用户平滑过渡到新规范,同时也指出该行为的脆弱性和易变性。

被折叠的 条评论
为什么被折叠?



