how can i run bandwidth statistics for certain account manually ?

joelin

Active Member
Nov 7, 2006
28
0
151
hi,


i know the server will run the bandwidth statistics for all the account one by one,

but a user hope i can give him what he used now,


what command i can used to run bandwidth statistics for certain account manually instead of by corn ?


thanks a lot. :)
 

gupi

Well-Known Member
Apr 27, 2004
125
0
166
you should run (as root) the command:

/scripts/runweblogs accountname
 

joelin

Active Member
Nov 7, 2006
28
0
151
you should run (as root) the command:

/scripts/runweblogs accountname


Hi,gupi,

thanks for your replay first.


if i want to run the statistics for all the accounts on the server,

or run it for some accounts one time,

what command i can use?


thanks a lot. :)
 

gupi

Well-Known Member
Apr 27, 2004
125
0
166
so:
for a specific account you should run:
/scripts/runweblogs accountname

and for all accounts you should run:
/scripts/runlogsnow
 

joelin

Active Member
Nov 7, 2006
28
0
151
hi,

i use the command
you should run (as root) the command:

/scripts/runweblogs accountname
and it shows with
[email protected] [~]# /scripts/runweblogs ********
Log checker loaded ok..
==> WARNING: The configured processor count does not match the
==> actual processor count (8)! Running log analysis programs
==> on this system may cause excessive load! You should set "extracpus"
==> to "0" in /var/cpanel/cpanel.config if this is not ok.
==> cPanel Log Daemon version 22.2
==> Shared RRDTOOL support enabled
==> Starting cpbandwd (bandwidth monitoring for IMAP/POP)
cpbandwd is already running.
Processing ********...
Run Logs domain: ********.com BW Limit: 10485760000 Domains: []
Update status for /var/cpanel/bandwidth/********-http.rrd: (156)
Processing exim stats for ********.......Done
Update status for /var/cpanel/bandwidth/********-all.rrd: (156)
Archive Status: 0
About to fork for ******** [DOMAIN: ********.com]
Complete
[email protected] [~]#

and i check it from cpanel,

ir look likely the bandwidth does not change at all,

is it correct?


thanks a lot.
 

boeki

Active Member
Jan 30, 2004
32
0
156
tested this, too, and saw no changes in whm bandwidth page.

does emails from php scripts that are sent as nobody get counted, too?
 

leighj

Well-Known Member
Feb 21, 2003
51
0
156
[SOLVED] Stats not running manually

I was getting the message fro statscheck about server load and log processing.

The logs weren't updated in over 2795643 seconds.

I then tried to run the logs from WHM no luck

Then the script
Code:
/scripts/runweblogs [I]username[/I]
but no luck

Then I updates the stats schedule to allow for the time I was trying to run the logs manually and BOOM it worked.

So if the stats aren't running manually check the schedule to see if you can run the stats during that time.