Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Tool to monitor resource usage

Tool to monitor resource usage

Scheduled Pinned Locked Moved The Lounge
performancehelpquestionlearning
6 Posts 4 Posters 0 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.
  • W Offline
    W Offline
    Wim Jans
    wrote on last edited by
    #1

    Hello all, I'm having problems with what I believe is a resource problem. After I work a few hours with my computer and try to open whatever application, it fails to display the application. This can be anything from notepad to task manager, ...; sometimes jus tthe frame appears without the menu, something nothing happens, ... I've had a quick look at the available memory using taskmanager whenever that happens (had to close another app before I was able to run taskmanager though) and there's plenty of memory left (400M used of 1Gb). So I think it must be that I ran out of some kind of resource. Does anyone of you know a good (free) tool to monitor resources. Ideally it will split this out per application and dll's opened by the applicaton. And I would really be cool if it was able to show the application or dll that constantly takes more resources without freeing them. Or can it be something else? Memory related, ... ? I welcome any suggestion Thanks in advance Wim

    M G 2 Replies Last reply
    0
    • W Wim Jans

      Hello all, I'm having problems with what I believe is a resource problem. After I work a few hours with my computer and try to open whatever application, it fails to display the application. This can be anything from notepad to task manager, ...; sometimes jus tthe frame appears without the menu, something nothing happens, ... I've had a quick look at the available memory using taskmanager whenever that happens (had to close another app before I was able to run taskmanager though) and there's plenty of memory left (400M used of 1Gb). So I think it must be that I ran out of some kind of resource. Does anyone of you know a good (free) tool to monitor resources. Ideally it will split this out per application and dll's opened by the applicaton. And I would really be cool if it was able to show the application or dll that constantly takes more resources without freeing them. Or can it be something else? Memory related, ... ? I welcome any suggestion Thanks in advance Wim

      M Offline
      M Offline
      Marc Clifton
      wrote on last edited by
      #2

      Customer support question #1: what OS are you using? Customer support question #2: what programs are running in the background? Q #3: what services are loaded? Q #4: how many applications do you have running at one time? Q #5: what's your virtual memory setting at? Is that 1Gb including the VM, or only physical RAM. Q #6: what's your credit card # so I can charge you for customer support? :-D Marc MyXaml Advanced Unit Testing

      W 1 Reply Last reply
      0
      • M Marc Clifton

        Customer support question #1: what OS are you using? Customer support question #2: what programs are running in the background? Q #3: what services are loaded? Q #4: how many applications do you have running at one time? Q #5: what's your virtual memory setting at? Is that 1Gb including the VM, or only physical RAM. Q #6: what's your credit card # so I can charge you for customer support? :-D Marc MyXaml Advanced Unit Testing

        W Offline
        W Offline
        Wim Jans
        wrote on last edited by
        #3

        Dear Customer Support, It happens on Windows 2000 as well as XP. I suspect a particular program, therefor it would be nice if I could have a look at the resources it uses (really cool if the program keeps a history of the resource usage, so I can keep the program running for a few hours without having to manually monitor the resource usage). I typically have 5 programs running throughout the day. Memory is 1Gb physical. Wouldn't this be the ultimate program to demonstrate the power of MyXaml ;P

        M 1 Reply Last reply
        0
        • W Wim Jans

          Hello all, I'm having problems with what I believe is a resource problem. After I work a few hours with my computer and try to open whatever application, it fails to display the application. This can be anything from notepad to task manager, ...; sometimes jus tthe frame appears without the menu, something nothing happens, ... I've had a quick look at the available memory using taskmanager whenever that happens (had to close another app before I was able to run taskmanager though) and there's plenty of memory left (400M used of 1Gb). So I think it must be that I ran out of some kind of resource. Does anyone of you know a good (free) tool to monitor resources. Ideally it will split this out per application and dll's opened by the applicaton. And I would really be cool if it was able to show the application or dll that constantly takes more resources without freeing them. Or can it be something else? Memory related, ... ? I welcome any suggestion Thanks in advance Wim

          G Offline
          G Offline
          Graham Bradshaw
          wrote on last edited by
          #4

          Depends what you mean by 'resources'. For some basic monitoring, open up Task Manager, pick the Processes tab, and select View | Select Columns... Make sure Handle Count, GDI objects and USER objects are all ticked. You might also want to look at Memory Usage and Virtual Memory Size.

          W 1 Reply Last reply
          0
          • G Graham Bradshaw

            Depends what you mean by 'resources'. For some basic monitoring, open up Task Manager, pick the Processes tab, and select View | Select Columns... Make sure Handle Count, GDI objects and USER objects are all ticked. You might also want to look at Memory Usage and Virtual Memory Size.

            W Offline
            W Offline
            Wim Jans
            wrote on last edited by
            #5

            Thanks Graham, Exactly what I was looking for. 8 years (since Win95) of having task manager available and never thought of pressing that menu :-O :doh: Wim

            1 Reply Last reply
            0
            • W Wim Jans

              Dear Customer Support, It happens on Windows 2000 as well as XP. I suspect a particular program, therefor it would be nice if I could have a look at the resources it uses (really cool if the program keeps a history of the resource usage, so I can keep the program running for a few hours without having to manually monitor the resource usage). I typically have 5 programs running throughout the day. Memory is 1Gb physical. Wouldn't this be the ultimate program to demonstrate the power of MyXaml ;P

              M Offline
              M Offline
              Mike Dimmick
              wrote on last edited by
              #6

              Start > Settings > Control Panel, Administrative Tools, Performance. Go to the System Monitor node in the tree. If there are graphs already showing, you may want to click the New Counter Set button (first in the toolbar). Now click + (add), then in the Add Counters box, select the Process performance object, then Handle Count in the counters list and the process you want to monitor in the Instances list. Click OK. If you want to monitor over a longer time, you can use the logging features instead. Expand 'Performance Logs and Alerts' in the tree, then select Counter Logs. Right-click in the right-hand pane and choose New Log Settings. To view the logged data, use the System Monitor (click the cylinder toolbar button next to the chart button). It's incredible how few people know that Windows has built-in extensible monitoring of performance information. I'm currently looking into adding performance counters for our server application - not very easy in unmanaged code, but the .NET Framework has much simpler support through the System.Diagnostics.PerformanceCounter class. Stability. What an interesting concept. -- Chris Maunder

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups