- Products
 - Learn
 - Local User Groups
 - Partners
 - More
 
Access Control and Threat Prevention Best Practices
5 November @ 5pm CET / 11am ET
Firewall Uptime, Reimagined
How AIOps Simplifies Operations and Prevents Outages
Overlap in Security Validation
Help us to understand your needs better
CheckMates Go:
Spark Management Portal and More!
A long time ago I ran into a simple program called treesize which allows you to run it in any directory and will give you a listing of the directories with the amount of KB/MB/GB is used in that directory.
run : vi /usr/bin/treesize
and paste this content:
du -k --max-depth=1 | sort -nr | awk '
       BEGIN {
              split("KB,MB,GB,TB", Units, ",");
       }
       {
            u = 1;
            while ($1 >= 1024) {
                     $1 = $1 / 1024;
                     u += 1
            }
           $1 = sprintf("%.1f %s", $1, Units[u]);
           print $0;
     }
    '
Close vi and execute: chmod +x /usr/bin/treesize
About CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY