[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
Wed Jul 16 16:46:25 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13057 
====================================================================== 
Reported By:                eliel
Assigned To:                bbryant
====================================================================== 
Project:                    Asterisk
Issue ID:                   13057
Category:                   Core/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             07-10-2008 14:49 CDT
Last Modified:              07-16-2008 16:46 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.

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

---------------------------------------------------------------------- 
 svnbot - 07-16-08 16:46  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 131484

U   trunk/funcs/func_sysinfo.c

------------------------------------------------------------------------
r131484 | bbryant | 2008-07-16 16:46:24 -0500 (Wed, 16 Jul 2008) | 4 lines

Fixes sysinfo operator issue also fixed elsewhere in r131445.

(issue http://bugs.digium.com/view.php?id=13057)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=131484 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-16-08 16:46  svnbot         Checkin                                      
07-16-08 16:46  svnbot         Note Added: 0090367                          
======================================================================




More information about the asterisk-bugs mailing list