![]() |
Must be a "server thing" ... it was working B-fore!
|
since installing this hack on 2.2.9, my 5 min server load stat shows up in red. this happen to anyone else?
not that it matters, i kinda like it this way, just wondering http://www.asendtechnologies.com/misc/microstats.jpg |
You probably removed the space between brackets, as suggested in the readme file...
That will make the server stats to show colored, otherwise they will show in black. :) |
To "call" microstats, I simply use:
{getmicrostats} $trimmedtime $percentphp $percentsql $query_count $serverload ? |
TECK, How do I get it to show the server uptime right below the load?
Right now mines show: Page generated in 0.15713799 seconds (81.58% PHP - 18.42% MySQL) with 15 queries. [Debug Mode OFF] [PHP v4.3.0RC] [GZIP enabled - level 1] [Server Load: 0.01 ยป 0.02 : 0.00] I would like to see uptime right below the load. /me installed |
Code:
function serveruptime() { |
cool thanks mate, sounds useful ;) ill give it a try........
|
installed very nice helpfull in seeing quickly how many queries im getting. which is 22
|
TECK.
you have already added: @exec('uptime') so I cannot redeclare that code you posted, you are parsing the @exec('uptime') to only show the load averages right? if so how do I un parse the code below so it shows the uptime right near the load? thanks. Code:
if ($stats=@exec('uptime')) { |
Code:
function serveruptime() { |
All times are GMT. The time now is 11:05 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|