Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

This seems like a simple question, but I can't find the answer, so maybe I'm the simple one.

How can I tell how much of my swap space is being used on Windows Web Server 2008? On Windows Server Standard, it was right up front in Task Manager, but "page file usage" seems to have been replaced with "commit (mb)".

share|improve this question
    
possible duplicate of How do I tell if my Windows server is swapping? –  Jim B Jun 8 at 13:23

2 Answers 2

In task manager, the "page file usage" is actually the system commit total, which is not the same thing as page file usage. In 2008, MS changed the wording to more accurately reflect what was being measured, which is actually the amount of reserved virtual memory.

To get the actual amount of PageFile usage, open up Performance Monitor (perfmon), and Add Counters -> Paging File -> % Usage and/or % Usage Peak. It's going to be a lot lower than the reserved value displayed in Task Manager... at least if you have any meaningful amount of RAM in your system.

share|improve this answer
    
this is close, the pagefile usage and commit may not exactly match since it depends on the size of DLLs and data on disk as well, but the counter is definitely the correct counter –  Jim B Jun 8 at 13:28

STEP BY STEP solution

Note: These are the exact steps for Win 7. I think is the same on Win 8.

To get the actual amount of PageFile usage, start 'Performance Monitor' (perfmon.exe), and 'Add Counters' -> 'Paging File' -> 'Usage'.

It will give you the answer in %, but you know the total amount of paging file so you can calculate the exact amount of USED paging file (in MB).

To read the total amount of paging file:
Press Win+Break to open 'System properties'. Go to: 'Advanced' -> 'Performance' -> 'Advanced' -> 'Virtual memory' -> 'Total paging file size' (in MB) ).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.