VLS*_*VLS 59 windows linux ubuntu
我检查htop
了系统上正在运行的内容,发现/看到了一些我不知道是什么的东西,Windows Desktop
并且explorer.exe
. 我使用的是 Ubuntu Linux,这台笔记本电脑上没有 Windows。
这是过程的图像
我怎样才能知道这些是什么?
~$ ps -aux | grep "explorer.exe\|services.exe"
root 3110 0.0 0.0 2645728 352 ? Ssl 06:45 0:00 C:\windows\system32\services.exe
root 3413 0.0 0.0 2658592 1440 ? Ssl 06:45 0:00 C:\windows\system32\explorer.exe /desktop
root 20817 0.0 0.0 14360 2408 pts/4 S+ 15:20 0:00 grep --color=auto explorer.exe\|services.exe
Run Code Online (Sandbox Code Playgroud)
kar*_*rel 50
一些在 Wine 中运行的 Windows 应用程序或 Wine 的前端(如 PlayOnLinux 或 Crossover)在关闭后让 explorer.exe 和其他 Windows 可执行文件保持打开状态。尝试一一运行您的一些 Wine 应用程序,并在关闭它们后在 htop 中检查 explorer.exe。
或者在终端中运行这个命令:
ps -aux | grep "explorer.exe\|services.exe"
Run Code Online (Sandbox Code Playgroud)
您问题中的两个Windows进程已经运行了8个多小时。可能它们在 Ubuntu 启动后就一直在运行。杀死 explorer.exe 和 services.exe 的 PID,然后检查这两个进程是否返回。要杀死问题示例中 explorer.exe 和 services.exe 的 PID,请使用以下命令:
kill 3413 3110
Run Code Online (Sandbox Code Playgroud)
运行上述命令的结果显示,两个Windows进程自启动以来一直在运行。打开内置的启动应用程序应用程序,其中显示操作系统中所有附加启动程序的列表。
启动应用程序在附加启动程序列表中仅显示一个正常的 Ubuntu 启动程序。下次启动 Ubuntu 后立即运行以下命令以显示哪个进程派生了什么,以便您可以更好地了解哪个进程正在调用您的两个 Windows 进程。
ps auxf
Run Code Online (Sandbox Code Playgroud)
Rad*_*bík 18
查看/proc
文件系统:
ls -l /proc/3413/exe
Run Code Online (Sandbox Code Playgroud)
它将向您显示该过程的二进制文件。在目录下,有更多提供有用信息的伪文件,另一个有用的是cmd
,
cat /proc/3413/cmd
Run Code Online (Sandbox Code Playgroud)
为您提供用于启动进程的参数(如果有)。
归档时间: |
|
查看次数: |
8969 次 |
最近记录: |