Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: how to read system usage(memory, cpu etc) from java code

23 Jan 2014   #1
kashili

Windows 7
 
 
how to read system usage(memory, cpu etc) from java code

I am reading memory usage (etc) from proc file system in linux.
Trying to do the same on windows7; i know I can get system usage data (CPU, memory) from windows task manager.

1)However I want to read such information programmatically in Java (now I read various ACPI, IPMI and process related files from proc files in linux). How can I read similarly in windows 7

2)I would like to read more than CPU and memory (ex: power, fan, temperature etc). Where to access such info and how to read them from java code

If there is file interface to all the system info (as in linux), I know I can open file in Java. Not sure if that is how it is supported in windows or differently


My System SpecsSystem Spec
.
23 Jan 2014   #2
logicearth

Windows 10 Pro (x64)
 
 

My System SpecsSystem Spec
23 Jan 2014   #3
kashili

Windows 7
 
 

woow. Fantastic link-thank you
My System SpecsSystem Spec
.

Reply

 how to read system usage(memory, cpu etc) from java code




Thread Tools




Similar help and support threads
Thread Forum
Do Memory Cleaners improve the memory usage and performance?
I am currently using MemClean and it not only decreases my memory use but it also seems to improve the general performance of Windows and apps. Is this really the case or is it just my impression?
Software
chkdsk high memory usage / memory leak
Has anyone else noticed that chkdsk uses all available physical memory (if you let it run long enough)? I find that if I run chkdsk and watch the memory usage in task manager it jumps by about 50MB every 2 seconds or so until it either finishes or hits around 3.2GB at which point my physical...
Performance & Maintenance
General Win7 memory leak and Unknown memory usage?
So I've had this problem for a few months with my thinkpad x220, win7 home premium 64 bit. I used ccleaner, run memtest86 multiple times, chkdsk multiple times, sfc scan multiple times, none that helped. Sfc always detects errors but always cannot fix some of them. I have mse, avast, and...
Performance & Maintenance
High CPU usage java se binary
Really need some help here guys if you can. Ok i will start with the fact that there is a software that i use which uses java. It's been running fine until today. whenever i open the application i get a warning come up on the bottom right hand of the screen saying that java se binary is using a cpu...
Performance & Maintenance
Windows 7 random CPU usage and high physical memory usage!!!
Ok, I am literally KILLING myself over this! I installed Windows 7 64Bit over XP around a month ago and it was so good that I recommended it to my brother who was previously on XP too. We got him a copy of the 32bit version as he has only 2gb of memory, and he installed it on his machine....
Performance & Maintenance


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 15:29.
Twitter Facebook Google+