Thanks for the solution. Actually i am looking for this on windows2000. WIndows NT resource kit has some tools to do this..But they work on NT only. I have found out a command from sysinternals which is some thing like Unix ps command. That is giving few details i need.
On XP, we have tasklist which is very close to ps. The docs says "tasklist is a replacement for the tlist tool". So i would expect that you would have tlist on win2k.
I think that there is another option for you. I'm pretty sure that win2k has the windows scripting host and vbscript. When vbscript is running under wsh, it can access just about *any* com object. XP has a package called WMI and I think win2k has it too.
I don't understand everything that wmi can do yet, but I've download the technet script repository. You should do the same, or at least scan it. Here is one script that microsoft says will run on win2k....
This will list all threads on the system. Quite a few of the monitoring script won't run on win2k. And I see a few that won't even run on xp. Or at least they're not supported.
But anyway, take a look at vbscript. It is an interesting tool.
In dos cmd prompt if i run as
echo %T_Client_HOME% it wil giv ethe o/p ... Similarly i want to implement this in vbscript so that it should give the same o/p..
any idea...
Hello
I search monitoring tool like perfmon in Windows and i found perfmon2:
perfmon2
How to correctly install perfmon2 on Linux ( centos ) ?
Can he work on new kernels or 2.6.29 only for which it is the kernel-patch ?
perfmon2 - Browse Files at SourceForge.net
It may be a package of... (2 Replies)