You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

\n \n \n \n \n \n \n \n \n \n \n \n \n
Related DocumentationVersion of up.time \naffectedAffected Platforms
\nAllWindows
\n \n

The Windows agent gathers data by using Windows performance counters. When the monitoring station polls the up.time agent, the agent requests the required data from the performance counters, parses the appropriate information and returns the requested information to the monitoring station.

\n \n

Since the up.time agent uses the performance counters to collect statistics, the memory consumed by the Windows counters is associated with the up.time agent binary. However, the memory is actually being consumed by the Windows operating system, which maintains the built-in performance counters.

\n \n

Memory usage is generally only noticeable in large systems that are running hundreds of processes at any given time. The up.time agent registers the process performance counter that stores historical data for each process. Storing this information causes the RSS and memory size to increase so as the number of processes running on the system grows, the memory size and RSS will follow accordingly.

\n \n

This scenario can be demonstrated by using standard Windows performance tools. Running perfmon.exe and loading all the appropriate process counters will recreate the same memory variant that you see with the up.time agent because the agent uses the same counters. The permon.exe utility will spawn a child process (mmc.exe) that will show the memory being consumed by the performance counters.

\n \n

NOTE: Any tool that uses Windows performance counters will experience the same issue.

\n \n

Recreating the scenario using perfmon.exe

\n

Load perfmon.exe and add the counters listed below. After the counters have been successfully added, you can use up.time to monitor the memory usage growth.

\n \n

Performance Counters

\n

CPU

\n
    \n
  1. Processor(_Total)% User Time
  2. \n
  3. Processor(_Total)% Privileged Time
  4. \n
  5. Processor(_Total)% Interrupt Time
  6. \n
  7. MemoryAvailable KBytes
  8. \n
  9. Paging File(_Total)% Usage
  10. \n
  11. SystemProcessor Queue Length
  12. \n
  13. MemoryCache Faults/sec
  14. \n
  15. MemoryPages Output/sec
  16. \n
  17. MemoryPage Writes/sec
  18. \n
  19. MemoryPages/sec
  20. \n
  21. MemoryPages Input/sec
  22. \n
  23. MemoryPage Faults/sec
  24. \n
  25. MemoryTransition Faults/sec
  26. \n
  27. SystemProcesses
  28. \n
  29. SystemSystem Calls/sec
  30. \n
\n \n

Disk

\n
    \n
  1. PhysicalDisk(<diskname>)% Disk Time
  2. \n
  3. PhysicalDisk(<diskname>)Current Disk Queue Length
  4. \n
  5. PhysicalDisk(<diskname>)Disk Transfers/sec
  6. \n
  7. PhysicalDisk(<diskname>)Avg. Transfers/sec
  8. \n
  9. PhysicalDisk(<diskname>)Disk bytes/sec
  10. \n
  11. PhysicalDisk(<diskname>)Avg. Disk sec/Transfer
  12. \n
\n \n

Network

\n
    \n
  1. NetworkInterface(<interface>)Bytes Received/sec
  2. \n
  3. NetworkInterface(<interface>)Bytes Sent/sec
  4. \n
  5. NetworkInterface(<interface>)Packets Received Errors
  6. \n
  7. NetworkInterface(<interface>)Packets Outbound Errors
  8. \n
  9. TCPSegments Retransmitted/sec
  10. \n
\n \n

Process

\n
    \n
  1. Process(<processname>)ID Process
  2. \n
  3. Process(<processname>)Creating Process IF
  4. \n
  5. Process(<processname>)Virtual Bytes
  6. \n
  7. Process(<processname>)Working Set
  8. \n
  9. Process(<processname>)% Processor Time
  10. \n
  11. Process(<processname>)Elapsed Time
  12. \n
\n \n

Exchange Counters

\n
    \n
  1. MSExchange Web MailMessages send per sec
  2. \n
  3. MSExchange Web MailAuthentications per sec
  4. \n
  5. MSExchangeIMAP4Connections Current
  6. \n
  7. MSExchangePOP3Connections Current
  8. \n
  9. SMTP RoutingConnectionCount
  10. \n
  11. SMTP ServerBytes Sent/sec
  12. \n
  13. SMTP ServerBytes Received/sec
  14. \n
  15. SMTP ServerBytes Total/sec
  16. \n
  17. SMTP ServerLocal Queue Length
  18. \n
  19. SMTP ServerMessages Sent/sec
  20. \n
  21. SMTP ServerInbound Connections Current
  22. \n
  23. SMTP ServerOutbound Connections Current
  24. \n
  25. SMTP Connection Errors/sec
  26. \n
\n \n

SQL Server Counters

\n
    \n
  1. SQLServer:General StatisticsUser Connections
  2. \n
  3. SQLServer:LocksLock Waits/sec
  4. \n
  5. SQLServer:LocksLock Requests/sec
  6. \n
  7. SQLServer:LocksAverage Wait Time(ms)
  8. \n
  9. SQLServer:DatabasesTransactions/sec
  10. \n
  11. SQLServer:DatabasesData File(s) Size(KB)
  12. \n
  13. SQLServer:LatchesTotal Latch Wait Time(ms)
  14. \n
  15. SQLServer:LatchesLatch Waits/sec
  16. \n
  17. SQLServer:Average Latch Wait Time(ms)
  18. \n
  19. SQLServer:Memory ManagerMaximum Workspace Memory(KB)
  20. \n
  21. SQLServer:Memory ManagerGranted Workspace Memory(KB)
  22. \n
  23. SQLServer:Memory ManagerSQL Cache Memory(KB)
  24. \n
  25. SQLServer:Memory ManagerTotal Server Memory(KB)
  26. \n
\n
  • No labels