PC Review


Reply
Thread Tools Rate Thread

Command line utility to capture system utilisation

 
 
dingdongdingding
Guest
Posts: n/a
 
      28th Jul 2010
Is there any command line utilisation to capture CPU, memory, network,
harddisk or some of these ? Thanks, sc
 
Reply With Quote
 
 
 
 
John John - MVP
Guest
Posts: n/a
 
      28th Jul 2010
On 7/28/2010 3:07 AM, dingdongdingding wrote:
> Is there any command line utilisation to capture CPU, memory, network,
> harddisk or some of these ? Thanks, sc


Which version of Windows XP are you using? With XP Pro you can use WMIC.

John
 
Reply With Quote
 
dingdongdingding
Guest
Posts: n/a
 
      28th Jul 2010
Mine is Home. Advice ? Thanks

On Jul 28, 6:51*pm, John John - MVP <audetw...@nbnot.nb.ca> wrote:
> On 7/28/2010 3:07 AM, dingdongdingding wrote:
>
> > Is there any command line utilisation to capture CPU, memory, network,
> > harddisk or some of these ? *Thanks, sc

>
> Which version of Windows XP are you using? *With XP Pro you can use WMIC.
>
> John


 
Reply With Quote
 
John John - MVP
Guest
Posts: n/a
 
      28th Jul 2010
I don't know of any off hand.

John

dingdongdingding wrote:
> Mine is Home. Advice ? Thanks
>
> On Jul 28, 6:51 pm, John John - MVP <audetw...@nbnot.nb.ca> wrote:
>> On 7/28/2010 3:07 AM, dingdongdingding wrote:
>>
>>> Is there any command line utilisation to capture CPU, memory, network,
>>> harddisk or some of these ? Thanks, sc

>> Which version of Windows XP are you using? With XP Pro you can use WMIC.
>>
>> John

>

 
Reply With Quote
 
Mike S
Guest
Posts: n/a
 
      29th Jul 2010
On 7/28/2010 7:18 AM, dingdongdingding wrote:
> Mine is Home. Advice ? Thanks
>
> On Jul 28, 6:51 pm, John John - MVP<audetw...@nbnot.nb.ca> wrote:
>> On 7/28/2010 3:07 AM, dingdongdingding wrote:
>>
>>> Is there any command line utilisation to capture CPU, memory, network,
>>> harddisk or some of these ? Thanks, sc

>>
>> Which version of Windows XP are you using? With XP Pro you can use WMIC.
>>
>> John


Does this work on your home version?

http://www.windowsnetworking.com/kba...foUtility.html

systeminfo > sysinfo.txt

Mike
 
Reply With Quote
 
Mike S
Guest
Posts: n/a
 
      29th Jul 2010
On 7/28/2010 7:18 AM, dingdongdingding wrote:
> Mine is Home. Advice ? Thanks
>
> On Jul 28, 6:51 pm, John John - MVP<audetw...@nbnot.nb.ca> wrote:
>> On 7/28/2010 3:07 AM, dingdongdingding wrote:
>>
>>> Is there any command line utilisation to capture CPU, memory, network,
>>> harddisk or some of these ? Thanks, sc

>>
>> Which version of Windows XP are you using? With XP Pro you can use WMIC.
>>
>> John


You know about netstat and ipconfig right?

http://commandwindows.com/tcpiputil.htm



 
Reply With Quote
 
Mike S
Guest
Posts: n/a
 
      29th Jul 2010
On 7/28/2010 3:51 AM, John John - MVP wrote:
> On 7/28/2010 3:07 AM, dingdongdingding wrote:
>> Is there any command line utilisation to capture CPU, memory, network,
>> harddisk or some of these ? Thanks, sc

>
> Which version of Windows XP are you using? With XP Pro you can use WMIC.


Are you sure it requires Pro?

http://technet.microsoft.com/en-us/l.../bb742610.aspx

Microsoft is creating a lot of good reasons to make the command prompt
in Windows XP and the Windows Server 2003 family your home for systems
management.

Mike
 
Reply With Quote
 
Mike S
Guest
Posts: n/a
 
      29th Jul 2010
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
 
Reply With Quote
 
John John - MVP
Guest
Posts: n/a
 
      29th Jul 2010

Mike S wrote:
> On 7/28/2010 3:51 AM, John John - MVP wrote:
>> On 7/28/2010 3:07 AM, dingdongdingding wrote:
>>> Is there any command line utilisation to capture CPU, memory, network,
>>> harddisk or some of these ? Thanks, sc

>>
>> Which version of Windows XP are you using? With XP Pro you can use WMIC.

>
> Are you sure it requires Pro?


Yes.

> http://technet.microsoft.com/en-us/l.../bb742610.aspx
>
> Microsoft is creating a lot of good reasons to make the command prompt
> in Windows XP and the Windows Server 2003 family your home for systems
> management.


XP Home is lacking of several of the command line tools available in XP
Pro and XP Pro is lacking of a lot of the tools available on Server
2003. As for your other suggestions, my understanding of the OP's post
was that he wanted to monitor from the command line, if all he wants is
to list the installed hardware then there are many built-in tools for
this, like the ones you suggested. If he wants to monitor the only one
that would work would be typeperf.

John
 
Reply With Quote
 
John John - MVP
Guest
Posts: n/a
 
      29th Jul 2010

John John - MVP wrote:
> Mike S wrote:
>> On 7/28/2010 3:51 AM, John John - MVP wrote:
>>> On 7/28/2010 3:07 AM, dingdongdingding wrote:
>>>> Is there any command line utilisation to capture CPU, memory, network,
>>>> harddisk or some of these ? Thanks, sc
>>>
>>> Which version of Windows XP are you using? With XP Pro you can use WMIC.

>>
>> Are you sure it requires Pro?

>
> Yes.
>
>> http://technet.microsoft.com/en-us/l.../bb742610.aspx
>>
>> Microsoft is creating a lot of good reasons to make the command prompt
>> in Windows XP and the Windows Server 2003 family your home for systems
>> management.

>
> XP Home is lacking of several of the command line tools available in XP
> Pro and XP Pro is lacking of a lot of the tools available on Server
> 2003. As for your other suggestions, my understanding of the OP's post
> was that he wanted to monitor from the command line, if all he wants is
> to list the installed hardware then there are many built-in tools for
> this, like the ones you suggested. If he wants to monitor the only one
> that would work would be typeperf.


On second thought, I don't think that Typeperf is available on XP Home.

John
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
reg command line utility kakii Windows XP Help 6 24th Nov 2008 01:30 PM
Wifi command line utility Perro Flaco Windows XP Embedded 1 26th Jul 2007 01:52 PM
Command line utility to list processes with the "command line that was used to start the process" flahmeshess Microsoft Windows 2000 5 12th Oct 2006 02:46 AM
Command Line Utility.....please =?Utf-8?B?Q2xlb25sYWtl?= Microsoft Windows 2000 Developer 1 19th Mar 2005 08:45 AM
Command Line Utility...please =?Utf-8?B?Q2xlb25sYWtl?= Microsoft Windows 2000 Developer 0 11th Mar 2005 05:27 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:57 PM.