From f618a471fcd694c0e66fb05d4e78900bb05c7b7f Mon Sep 17 00:00:00 2001
From: "James E. Blair" <jim@acmegating.com>
Date: Wed, 25 Sep 2024 09:53:08 -0700
Subject: [PATCH] Include filesystem stats in dstat

This counts the open file handles and inodes.  This may be useful
(after establishing a baseline) for evaluating ulimit errors.

Change-Id: I6d5c67d7c5c03d4aa7cd88b2238163cc729d9782
---
 roles/run-dstat/tasks/main.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/roles/run-dstat/tasks/main.yaml b/roles/run-dstat/tasks/main.yaml
index 3dcf99283..da9874ebb 100644
--- a/roles/run-dstat/tasks/main.yaml
+++ b/roles/run-dstat/tasks/main.yaml
@@ -9,7 +9,7 @@
   loop_control:
     loop_var: zj_distro_os
 - name: Run dstat
-  shell: "dstat -tcmndrylpg --tcp --output {{ dstat_data_path }} >& /dev/null &"
+  shell: "dstat -tcmndrylpg --tcp --fs --output {{ dstat_data_path }} >& /dev/null &"
   args:
     executable: /bin/bash
   failed_when: false