Jump to content
[[Template core/front/profile/profileHeader is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

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...