Manual:ShowSiteStats.php

Details
showSiteStats.php file is a maintenance script, to show the cached statistics. It is basically Special:Statistics as a command line tool:

 $ mwscript showSiteStats.php --wiki=enwiki Total edits       : 592056400 Number of articles :  4162123 Total pages       :  29406390 Number of users   :  18382466 Active users      :     73857 Number of images  :    802833

 $ mwscript showSiteStats.php --wiki=enwiki Total views       :  63208806 Total edits       : 592056400 Number of articles :  4162123 Total pages       :  29406390 Number of users   :  18382466 Active users      :     73857 Number of images  :    802833