这些Linux系统调用是什么来获取指定进程的一些信息

时间:2015-04-12 03:20:11

标签: linux process system call

我正在Linux中编写一个系统调用来获取指定进程的数据。

,例如process's start timethe numbers of siblings of the process

虽然我发现task_struct包含了我需要的大量数据,例如start_time

或者我可以打电话 getpid() 获取进程ID,

我仍然不知道如何通过给定的进程ID获取指定进程的start_time,兄弟数量或任何其他信息。

0 个答案:

没有答案