# What disk usage metrics does the df -k command show for a given path on a Linux system?

**URL:** <https://community.dynatrace.com/t/what-disk-usage-metrics-does-the-df-k-command-show-for-a-given-path-on-a-linux-system/53171>\
**Category:** Dashboarding\
**Tags:** dynatrace-managed, disks, hosts-classic\
**Created:** [September 1, 2025, 5:17am UTC](https://community.dynatrace.com/t/what-disk-usage-metrics-does-the-df-k-command-show-for-a-given-path-on-a-linux-system/53171 "2025-09-01T05:17:46Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arunkumarbnp](https://avatars.discourse-cdn.com/v4/letter/a/d26b3c/32.png) [@Arunkumarbnp](https://community.dynatrace.com/u/Arunkumarbnp)\
**Post date:** [September 1, 2025, 5:17am UTC](https://community.dynatrace.com/t/what-disk-usage-metrics-does-the-df-k-command-show-for-a-given-path-on-a-linux-system/53171/1 "2025-09-01T05:17:46Z")

</div>

what metrics displays disk utilization of disk path in linux host for the command df -k

---

<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:** [September 1, 2025, 6:55am UTC](https://community.dynatrace.com/t/what-disk-usage-metrics-does-the-df-k-command-show-for-a-given-path-on-a-linux-system/53171/2 "2025-09-01T06:55:32Z")

</div>

Hi,

You can check [here](https://docs.dynatrace.com/docs/shortlink/built-in-metrics-on-grail#disk) disk metrics provided by OneAgent.

Best regards

---

<div class="post-metadata">

**Author:** ![Yosi\_Neuman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/yosi_neuman/32/9845_2.png) [@Yosi\_Neuman](https://community.dynatrace.com/u/Yosi_Neuman)\
**Post date:** [September 6, 2025, 8:44am UTC](https://community.dynatrace.com/t/what-disk-usage-metrics-does-the-df-k-command-show-for-a-given-path-on-a-linux-system/53171/3 "2025-09-06T08:44:03Z")

</div>

Hi&nbsp;[@Arunkumarbnp](https://community.dynatrace.com/user/87029)

IMO you can try and play around with the metrics&nbsp;[@AntonPineiro](https://community.dynatrace.com/user/58682)&nbsp;point to, put them together in a dashboard, something like:

```markup
builtin:host.disk.used:filter(and(or(in("dt.entity.host",entitySelector("type(host),osType(~"LINUX~")"))))):splitBy("dt.entity.host","dt.entity.disk"):names:sort(dimension("dt.entity.host.name",descending)) 
+ builtin:host.disk.avail:filter(and(or(in("dt.entity.host",entitySelector("type(host),osType(~"LINUX~")"))))):splitBy("dt.entity.host","dt.entity.disk"):names:sort(dimension("dt.entity.host.name",descending))

```

```markup
builtin:host.disk.used:filter(and(or(in("dt.entity.host",entitySelector("type(host),osType(~"LINUX~")"))))):splitBy("dt.entity.host","dt.entity.disk"):names:sort(dimension("dt.entity.host.name",descending))

```

```markup
builtin:host.disk.avail:filter(and(or(in("dt.entity.host",entitySelector("type(host),osType(~"LINUX~")"))))):splitBy("dt.entity.host","dt.entity.disk"):names:sort(dimension("dt.entity.host.name",descending))

```

```markup
builtin:host.disk.free:filter(and(or(in("dt.entity.host",entitySelector("type(host),osType(~"LINUX~")"))))):splitBy("dt.entity.host","dt.entity.disk"):names:sort(dimension("dt.entity.host.name",descending))

```

and get the follows

 ![Yosi_Neuman_1-1757147813330.png](https://global.discourse-cdn.com/dynatrace/original/3X/1/a/1a8287e63fb69583a4c53a2912f420535a094bcd.png)

 ![Yosi_Neuman_2-1757147847736.png](https://global.discourse-cdn.com/dynatrace/original/3X/1/8/1847de3c612be72d0d261cdc0f9f310f9f24daf5.png)

And also upgrade it to a new dashboard

 ![Yosi_Neuman_3-1757148222161.png](https://global.discourse-cdn.com/dynatrace/original/3X/a/5/a53705b7fad63b7a898145f7ec916a48e3b28389.png)

HTH

Yos

---

<div class="post-metadata">

**Author:** ![Arunkumarbnp](https://avatars.discourse-cdn.com/v4/letter/a/d26b3c/32.png) [@Arunkumarbnp](https://community.dynatrace.com/u/Arunkumarbnp)\
**Post date:** [September 8, 2025, 6:26am UTC](https://community.dynatrace.com/t/what-disk-usage-metrics-does-the-df-k-command-show-for-a-given-path-on-a-linux-system/53171/4 "2025-09-08T06:26:54Z")

</div>

[@Yosi\_Neuman](https://community.dynatrace.com/user/6931)&nbsp;thank you for your answer.

Is it possible to view this data in dynatrace by default instead of dashboard creation?

---

<div class="post-metadata">

**Author:** ![Yosi\_Neuman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/yosi_neuman/32/9845_2.png) [@Yosi\_Neuman](https://community.dynatrace.com/u/Yosi_Neuman)\
**Post date:** [September 8, 2025, 7:31pm UTC](https://community.dynatrace.com/t/what-disk-usage-metrics-does-the-df-k-command-show-for-a-given-path-on-a-linux-system/53171/5 "2025-09-08T19:31:40Z")

</div>

Hi&nbsp;[@Arunkumarbnp](https://community.dynatrace.com/user/87029)

Not sure that I understand your question but take a look at the analyze disk part of hosts classic

 ![Yosi_Neuman_0-1757359712017.png](https://global.discourse-cdn.com/dynatrace/original/3X/b/f/bfd1a4e7c0f534ca34c2534390a4db7c4565455c.png)

Or add the [Disk Analytics](https://www.dynatrace.com/hub/detail/disk-analytics/) extension and check its dashboard

 ![Yosi_Neuman_1-1757359777107.png](https://global.discourse-cdn.com/dynatrace/original/3X/7/1/71b03c9a94dde2fa9bf12fd1a6df0afa7b9a32de.png)

HTH

Yos

---

<div class="post-metadata">

**Author:** ![Arunkumarbnp](https://avatars.discourse-cdn.com/v4/letter/a/d26b3c/32.png) [@Arunkumarbnp](https://community.dynatrace.com/u/Arunkumarbnp)\
**Post date:** [September 17, 2025, 8:14am UTC](https://community.dynatrace.com/t/what-disk-usage-metrics-does-the-df-k-command-show-for-a-given-path-on-a-linux-system/53171/6 "2025-09-17T08:14:27Z")

</div>

[@Yosi\_Neuman](https://community.dynatrace.com/user/6931)&nbsp;Thanks for your answer&nbsp;  
Can this table be shared as data to users via email on a sheduled time?

---

<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:** [September 17, 2025, 8:41am UTC](https://community.dynatrace.com/t/what-disk-usage-metrics-does-the-df-k-command-show-for-a-given-path-on-a-linux-system/53171/7 "2025-09-17T08:41:54Z")

</div>

Hi,

I would suggest you checking Notebooks + Workflows using Grail.

Best regards
