This page applies to an earlier version of the AppDynamics App IQ Platform.
For documentation on the latest version, see the 4.4 Documentation.
On this page:
Watch the video:
Sometimes environmental conditions cause trouble on the machines where your application runs. Issues that occur outside monitored application code don't show up on transaction snapshots. Machine snapshots provide critical details about CPU usage, memory usage, and the IIS queue on a server at a specific moment in time. Use the data in machine snapshots to uncover and resolve environmental problems.
AppDynamics generates machine snapshots to capture the state of a server at a specific moment in time. The machine snapshots show the processes running on the machine, the IIS application pool activity, and any related transaction snapshots. By default the .NET Machine Agent takes machine snapshots under the following conditions:
- Periodic collection: The agent takes one snapshot every 10 minutes.
- Breached thresholds: The .NET Machine agent takes samples of machine statistics every 10 seconds within a 10 minute window. For each sample, the agent checks the CPU percent usage, the memory percent usage, and oldest item in the IIS application pool queue. The agent flags a sample as a violation when the current usage meets or exceeds one of the following thresholds:
CPU at 80% or higher
Memory at 80% or higher
- IIS application pool queue item older than 100 milliseconds
To customize the periodic collection or threshold settings, see Configure Machine Snapshots for .NET.
The .NET Machine Agent requires the following conditions to return machine snapshot data for IIS application pools:
- IIS 7 or later
- Enable the Request Monitor for the IIS Health Monitoring feature.
To enable Request Monitor from the Windows PowerShell command line, launch PowerShell as an administrator and run the following command:
Working With Machine Snapshots
The Machine Snapshot tab on the application dashboard lists all the snapshots for the selected time range. Entries for individual snapshots show the following:
- Time the .NET Machine Agent took the snapshot
- Machine name for the snapshot
- Snapshot trigger, either periodic snapshot collection or threshold exceeded
- Percent CPU usage
- Percent memory usage
Use Filters to limit the snapshot list to a specific snapshot trigger:
- Periodic collection
- Memory events
- CPU events
- IIS events
- Machines where the agent took snapshots
- Archived snapshots
Double-click a snapshot to open the Machine Snapshot window:
- The Processes tab shows information similar to that from the Windows Task Manager, including the following:
- Process id
- Process name
- Process description
- Percent CPU used by the process
- Percent memory used by the process
Click a column heading to sort by the column. For example, click CPU % and sort descending to identify processes using the most CPU.
- The IIS App Pools tab shows information on the active IIS application pools:
- Application pool name
- Arrivals to the queue per second
Queue requests processed per second
Age of the oldest item in the queue
- The Transaction Snapshots tab displays all transaction snapshots involving the current machine for five minutes prior to and five minutes after the machine snapshot. This demonstrates how current environmental factors are affecting your business transaction performance. For example, when CPU usage is high, you may discover slow and stalled transactions.
Double-click a transaction snapshot to open it.