question

Lars-4078 avatar image
0 Votes"
Lars-4078 asked Lars-4078 commented

Display CPU usage and diskpartitions bginfo

Hello all
I would like to use bginfo to display the CPU usage. But I can't find a WMI query for this. Or do I have to do this somehow differently?

Also I want to display the hard disks and partitions with the respective drive letter and size.

Is it possible to do both? If yes, I would be very glad for help!

Greetings Lars

windows-sysinternals-bginfo
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

cooldadtx avatar image
0 Votes"
cooldadtx answered Lars-4078 commented

BGInfo is for displaying a background image on the desktop. It cannot be dynamically updated. What happens is that BGInfo loads the data you want to show and creates a bitmap. Then it merges the bitmap into your current background (or uses a static background depending upon your settings). Hence it is not dynamic and without taking a perf hit you aren't going to be able to keep it up to date. To be honest Task Manager and/or Process Explorer can show this same information in the sys tray so I don't see why you would need to do that anyway.

The same goes for disk space and info as far as BGInfo goes. You can do it via a WMI query but it is not going to be kept up to date. It'll run the query at startup (I believe) and then be static from there. Nevertheless you can use WMI to get the data you need but you'll need to create a separate query for each drive so, again, not automatic.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Wow, what a super great answer! I am a complete beginner when it comes to bginfo and just got an order which I should do with it.

It's good to know that there are practically only static displays, which makes sense.

Anyway, thanks a lot for your great help!

0 Votes 0 ·