Jump to content

ITNerdShy

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

My Information

  • Agent Count
    1000 - 1500 Agents
  1. Hey guys, I am working on a script that will output the top 20 folders / files in Linux volumes when a drive space alert is generated. I was looking to get some assistance with the regex to find the match the Linux volumes from the shell commands below: df -h awk '$6 -- "/db" {print $5}' tr -d '%\n' df -h awk '$6 -- "/" {print $5}' tr -d '%\n' df -h awk '$6 -- "/data" {print $5}' tr -d '%\n' /data So far i have \/[a-z]+ but it will find all volumes except "/". Any ideas?
×
×
  • Create New...