我想检查我所拥有的pid进程是否是从内核扩展运行的。在用户空间中,这很简单:printf("Process %d is running\n", pid);printf("Process %d is not running\n", pid);printf("This shouldn't happen oO\n");
但是,在内
如何从通过getRuntime().exec运行的二进制文件中获取pid。我想从/data/data/com.tes.tes/binary得到pidMyExecShell("/data/data/com.tes.tes/binary");
for (int i = 0; i < list.size(); ++i) {
Log.d("