Viewing Disk Space Breakdown on Accounts?

Jeff75

Well-Known Member
Apr 11, 2003
555
0
166
Is it possible to see how much space an account is using with their MySQL Databases and Email Accounts?

It would be nice if it would show this information in the list of accounts in WHM instead of just the total amount of space used.

cPanel.net Support Ticket Number:
 

ciphervendor

Well-Known Member
Aug 26, 2002
1,050
0
166
Specific disk usage should be contained to cPanel only. WHM should provide generals--if you start to add mysql usage, email usage, etc. you start to bog your machine down when someone access WHM.

cPanel.net Support Ticket Number:
 

Jeff75

Well-Known Member
Apr 11, 2003
555
0
166
Is there anyway to view the amount of space taken up with email accounts in cPanel?

The problem I have with logging into cPanel is that is records my hostname for my clients to see. Then they wonder why someone else has logged into their control panel. So what I do is go into their home directory via SSH, copy their hostname, log into their cPanel, edit the .lastlogin file and replace my hostname with theirs which is a real PITA.

Do you know if there's a way to make it so when an admin logs in with the root password it will not replace the hostname? I've tried looking through the files but it looks like the files I need to edit in order to do this are encoded.

cPanel.net Support Ticket Number:
 

ciphervendor

Well-Known Member
Aug 26, 2002
1,050
0
166
You can either log into the persons control panel to view email usage or do it via shell.

Also, if you use https://domain.com:2083 with the clients username & root pass then your IPs reverse dns won't be shown.

cPanel.net Support Ticket Number:
 

Jeff75

Well-Known Member
Apr 11, 2003
555
0
166
I tried logging into an account via https://www.domain.com:2083 but it didn't work. It just came up with a server not found error. Do you know what I need to do to get it to work?

Thanks for the help!

cPanel.net Support Ticket Number:
 

Damian

Well-Known Member
Oct 1, 2001
115
9
318
If you want to view the disk usage of a mail account the following command will do it for you:

du -sch ~username/mail/domain.com/mailbox

where username is the domain username, domain.com is the client domain and mailbox is the POP username.

e.g. [email protected] (CP login: mydom) would be:

du -sch ~mydom/mail/mydomain.com/john

If you want to access the client control panel and not have your log in recorded chattr +i the .lastlogin file in their home directory before you login and then chattr -i it again once your done.

chattr +i ~username/.lastlogin

cPanel.net Support Ticket Number:
 

Website Rob

Well-Known Member
Mar 23, 2002
1,501
1
318
Alberta, Canada
cPanel Access Level
Root Administrator
Originally posted by Jeff75
I tried logging into an account via https://www.domain.com:2083 but it didn't work. It just came up with a server not found error. Do you know what I need to do to get it to work?

Thanks for the help!
https://domain.com:2083/ should work in any Browser, if it doesn't you may have other problems you are not aware of. This is by far, the easiest method as it shows: Last login from localhost -- which many do not even pay attention to.

cPanel.net Support Ticket Number:
 

casey

Well-Known Member
Jan 17, 2003
2,288
0
191
Originally posted by Jeff75
I tried logging into an account via https://www.domain.com:2083 but it didn't work. It just came up with a server not found error. Do you know what I need to do to get it to work?

Thanks for the help!

cPanel.net Support Ticket Number:
Are you running a firewall on your server? You probably have 2083 blocked.

cPanel.net Support Ticket Number: