Has anyone got any decent code for displaying memory usage ?

Thanks.