Hello,
You can use following command to exclude a particular directory while using #du -sch
#du -sch /* --exclude=home
--
Joan N
Linux Support Engineer.
Nixtree Solutions
Managed Full Server Backups
https://www.nixtree.com/managed-backups.php
Follow us on : https://twitter.com/nixtree
Search found 10 matches
- Sun Jun 03, 2018 4:43 pm
- Forum: Hosting Control Panels
- Topic: Disk usage check in detail
- Replies: 6
- Views: 55534
- Sun Jun 03, 2018 4:33 pm
- Forum: Hosting Control Panels
- Topic: Disk usage check in detail
- Replies: 6
- Views: 55534
Re: Disk usage check in detail
Hi, You can use following command to check the disk usage of a directory in detail. #du -sch /directory/* It will show the disk usage of the files and sub directories under this directory. -- Joan N Linux Support Engineer. Nixtree Solutions Managed Full Server Backups https://www.nixtree.com/managed...
- Sat Jun 02, 2018 8:20 pm
- Forum: Hosting Control Panels
- Topic: How to change timezone in the server
- Replies: 3
- Views: 10802
Re: How to change timezone in the server
Always welcome.
- Sat Jun 02, 2018 8:14 pm
- Forum: Hosting Control Panels
- Topic: How to change timezone in the server
- Replies: 3
- Views: 10802
Re: How to change timezone in the server
Hello, For changing the PHP time zone, 1. First locate the loaded PHP INI file using the command #php --ini 2. Open it using any text editor Eg: vi /usr/local/lib/php.ini 3. Find "date.timezone =" in the file. Then add the timezone there like below, date.timezone = "America/New_York&q...
- Sat Jun 02, 2018 6:43 pm
- Forum: Hosting Control Panels
- Topic: How to turn off AutoSSL notifications send to users
- Replies: 4
- Views: 12109
Re: How to turn off AutoSSL notifications send to users
Hello, Always welcome. Also you can use following script provided by cPanel. #!/bin/bash /bin/ls -1 /var/cpanel/users | while read USER; do /bin/echo "Now processing ${USER} ..." /usr/bin/cpapi2 --user=${USER} CustInfo savecontactinfo notify_autossl_expiry_coverage=0 notify_autossl_renewal...
- Sat Jun 02, 2018 6:34 pm
- Forum: Hosting Control Panels
- Topic: How to turn off AutoSSL notifications send to users
- Replies: 4
- Views: 12109
Re: How to turn off AutoSSL notifications send to users
Hello, We have several ways to do that. Please have a look at the steps mentioning below. Both of them are doing via WHM panel. 1. Disable notifications via WHM Manage AutoSSL: ===================================== Home »SSL/TLS »Manage AutoSSL 1. Select the Options tab 2. Remove the check for the n...
- Sun Apr 29, 2018 9:57 am
- Forum: Hosting Control Panels
- Topic: How to find a domain's server name
- Replies: 4
- Views: 12287
Re: How to find a domain's server name
No mention. For a quick response you can also use #telnet example.com 587.
- Sun Apr 29, 2018 9:50 am
- Forum: Hosting Control Panels
- Topic: How to find a domain's server name
- Replies: 4
- Views: 12287
Re: How to find a domain's server name
Normally telnet to SMTP port will display the hostname of the server unless it is not disabled in the configuration.So you can use #telnet example.com 25
- Sun Apr 29, 2018 8:29 am
- Forum: Hosting Control Panels
- Topic: Disk space is almost full
- Replies: 3
- Views: 10605
Re: Disk space is almost full
Always welcome.
- Sun Apr 29, 2018 8:24 am
- Forum: Hosting Control Panels
- Topic: Disk space is almost full
- Replies: 3
- Views: 10605
Re: Disk space is almost full
Try #du -sch /var/lib/mysql/* |grep G this command. There is a chance in high disk usage by databases like eximstats and tortix in the server with ASL. So this command will show the higher disk using databases. If it shows /var/lib/mysql/tortix then run #/var/asl/bin/database-setup. It would take a ...