Detecting total and free disk/memory space

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: RobinSword (schwortschik_at_gmx-dot-de.no-spam.invalid)
Date: 02/28/05


Date: 28 Feb 2005 03:43:00 -0600

Hi there!

I want my VB.NET-program to detect the total and used amount of disk
space and memory of the system. How can I do that?
I know there is WMI, but I don't know which SELECT-Statement I have to
build in order to get these information.

Best regards
RobinSword

 Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
    ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
                http://www.usenet.com



Relevant Pages

  • Re: limiting Buf memory
    ... that 110MB of memory is comprised of backing store from the disk which is in the Active or Inactive states. ... It varies based mostly upon the specific tasks being run because it consists mainly the of read-only pure TEXT segments, so there is only one copy underlying in physical RAM, even if multiple instances of a process are running. ... If you really want to reduce the amount of RAM the system uses, you can set hw.physmem="256M" or whatever in /boot/loader.conf to force the system to not use all of the physical RAM available. ...
    (freebsd-questions)
  • Re: [ext3][kernels >= 2.6.20.7 at least] KDE going comatose when FS is under heavy write load (massi
    ... boot-time test to use a ratio if the memory is small and an amount if it's great? ... correlation between "lots of memory" and "high-end machine", and that in turn tends to correlate with "fast disk", so I don't think the percentage approach is really *horribly* wrong. ... This would typically mean either one 50mb (depending on disk) contigous block or 100-200 scattered blocks. ...
    (Linux-Kernel)
  • Re: Descreasing the amount of RAM that Store.exe uses.
    ... paging to disk. ... reduce the amount of memory that store.exe is using?". ... using 100% of my RAM memory is not why I posed the question. ... RAM, which is going to be very fast, rather than only use say, half the RAM, ...
    (microsoft.public.exchange.admin)
  • Re: SLUB performance regression vs SLAB
    ... You repeatedly read zeros from a smaller disk into the same amount of ... memory, and sort that as if it were real data instead. ...
    (Linux-Kernel)
  • Re: Detecting total and free disk/memory space
    ... > I want my VB.NET-program to detect the total and used amount of disk ... > space and memory of the system. ... M S Herfried K. Wagner ...
    (microsoft.public.dotnet.languages.vb)