[asterisk-bugs] [Asterisk 0013057]: [patch] Fix 'core show sysinfo' command, it is returning all 0s.

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Jul 10 20:32:20 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13057 
====================================================================== 
Reported By:                eliel
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13057
Category:                   Core/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 129724 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             07-10-2008 14:49 CDT
Last Modified:              07-10-2008 20:32 CDT
====================================================================== 
Summary:                    [patch] Fix 'core show sysinfo' command, it is
returning all 0s.
Description: 
sysinfo() for kernels > 2.3.23 is returning all values in mem_unit units,
so to get the number of bytes we must multiply it by mem_unit and not
divide it.

====================================================================== 

---------------------------------------------------------------------- 
 eliel - 07-10-08 20:32  
---------------------------------------------------------------------- 
Thank you Jeff, patch uploaded. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-10-08 20:32  eliel          Note Added: 0090062                          
======================================================================




More information about the asterisk-bugs mailing list