Get uptime in seconds or miliseconds on Unix like systems

前端 未结 2 2017
别那么骄傲
别那么骄傲 2021-01-26 20:18

I need a method which can give me the number of miliseconds or seconds, elapsed since the system was started. I could parse /proc/uptime , but i can\'t afford to lo

2条回答
提交回复
热议问题