Initial import.
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
#BOT_INCLUDE "stats" "prefix" "0"
|
||||
$total = $this -> eval_sys("find * | grep -i php | xargs cat | wc -l");
|
||||
$stats = "";
|
||||
$stats .= "Memory: ".number_format(memory_get_usage(true) / 1024)."KB ";
|
||||
$stats .= "(Peak: ".number_format(memory_get_peak_usage(true) / 1024)."KB)";
|
||||
$stats .= " - Code: ".number_format($total[0])." lines";
|
||||
|
||||
$this -> call("privmsg", $recv["origin"], $stats);
|
||||
?>
|
||||
Reference in New Issue
Block a user