Skip Menu |

This queue is for tickets about the Sys-MemInfo CPAN distribution.

Report information
The Basics
Id: 44432
Status: new
Priority: 0/
Queue: Sys-MemInfo

People
Owner: Nobody in particular
Requestors: apz [...] flipperit.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Invalid amount of free memory in FreeBSD/Sparc
Date: Fri, 20 Mar 2009 03:34:00 +0200
To: bug-Sys-MemInfo [...] rt.cpan.org
From: Ari Sovijärvi <apz [...] flipperit.net>
Hi. I use Sys::Meminfo in a statistics script, that works on various OSes, including Linux, NetBSD and FreeBSD. I noticed that while Sys::MemInfo::get("totalmem") works corrently, Sys::MemInfo::get("freemem") gives unexpected results in FreeBSD's Sparc version. It works correctly under FreeBSD with x86. Here's a sample output from a Sparc-machine with 2 gigabytes of ram: Free memory: 7.86511453723034e+17 Total memory: 2137284608 The machine runs FreeBSD 7.1-p3 with Perl 5.8.9 and Sys::MemInfo 0.91. If you need more info or testing a patched version, please let me know. Thanks! -- Ari Sovijärvi