gen:disk-100
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
gen:disk-100 [2025/06/24 00:19] – kirtisingh | gen:disk-100 [2025/06/24 01:16] (current) – kirtisingh | ||
---|---|---|---|
Line 24: | Line 24: | ||
Once you have successfully logged in, you can run various commands as detailed below. First time after logging in when you run these commands, you will be prompted to enter your password | Once you have successfully logged in, you can run various commands as detailed below. First time after logging in when you run these commands, you will be prompted to enter your password | ||
- | **Command : wp-cl-spacemgr-disk-usage** - It shows the current disk used in %age terms | + | **Command : wp-cl-spacemgr-disk-usage** - It shows the current/ |
< | < | ||
wp-cl-spacemgr-disk-usage disk-used | wp-cl-spacemgr-disk-usage disk-used | ||
</ | </ | ||
+ | **Command : wp-cl-spacemgr-usage-breakup** - It shows the output similar to N99panel' | ||
+ | < | ||
+ | wp-cl-spacemgr-usage-breakup usage-breakup | ||
+ | </ | ||
+ | |||
+ | **Command : wp-cl-spacemgr-usage-genstats** - It lets you generate stats. After running the below command, the output presented by the above mentioned command, would be more accurate. Same would also reflect in N99panel' | ||
+ | < | ||
+ | wp-cl-spacemgr-usage-genstats genstats | ||
+ | </ | ||
+ | |||
+ | **Command : wp-cl-spacemgr-list-files** - It shows the list of large files. This command has various options | ||
+ | < | ||
+ | wp-cl-spacemgr-list-files list-files | ||
+ | </ | ||
+ | The above command shows list of files which are above 100 MB (default value) | ||
+ | |||
+ | < | ||
+ | wp-cl-spacemgr-list-files -s 150 list-files | ||
+ | </ | ||
+ | The above command shows list of files which are above 150 MB | ||
+ | |||
+ | < | ||
+ | wp-cl-spacemgr-list-files -u user1 list-files | ||
+ | </ | ||
+ | The above command shows list of files user the user directory /home/user1 and which are above 100 MB | ||
+ | |||
+ | < | ||
+ | wp-cl-spacemgr-list-files -extns " | ||
+ | </ | ||
+ | The above command shows a list of files having extension log and zip | ||
+ | |||
+ | Well, we can combine all the above switches to locate files very specifically. Like for example if I need to look for files greater than 50 MB, under /home/user1 and having extension log or zip, the relevant command would be | ||
+ | < | ||
+ | wp-cl-spacemgr-list-files -u user1 -s 50 -extns " | ||
+ | </ | ||
+ | |||
+ | **Command : wp-cl-spacemgr-remove-file** - It lets you remove a specific file from the system. | ||
+ | < | ||
+ | wp-cl-spacemgr-remove-file -f / | ||
+ | </ | ||
+ | |||
+ | **Command : wp-cl-spacemgr-list-ibkps** - This command shows the disk used for incremental backups for the respective VHost/ | ||
+ | < | ||
+ | wp-cl-spacemgr-list-ibkps list | ||
+ | </ | ||
+ | |||
+ | **Command : wp-cl-spacemgr-remove-ibkp** - This command allows you to purge/ | ||
+ | < | ||
+ | wp-cl-spacemgr-remove-ibkp -v test-cl0099-cl0001.pwh-r1.com purge | ||
+ | </ | ||
+ | |||
+ | **Command : wp-cl-spacemgr-clear-journal** - This command allows you to purge/ | ||
+ | < | ||
+ | wp-cl-spacemgr-clear-journal clear | ||
+ | </ | ||
+ | |||
+ | After running any of the above removal command(s), please re-check the system disk usage by using the command **wp-cl-spacemgr-usage-breakup usage-breakup** | ||
+ | |||
+ | //Please use proper due diligence and care when running above commands. N99panel team or its staff is not responsible for these commands usage and their effect(s) // | ||
gen/disk-100.1750724383.txt.gz · Last modified: 2025/06/24 00:19 by kirtisingh