On 7/27/2010 11:07 PM, dingdongdingding wrote:
> Is there any command line utilisation to capture CPU, memory, network,
> harddisk or some of these ? Thanks, sc
processor
http://www.computing.net/answers/win...ile/65928.html
typeperf "\Processor(_Total)\% Processor Time" -sc 1 > proc.txt
I'm not sure how many other processor commands you can run this way but
it looks like a lot
---------------------
http://www.mssqltips.com/tip.asp?tip=1575
As a DBA I like to take advantage of command line tools when I'm working
on performance tuning and optimizing my SQL Server databases. One of
the things I typically need to do is to collect performance data on the
server which includes CPU, memory and disk utilization as well as SQL
Server-specific data. What command line tools are available to do this?
Solution
TYPEPERF.EXE is a command line tool included with the Windows operating
system that writes performance data to the command window or to a file.
It is necessary to capture performance data whenever you are trying to
diagnose performance issues on a server. Performance data provides
information on the server's utilization of the processor, memory, and
disk, as well as SQL Server-specific performance data.
----------------
http://www.microsoft.com/resources/d....mspx?mfr=true
To display processor and memory counters, type:
typeperf "\Memory\Available bytes" "\processor(_total)\% processor time"
-----------------
https://www.faultwire.com/file_detai...f.exe*297.html
run typeperf -q to see a list of things that it can report on
-----------------
more reading:
http://blogs.technet.com/b/askperf/a...-typeperf.aspx
http://technet.microsoft.com/en-us/library/cc753182(WS.10).aspx
Mike