# Paging File monitor

**URL:** <https://community.dynatrace.com/t/paging-file-monitor/34625>\
**Category:** Alerting\
**Tags:** anomaly-detection, problems-classic\
**Created:** [March 25, 2022, 1:03pm UTC](https://community.dynatrace.com/t/paging-file-monitor/34625 "2022-03-25T13:03:23Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![ssamraj](https://avatars.discourse-cdn.com/v4/letter/s/ecae2f/32.png) [@ssamraj](https://community.dynatrace.com/u/ssamraj)\
**Post date:** [March 25, 2022, 1:03pm UTC](https://community.dynatrace.com/t/paging-file-monitor/34625/1 "2022-03-25T13:03:23Z")

</div>

Hi Team,

Is it possible to monitor Paging File in windows server using DT one agent? Interest is , when Page File Name is “\_Total” and alert when it’s usage breaches threshold of 90%.

Many thanks,

Srikanth Samraj

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [March 25, 2022, 7:57pm UTC](https://community.dynatrace.com/t/paging-file-monitor/34625/2 "2022-03-25T19:57:40Z")

</div>

You should be able to get the information that you want at the system level. In the host section, you should select memory and then “Swap usage”:

 ![AntonioSousa_0-1648238211643.png](https://global.discourse-cdn.com/dynatrace/original/3X/c/3/c3e0e65b88184317435fdc102a2add2c06ddbe63.png)

If you want to setup alerts, you should use the metric: builtin:host.mem.swap.used

---

<div class="post-metadata">

**Author:** ![Rick\_Lee](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@Rick\_Lee](https://community.dynatrace.com/u/Rick_Lee)\
**Post date:** [June 30, 2023, 7:49pm UTC](https://community.dynatrace.com/t/paging-file-monitor/34625/3 "2023-06-30T19:49:20Z")

</div>

Please note, in system admin swap alerting is based on percentage, any chance Dynatrace can make this a calculated metric out of box with percentage value? thanks!

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [July 2, 2023, 9:44pm UTC](https://community.dynatrace.com/t/paging-file-monitor/34625/4 "2023-07-02T21:44:23Z")

</div>

Hi,

Since you have these two metrics:

- builtin:host.mem.swap.used
- builtin:host.mem.swap.total

I think you can create your own [metric selector event](https://www.dynatrace.com/support/help/shortlink/metric-events-metric-selector-events):

```javascript
(builtin:host.mem.swap.used / builtin:host.mem.swap.total) * 100

```

Best regards

---

<div class="post-metadata">

**Author:** ![Rick\_Lee](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@Rick\_Lee](https://community.dynatrace.com/u/Rick_Lee)\
**Post date:** [July 4, 2023, 4:19pm UTC](https://community.dynatrace.com/t/paging-file-monitor/34625/5 "2023-07-04T16:19:36Z")

</div>

I dis-agree this is resolved, any Unix Admin started their training, the first command to learn is vmstat. everything shows from vmstats is in percentage format from the native Linux OS. even RedHat admin book has it on percentage. All other monitoring tools also monitoring via percentages, we are looking for a percentage presentation as base metric so we can alert on this metric.

---

<div class="post-metadata">

**Author:** ![aaronm](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@aaronm](https://community.dynatrace.com/u/aaronm)\
**Post date:** [July 4, 2023, 5:06pm UTC](https://community.dynatrace.com/t/paging-file-monitor/34625/6 "2023-07-04T17:06:19Z")

</div>

Hi Anton. The reason this is not an acceptable solution is because when creating a metric event using this calculation, we get the error “The number of metric dimension values in the last 24 hours (15448) exceeds the limit of 1000. Please refine the filter criteria or use a metric key based query definition.” In order to actually set up an alert for our entire environment based on SWAP %, we would need it to be a standalone metric. Please let us know if this is possible.

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [July 4, 2023, 9:44pm UTC](https://community.dynatrace.com/t/paging-file-monitor/34625/7 "2023-07-04T21:44:44Z")

</div>

Hi,

I do not see another way to do it. You can split scope and creating more than one metric, for example, per host groups.

If not, I would suggest to raise a [product idea](https://community.dynatrace.com/category/DynatraceProductIdeas) about it.

Best regards

---

<div class="post-metadata">

**Author:** ![ssamraj](https://avatars.discourse-cdn.com/v4/letter/s/ecae2f/32.png) [@ssamraj](https://community.dynatrace.com/u/ssamraj)\
**Post date:** [July 6, 2023, 11:39am UTC](https://community.dynatrace.com/t/paging-file-monitor/34625/8 "2023-07-06T11:39:05Z")

</div>

Hi,

I’ve submitted a product idea (30 days ago) to have swap space usage in %.

[https://community.dynatrace.com/t5/Product-ideas/Built-in-metric-to-calculate-swap-space-usage-in/idi-p/214040](https://community.dynatrace.com/post/214040)

---

<div class="post-metadata">

**Author:** ![Rick\_Lee](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@Rick\_Lee](https://community.dynatrace.com/u/Rick_Lee)\
**Post date:** [July 6, 2023, 5:39pm UTC](https://community.dynatrace.com/t/paging-file-monitor/34625/9 "2023-07-06T17:39:00Z")

</div>

That’s great! I will vote for it.

---

<div class="post-metadata">

**Author:** ![SrikanthSamraj](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@SrikanthSamraj](https://community.dynatrace.com/u/SrikanthSamraj)\
**Post date:** [June 28, 2024, 10:52am UTC](https://community.dynatrace.com/t/paging-file-monitor/34625/10 "2024-06-28T10:52:08Z")

</div>

When this option is available in remote agent (remote unix monitor), I don’t know why it is a challenge to be made available for hosts.

**ext:tech.RemoteAgent.swap\_used\_percent**
