Hello Team
I am looking for Relevance to get the output of df -khP /home on linux machines …
Relevance can’t get data directly from a command output. You would need to create a fixlet/task that would run the command with the output directed to a file and then you could use relevance to parse the file to retrieve the information that you need. I’m not really a Linux person but something like this maybe as a starting point
Action
wait bash -c "df -khP /home > /tmp/outputfile"
Property
lines whose (it as lowercase contains "/home") of files "/tmp/outputfile"
Thank you for your reply …
Or you could write a relevance for it.
Check following thread for inspiration
https://forum.bigfix.com/t/disk-space-utilization-report-for-linux-and-aix/23953
Thank you Roman for your Reply, sure will check and will come back to you if needed… Thank you