Skip to content

rockneu/win-server-resource-usage-collect

Repository files navigation

win-server-resource-usage-collect
=================================
--xx
windows server resource usage collection.
This set of scripts is used to collect windows server system resource consuming info(cpu, mem, disk).

If to get localhost's resource consuming info, just run script getInfo.bat, and the result will be shown(getInfo.bat will call getResc.vbs to get resource data). 

If to get other windows nodes' info, need to copy file getInfo.bat & getResc.vbs to the windows nodes' %windir%\system32. Then run the script runScript.bat, and the result will show up(runScript.bat will call the tool psexec locally to connect to remote windows nodes to get resource info and show at the local psexec console).

1 Precondition:
If to view other windows hosts' resource consuming info, need to copy getInfo.bat and getResc.vbs to those hosts at directory %windir%\system32\.


2.Usage:
2.1 to get the resource info from localhost,just run getInfo.bat;
2.2 to get the resource info from the server list at LAN ENV, 
2.2.1 configure the windows nodes IP info at srvlist.txt;
2.2.2 
start psexec just run runScript.bat


3.File introduction:
getInfo.bat
	--show windows system resource usage info, including cpu, memory, and disk usage info.

getResc.vbs
	--the real one to get windows resource consumption info, and it's called by getInfo.bat.

srvlist.txt
	--list the server list to get resource usage info.

About

windows server resource usage collection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published