There is also a add on in contrib (pg_buffercache) that can be used to give an indication of the number of buffers in use, this can be used to help find a 'good' shared mem size for your configuration.
David.