Changeset 395


Ignore:
Timestamp:
Mar 23, 2010, 8:06:31 PM (11 years ago)
Author:
zerodeux
Message:

Fixing non-integer memory output + credits. Closes #8

Location:
phptop
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • phptop/README

    r374 r395  
    66It can be easily globally activated on a LAMP server and requires little
    77ressources and a single line configuration change in your php.ini.
     8
     9Requires PHP >= 4.3.10 or PHP >= 5.0.3.
    810
    911Homepage, more documentation and updates:
     
    3234  Total (from last 10 min)                 1140     95.9     27.0      3.7
    3335
     36
     37Thanks for your participation:
     38
     39 * Marc Dequènes aka Duck
  • phptop/phptop_hook.php

    r374 r395  
    4949  $self  = $vhost != '' ? "$proto://$vhost$uri" : $_SERVER['SCRIPT_FILENAME'];
    5050
    51   $msg = sprintf("phptop %s time:%.6F user:%.6F sys:%.6F mem:%g", $self, $time, $tusr, $tsys, $mem);
     51  $msg = sprintf("phptop %s time:%.6F user:%.6F sys:%.6F mem:%d", $self, $time, $tusr, $tsys, $mem);
    5252  error_log($msg);
    5353}
Note: See TracChangeset for help on using the changeset viewer.