Changeset 5271
- Timestamp:
- 11/23/07 18:27:27 (1 year ago)
- Files:
-
- modules/branches/2.4/dashboard/module.xml (modified) (2 diffs)
- modules/branches/2.4/dashboard/phpsysinfo/class.Linux.inc.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.4/dashboard/module.xml
r4889 r5271 2 2 <rawname>dashboard</rawname> 3 3 <name>System Dashboard</name> 4 <version>0.3.3. 1</version>4 <version>0.3.3.2</version> 5 5 <candisable>no</candisable> 6 6 <canuninstall>no</canuninstall> … … 18 18 </depends> 19 19 <changelog> 20 *0.3.3.2* #2469 fix division my zero in cpu usage 20 21 *0.3.3.1* Cosmetic fix (#2278 - long mount point paths) 21 22 *0.3.3* Improved detection of webserver failing, More MySQL detection fixes modules/branches/2.4/dashboard/phpsysinfo/class.Linux.inc.php
r4523 r5271 133 133 $load2 = $ab + $ac + $ad; 134 134 $total2 = $ab + $ac + $ad + $ae; 135 $results['cpupercent'] = ( 100*($load2 - $load)) / ($total2 - $total);135 $results['cpupercent'] = ($total2 != $total)?((100*($load2 - $load)) / ($total2 - $total)):0; 136 136 } 137 137 }
