💿
Openlitespeed & Cyberpanel
  • Linux Debugging
    • Desk Space Debugging
    • Checked Failed Services
    • Debug Memory Usage
  • Openlitespeed Web Admin
    • List Users
    • Update Password
  • Cyberpanel Setup
    • Installing Cyberpanel
    • Remove Port 8090 from URL
    • Folder permissions in CyberPanel
    • Redirect one domain to another
  • Customizing Cyberpanel
    • Customize Login Page
    • Customize Home Page Title
    • Customize Dashboard UI
  • SSL Debugging
  • DKIM Debugging
  • Setup Mailserver
Powered by GitBook
On this page
  • Check Disk Space
  • Check for Large Files or Directories
  • Check directory sizes inside a specific path
  1. Linux Debugging

Desk Space Debugging

Check Disk Space

Ensure that there is enough free disk space on the system. You can check disk space using the df command:

df -h

Check for Large Files or Directories

Run the following command to find large files and directories on the root filesystem:

sudo du -h / | grep '^[0-9\.]\+G'

Check directory sizes inside a specific path

Run the following command to find large files and directories on the specified directory:

sudo du -h --max-depth=1 /home/username/documents

check file sizes and sort by size

sudo du -h --max-depth=1 /home/username/documents | sort -h

Removing a directory and it's content

rm -r /path/to/directory

Last updated 1 year ago