Finding memory statistics

Dear All,

How to find the available non-pagedpool, paged pool memory and other
memory details from a driver.
I am intrested in knowing the total system memory(including virtal
memory)statistics from a kernel driver.

Any information will be greatly apreciated.

Thanx in advance,
Kedar.