Saturday, October 27, 2007

Using the TaskList command line utility to see what processes are using a DLL (and what process is hosting what Service)

Jigar Mehta's Blog - How to find out what all processes have loaded particular DLL..

"I was searching for a way to find all the processes running right now, who has loaded particular DLL.. And found a really good command that shows really useful output..

tasklist /m wbemsvc.dll

You dont have to install anything on your windows, just go to command prompt and fire command.
PS: Replace wbemsvc.dll with DLL in question.

..."

This is one of those tasks that I don't do often enough to remember how to do it when I need it...

Also the "tasklist /svc" tip will come in handy too. I had "svchost.exe" eating up CPU cycles the other day and wanted to see what service(s) was being hosted in that process. "Tasklist /svc" would have fit the bill nicely...

No comments:

Post a Comment

NOTE: Anonymous Commenting has been turned off for a while... The comment spammers are just killing me...

ALL comments are moderated. I will review every comment before it will appear on the blog.

Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...

I reserve, and will use, the right to not approve ANY comment for ANY reason. I will not usually, but if it's off topic, spam (or even close to spam-like), inflammatory, mean, etc, etc, well... then...

Please see my comment policy for more information if you are interested.

Thanks,
Greg

PS. I am proactively moderating comments. Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...