如何运行该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:~$
Run Code Online (Sandbox Code Playgroud)
有时它比top; 不知道为什么ps不在路径中,因为它是全新安装。看起来很奇怪。
我怎样才能ps正常工作?
似乎您有一个别名 from pstopsql导致错误。
而不是运行ps尝试运行:
/bin/ps或者
\ps如果问题确实是alias- 运行unalias ps将暂时删除别名,然后运行ps将正常运行。