linux ps查看进程显示的是用户ID而不是用户名是怎么回事?

2025-03-18 19:40:07
推荐回答(1个)
回答1:

man ps可以看到NOTES里有
If the length of the username is greater than the length of the display column, the numeric user ID is displayed instead.

你的用户名长度超过8个字符了

要配置,就定制你的输出格式了,man ps都有详细解释
要学会用man