JustinK

Well-Known Member
Sep 4, 2001
251
0
316
Read through the threads, but didn't find the answers to the questions users are asking me. Going to do some manual testing if no one knows the answer, but I thought I'd ask first just so I could answer the customers sooner.

Bandwidth in WHM is calculated from FTP, POP3, and HTTP access (IMAP now too or no?) however my clients are starting to pick at those and want more exact answers as to what parts of those are calculated. Is it incoming traffic, outgoing traffic or both for FTP that's calculated? With popmail, is the bandwidth calculated when the mail arrives or just when it's downloaded (I assume just downloaded as receiving is more of an SMTP thing, but I'm just making sure here)?

I appreciate any help answering those questions. :)
 

mikerayner

Well-Known Member
Apr 10, 2002
188
0
316
There is a longer thread with similar topic &Bandwidth calculation&
Please click on the link:
http://forums.cpanel.net/read.php?TID=3259
 

JustinK

Well-Known Member
Sep 4, 2001
251
0
316
Read that and a couple other ones when I did a few searches, but it didn't contain the info the clients were looking for. Guess I'll just have to do some testing and see what happens.
 

mikerayner

Well-Known Member
Apr 10, 2002
188
0
316
[quote:a61e20df9d][i:a61e20df9d]Originally posted by JustinK[/i:a61e20df9d]

Read through the threads, but didn't find the answers to the questions users are asking me. Going to do some manual testing if no one knows the answer, but I thought I'd ask first just so I could answer the customers sooner.

Bandwidth in WHM is calculated from FTP, POP3, and HTTP access (IMAP now too or no?) however my clients are starting to pick at those and want more exact answers as to what parts of those are calculated. Is it incoming traffic, outgoing traffic or both for FTP that's calculated? With popmail, is the bandwidth calculated when the mail arrives or just when it's downloaded (I assume just downloaded as receiving is more of an SMTP thing, but I'm just making sure here)?

I appreciate any help answering those questions. :)[/quote:a61e20df9d]
bandwidth = 'inbound' plus 'outbound'
 

techid

Member
Aug 5, 2002
24
0
151
I came accross a script that runs within Shell.. When running it will display the traffic a user is using on ALL ports and from what I can tell is very accurate. It has no logging feature, but I was thinking, if a logging option could be added could it not report to the bytes log thus providing a more robust bandwidth monitoring solution rather then just HTTP POP3 FTP?

Just my two cents.. don't know if it is possible.. but it can't hurt to find out..
 

mikerayner

Well-Known Member
Apr 10, 2002
188
0
316
[quote:0ddde44d59][i:0ddde44d59]Originally posted by techid[/i:0ddde44d59]

I came accross a script that runs within Shell.. When running it will display the traffic a user is using on ALL ports and from what I can tell is very accurate. It has no logging feature, but I was thinking, if a logging option could be added could it not report to the bytes log thus providing a more robust bandwidth monitoring solution rather then just HTTP POP3 FTP?

Just my two cents.. don't know if it is possible.. but it can't hurt to find out..

[/quote:0ddde44d59]
Please click on the link to go to appropriate thread :
http://forums.cpanel.net/read.php?TID=4519
 

techid

Member
Aug 5, 2002
24
0
151
I don't see the relevance between what I mentioned and that post...

Yes I understand how WHM calculates bandwidth…
Yes I know how Bandmin works…
This script I am talking about parses /proc/net/tcp and /proc/net/udp to provide the user (running the script) with an overview of per-user bandwidth usage plus some other information about the connections at that time.

I am just saying if we can take the realtime per-user bandwidth usage that this script produces and somewhat report it into the bytes log or where ever WHM calculates bandwidth would it not give almost a 100% accurate report of a per-user (not per IP)bandwidth report using ALL ports instead of just HTTP, POP3, FTP.