我如何运行ps
公用事业?
thufir@arrakis:~$
thufir@arrakis:~$ ps -aux
The program 'psql' is currently not installed. You can install it by typing:
sudo apt install postgresql-client-common
You will have to enable the component called 'main'
thufir@arrakis:~$
thufir@arrakis:~$
thufir@arrakis:~$ ps aux
The program 'psql' is currently not installed. You can install it by typing:
sudo apt install postgresql-client-common
You will have to enable the component called 'main'
thufir@arrakis:~$
有时它比更适用top
;不知道为什么ps
不在小路因为它是一个干净的安装。看起来很奇怪。
我怎样才能使其ps
正常工作?
答案1
看起来您有一个导致ps
错误psql
的别名。
不要运行,ps
尝试运行:
/bin/ps
或者
\ps
如果问题确实存在alias
,则运行unalias ps
将暂时删除别名,之后运行ps
将正常运行。