How to find large files after Detection Server Disk full alerts
search cancel

How to find large files after Detection Server Disk full alerts

book

Article ID: 376917

calendar_today

Updated On:

Products

Data Loss Prevention

Issue/Introduction

Detection server alerts that the disk is almost full or full 

Cause

windows server 

RHEL

Resolution

In windows open up powershell in administrator mode run 

Get-ChildItem c:\ -r| sort -descending -property length | select -first 10 name, Length

In Linux you can use the du command to show folder usage in decending order 

du -kx / | sort -n 

Additional Information

Tip. When accessing some directories even with the administrator privileges, the Get-ChildItem cmdlet can return an access denied error:

To suppress such errors, use the -ErrorAction SilentlyContinue parameter.

Use the -Force option to display hidden and system files that are not accessible to the user.