in reply to Re: How to get the amount of RAM
in thread How to get the amount of RAM

well, this sucks as a perl solution, but... in kbs:

print `free -l -t`;

if you prefer the output to be in megas, you can add -m to the command