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
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
Have high CPU usage and Memory usage
Hi. I was using my laptop a few days ago. I left to go out and came back about an hour later. I notice my CPU usage was running @ 100% & the memory @ 80%.My laptop just stopped. I went into safe mode and that is where I am currently . I have deleted almost everything I don't use(didn't...
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
increased memory usage with added memory - why?
I just built a new computer and started with 8GB of memory. A few weeks down the line I purchased another set of the same memory because it was on such a good deal and had great reviews (newegg). It also was working well for me, so I figured maybe more could be better. I haven't noticed any...
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 22:15.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App