我需要解释一下ps -ef命令的四个字段(4或0),这个数字的含义是什么 THX yael
root 27116 27112 4 15:25 pts / 0 00:00:00 grep -qsRw -m1 monitohhhhhhhr / var
root 29017 27113 0 15:25 pts / 0 00:00:00 grep qsRw -m1
答案 0 :(得分:1)
它们应该是进程标志。来自this page(ps手册页):
The sum of these values is displayed in the "F" column, which is provided by the flags output specifier. 1 forked but didn't exec 4 used super-user privileges
零,我想,这将是一个正常的过程。
答案 1 :(得分:0)
此信息可在ps(1)的手册中找到:
C processor utilization. Currently, this is the integer value of the percent usage over the lifetime of the process. (see %cpu)