0% found this document useful (0 votes)
30 views

How to find the largest 10 files or directories in On-Premises (SecureSphere)_

The document provides instructions on how to find the largest 10 files or directories in On-Premises (SecureSphere) to manage disk space effectively. It explains that low disk space can cause data loss and provides CLI commands to identify the largest files and directories. Users can then remove unnecessary files to free up space.

Uploaded by

Phan Long
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views

How to find the largest 10 files or directories in On-Premises (SecureSphere)_

The document provides instructions on how to find the largest 10 files or directories in On-Premises (SecureSphere) to manage disk space effectively. It explains that low disk space can cause data loss and provides CLI commands to identify the largest files and directories. Users can then remove unnecessary files to free up space.

Uploaded by

Phan Long
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

How to find the largest 10 files or directories in On-Premises (SecureSphere)?

How to find the largest 10 files or directories in On-Premises (SecureSphere)?

How to find the largest 10 files or directories in On-Premises (SecureSphere)?


Last Updated Mar 06, 2024 1 minute read

Knowledgebase On-Premises WAF Database Activity Monitoring File Activity Monitoring Security for SharePoint

Customer

Explanation:
When a partition approaches full capacity in On-Premises (SecureSphere), it can lead to many issues. For example, a gateway may
receive the message “Minimum disk space reached, data is lost.”

Minimum disk space is defined by default to either 30% of the partition left (or minimum 24GB). When this happens, auditing will stop
and data may be lost.

Solution:
The CLI command df -kh will give you details on the partitions in On-Premises (SecureSphere) as shown below.

If you need to find which files or directories that are consuming the most space, you can use the following commands:

10 Largest Files
find . -type f -print0 | xargs -0 du | sort -n | tail -10 | cut -f2 | xargs -I{} du -sh {}

10 Largest Directories
find . -type d -print0 | xargs -0 du | sort -n | tail -10 | cut -f2 | xargs -I{} du -sh {}

Once the files that are consuming the space are identified, you can remove files that are not needed to free up disk space.

Welcome to Imperva! How can I


help you?

You might also like