Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. India
  4. Caputuring data in qt in windows
Forum Updated to NodeBB v4.3 + New Features

Caputuring data in qt in windows

Scheduled Pinned Locked Moved India
4 Posts 2 Posters 2.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vikchh00gmail.com
    wrote on last edited by
    #1

    Friends, how do I capture system resources usage (like total/used/free RAM, hard disk space, last login detail, shutdown time, boot time, start time,end time,%cpu,%mem of any application(most important)) in windows through code in Qt, I mean which library or DLL to download from where? How I use that in Qt?

    It will be good if someone give answer in detail with small example. I'm new to programming.

    I'm able to capure totam ram and free ram like this

    MEMORYSTATUSEX memory_status;
    ZeroMemory(&memory_status, sizeof(MEMORYSTATUSEX));
    memory_status.dwLength = sizeof(MEMORYSTATUSEX);
    if (GlobalMemoryStatusEx(&memory_status))
    {
    int q=memory_status.ullTotalPhys/(1024 * 1024);
    int q1=memory_status.ullAvailPhys/(1024 * 1024);
    }

    1 Reply Last reply
    0
    • IamSumitI Offline
      IamSumitI Offline
      IamSumit
      wrote on last edited by
      #2

      hii
      http://www.codeproject.com/Articles/3921/Disk-free-space

      (Edited:Use Native API-MSDN for all information)

      Be Cute

      1 Reply Last reply
      0
      • V Offline
        V Offline
        vikchh00gmail.com
        wrote on last edited by
        #3

        hi,
        how to get start time,end time,%cpu,%mem of any application(like firefox) in windows in qt code

        1 Reply Last reply
        0
        • V Offline
          V Offline
          vikchh00gmail.com
          wrote on last edited by
          #4

          hi
          how to get start time,end time,%cpu,%mem of any application(like firefox) in windows in qt code

          [quote author="IamSumit" date="1403699138"]hii
          http://www.codeproject.com/Articles/3921/Disk-free-space

          (Edited:Use Native API-MSDN for all information)[/quote]

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved