$ ram firefox
Will print total firefox RAM usage.
On my machine (Arch Linux) it works without root...