我从linux中的C++程序启动程序,如下所示:
char* cmd = "/bin/snmpd &"; // command to execute
FILE* pipe = popen(cmd, "r"); // pipe to command line
if (!pipe) return -1; // check if pipe worked
pclose(pipe); // close pipe
return 1;
下面是在我的系统上安装的许多映像的列表。我不知道为什么会有这么多。为什么自动催促论不能解决这个烂摊子?请告诉我为什么会发生这种事。我是否在不知情的情况下安装或启用了某些设置?谢谢。
ii linux-image-5.11.0-25-generic 5.11.0-25.27~20.04.1 amd64 Signed kernel image generic
ii linux-image-5.11.0-27-generic 5.11.0-27.29~20.04.1