473,706 Members | 2,051 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Memory Status

Does anyone know how i can get my available and total CPU memory status using
C#? Please help. :D badly needed for a part of my module for my thesis. Thank
You so so much!
Dec 2 '05 #1
1 2668
Look to the WMI.
System.Manageme nt namespace

--
Vadym Stetsyak aka Vadmyst
http://vadmyst.blogspot.com

"Rain" <Ra**@discussio ns.microsoft.co m> wrote in message
news:B2******** *************** ***********@mic rosoft.com...
Does anyone know how i can get my available and total CPU memory status
using
C#? Please help. :D badly needed for a part of my module for my thesis.
Thank
You so so much!

Dec 2 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1022
by: Adi Sapir | last post by:
I'm trying to get either Used or Free RAM on a specified machine. Thing is - I need to do it only through T-SQL (or SQL-DMO) and with no ability to access the machine through the network (which rules out WMI) Is there an option to do this? I've been searching for a while and could not find a solution. Thanks!
2
2294
by: Weston Fryatt | last post by:
(Sorry for spamming multiple groups, But I need a solution to this problem) I think this should be a simple question on Memory Allocation in a managed DLL and passing a memory pointer over to an unmanaged DLL. I have a "Unmanaged" Client DLL that I'm creating a Managed "wrapper" to be used in VB.Net and/or C#.. In the my Client DLL (unmanaged), There are several functions where I need to allocate a "client side" memory buffer to...
2
3167
by: MLH | last post by:
Am using code below to display memory status. Problem with 4th and 5th ones (dwTotalPageFile and dwAvailPageFile). They show up as NEGATIVE. Why might that be? 'xxxxxxxxxxxxxxxBEGIN SNIPPETxxxxxxxxxxxxx Private Type MEMORYSTATUS dwLength As Long dwMemoryLoad As Long
2
2459
by: doudehou | last post by:
Hi guys, I want to get the physical memory status, say, the total amount of physical memory, the free memory, and so on, from the javascript, is it a mission impossible? Thank you very much for your help ! ;-)
0
4220
by: masri999 | last post by:
When I executed DBCC Memory Status following are the out put Buffer Distribution Stolen 187191 Free 1026 Procedures 6698 Inram 0 Dirty 154661 Kept 0 I/O 0
12
8614
by: Tony | last post by:
Hi expert, I installed DB2 v8.2 server on Solaris 9 box. When I connect to DB2 using control centre or other applications(except command line), around 12 db2sysc processes pop up and each one consumes more than 2G memory(total 30G memory). The server only has 8G physical memory, so DB2 costs too many memory resources. I tried to reduce the appgroup_mem_sz and app_ctl_heap_sz, but it didn't work. What else can I do?
3
2333
by: James | last post by:
I realize the Garbage Collector does a lot of this for me, but I'm having trouble wrapping my head around something. We've been running into System.OutOfMemoryException on our production servers running ASP.NET 1.1.4322. It's very intermittent and I don't know exactly what's causing it. We do use a lot of a Session variables in our application and I'm wondering if it's possible that when our load is the heaviest, if we're storing large...
5
3711
by: pp | last post by:
hi, on window we can GlobalMemoryStatusEx() to get the memory status on the system do we have any equivalent function on Unix/linux? can we use BOOST library to memory information on the unix? please help me.
3
7105
by: Sonu | last post by:
Hello - I have the following code in my vb.net app and when it runs, the memory usage at the Windows Task Manager keeps increasing for the application and stops after a while. I'm using some bitmaps and sound in the program. How would I stop the size thing to increase! I went to these link already but I cannot fix this issue. http://msdn.microsoft.com/en-us/library/system.idisposable.aspx...
0
8779
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8695
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9282
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9048
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8987
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7900
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6614
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5937
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
3
2089
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.