In Computer Systems - A Programmer's Perspective, the authors discuss virtual memory in Chapter 9. They talk about N=2^n as the number of addresses in virtual address space, M=2^m as the number of addresses in physical address space and P=2^p as the page size (in bytes).
You can also refer to pages 9 and 10 of this pdf which is based on that chapter.
My question is, for any given machine, whether it runs windows or linux, how do I find the values of n, m and p ?