PowerShell comparison of results with Task manager


hello,

i've started powershell command "get-process | sort-object pm –descending" , comparasion results task manager show me different results. please check comparasion.
why task manager says 260 kb service store.exe , powershell says 1.238 kb?

thnx

yes, correct, there difference between task manager in 2008 reports using get-process. here quote bruce adamczak in similar thread:

working set current size, in bytes, of working set of process. working set set of memory pages touched threads in process. if free memory in computer above threshold, pages left in working set of process if not in use.  when free memory falls below threshold, pages trimmed working sets. if needed soft-faulted working set before leaving main memory.

http://social.technet.microsoft.com/forums/en-ie/perfmon/thread/6608ebac-a7ec-43b0-88d6-e8d95ab8d9cd

for more information can check out thread:

windows 7 task manager processes memory (private working set) versus performance memory indicator


jaap brasser
http://www.jaapbrasser.com



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

2008 Windows Deployment Server Properties Error

Can no longer user MS Update - Files required to use Microsoft Update are no longer registered

How do a find data in one file, search for it in another file and if not found, write a custom message to another file