MSH: Memory hogs function

Here’s a script I use to see which processes are hogging memory.  BTW, I tell MSN Desktop Search my whole hard drive so it usually occupies the #1 slot:
 

function hogs {
    get-process | sort PM -des | select -first 10
}

 
[C:\Temp]
MSH:73 # hogs
Handles  NPM(K)    PM(K)      WS(K) VS(M)   CPU(s)     Id ProcessName
——-  ——    —–      —– —–   ——     — ———–
   1151      59   195112      21964   295   928.58  14040 WindowsSearchIndexer
    608      20   126944     137684   270    46.34   7564 SharpReader
    308      14    97816     110756   269   207.70   2988 aspnet_wp
   1051      28    70364      29176   242   319.23  13716 iexplore
   1436      21    66808      83976   213   218.03  13816 iexplore
   1746      47    58908      97868   506    78.48   7108 OUTLOOK
    776      13    58700      51272   175     9.52   6900 msh
    400      12    44700      48716   197     6.06   6868 dexplore
    448      10    40144      11056   158     3.42  11544 msh
   1088      27    37808      35876   310    49.92   5252 msn
Advertisements
This entry was posted in Monad. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s