On 10.2 on the other hand, the value seems to be about the same no matter how many seconds I sleep before letting the command run, and there's all those letters suggesting that the number is probably a hexadecimal value. ![]() So on 10.3, the HIDIdleTime is pretty recognizable: move the decimal to the left 9 times and you get 2.9., which is about right. Observe a 10.2 machine: $ sw_versProductName: Mac OS XProductVersion: 10.2.8BuildVersion: 6R73$ sleep 2 ioreg -c IOHIDSystem | grep HIDIdleTime|sed 's#.*"HID#"HID#'"HIDIdleTime" = "HIDIdleTime" = "HIDIdleTime" = "HIDIdleTime" = $Īnd here's the same commands on a 10.3 machine: $ sw_versProductName: Mac OS XProductVersion: 10.3.3BuildVersion: 7F44$ sleep 3 ioreg -c IOHIDSystem | grep HIDIdleTime|sed 's#.*"HID#"HID#'"HIDIdleTime" = 2930089953"HIDIdleTime" = 2932857364"HIDIdleTime" = 2935033969"HIDIdleTime" = 2936912079"HIDIdleTime" = 2939724019"HIDIdleTime" = 2941758207"HIDIdleTime" = 2943638209"HIDIdleTime" = 2952352977 ![]() ![]() ![]() Yes, the ioreg subsystem is keeping track of time differently between 10.2.x and 10.3.x.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |