Display available ram memory in Terminal (no top) and WiFi info
I already found the total memory output with "system_profiler SPHardwareDataType | grep Memory | awk '{print $2}" but I can't find any way to display the unused+free memory.
Furthermore I need the output of the total received and sent bytes trough a wlan device.
In Linux, for example, I used "/sbin/ifconfig eth0 | grep 'RX byte' | awk '{print $3 $4}'" but here ifconfig foo doesn't display any info about amount of data received/sent by a device.
Ibook 12'' 1.33ghz and MBP 15'' 2.2ghz, Mac OS X (10.4.11), The MBP that often skipped random letter swhen typing :(