[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Tempo de execução de programa



Mauro..

Essas informações sobre tempo de processo estão na task_struct, no kernel.

Com LKM é trivial obter essas informações, mas em user-mode:

"The short answer is no, POSIX does not provide a system call to get the
start time of a process, so there is not simple standard way to get this
information across unixes."

http://simons-clan.com/~msimons/proc


Se você procurar, deve haver alguma forma. Senão, kernel-mode é a solução.



Até +


--
[]s
Erick

Reply to: