hepcat72 has asked for the wisdom of the Perl Monks concerning the following question:
Is there another method out there that is system independent and more accurate?>perl -e 'use Sys::MemInfo qw(totalmem);print "total memory: ".(&total +mem / 1024 / 1024 / 1024)."\n";' total memory: 3.99408721923828 >system_profiler | grep " Memory:" Memory: 16 GB
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to Accurately Determine Amount of RAM
by perlfan (Parson) on Jul 08, 2014 at 17:09 UTC | |
|
Re: How to Accurately Determine Amount of RAM
by AppleFritter (Vicar) on Jul 08, 2014 at 18:08 UTC | |
by hepcat72 (Sexton) on Jul 08, 2014 at 18:53 UTC | |
|
Re: How to Accurately Determine Amount of RAM
by talexb (Chancellor) on Jul 08, 2014 at 17:28 UTC | |
by hepcat72 (Sexton) on Jul 08, 2014 at 18:12 UTC | |
by talexb (Chancellor) on Jul 08, 2014 at 19:10 UTC | |
|
Re: How to Accurately Determine Amount of RAM
by locked_user sundialsvc4 (Abbot) on Jul 08, 2014 at 19:55 UTC |