adb shell cat /proc/uptime 中的第一個數字,
adb shell cat "/proc/uptime"
210.79 312.76
或者是
kernel
struct timespec uptime;
get_monotonic_boottime(&uptime);
((unsigned long) uptime.tv_sec
adb shell cat /proc/uptime 中的第一個數字,
adb shell cat "/proc/uptime"
210.79 312.76
或者是
kernel
struct timespec uptime;
get_monotonic_boottime(&uptime);
((unsigned long) uptime.tv_sec