Daniel Widdis

Results 321 comments of Daniel Widdis

I just took a grand tour of almost every GitHub issue regarding this, and think I've cracked this nut. [This comment](https://github.com/giampaolo/psutil/issues/1892#issuecomment-748491277) pointing to the clockrate.hz field is relevant, but the...

> @dbwiddis FYI I went down this rabbit hole in https://github.com/shirou/gopsutil/pull/999/files Indeed, and yours was one of the ones I visited in my grand tour, but I wasn't sure why...

Hey @BitesPotatoBacks ... thanks for the cool info. First thread I've seen that on. I don't actually have an M1 to test on so I'm having to rely on output...

I guess I'll do that then. In the sample output I only saw a voltage-states5-sram value, ~not one for voltage-states1-sram~ (found it). Is that normal? Are these documented anywhere?

Similar question asked in #2076. From what I can tell, there is facility in psutil to use a custom `/proc` path for various proc plugins that give container-level results.

Windows doesn't provide accurate boot time in any of its API functions. Essentially they don't handle hibernate/sleep time well and the event log is the only "accurate" way of getting...

The negative value for free is probably a result of the calculation in #1927. Root cause is probably that these numbers are fetched from [`GlobalMemoryStatusEx()`](https://docs.microsoft.com/en-us/windows/win32/api/sysinfoapi/ns-sysinfoapi-memorystatusex) which is documented as returning...

> * Are there reliable cross platform ways to determine this information? Or will it require maintaining a database, or asking the OS vendors to provide an API to query...

> Do you provide that on a per-cpu basis? Depends on what you mean by "cpu" here. :) For my purposes, I created a new `PhysicalProcessor` object (representing a core)....