Home > Tips, tools > How to get the CPU utilization of remote machine from command prompt

How to get the CPU utilization of remote machine from command prompt

September 24th, 2009 Leave a comment Go to comments

Use below command if you want to get the CPU utilization of remote machine from command prompt. It’s very useful if you don’t want to spend time in logging on to the server to verify the stats. Needless to say, replace RemoteMachine with your remote machine name in below command.

typeperf “\\RemoteMachine\processor(_Total)\% Processor Time”

Refer to my old article to know more about typeperf

Happy Learning…,
Sitaram Pamarthi

Other posts
Categories: Tips, tools Tags:
  1. iresha
    September 30th, 2009 at 15:53 | #1

    You can also very easily build your own performance monitor in C++

    Windows C++ Get CPU and Memory Utilisation With Performance Counters

  2. Ramesh Kumar
    November 16th, 2009 at 12:30 | #2

    Hi,
    Using the command provided, it is possible to get data from Local machine only.

    But when tried with remote machine, it returns following error:
    Error: No valid counters.

    Command used:
    typeperf “\\\Process(*)\% Processor Time” -sc 1

    Please help me out in this issue.

  3. admin
    November 21st, 2009 at 22:52 | #3

    Hey Ramesh,

    Let’s isolate the problem this way. Execute this command on the remote machine locally and see if it returns any thing. If the comman works fine locally, then we have some thing to troubleshoot with remote connection.

    Make you sure that you are having admin rights on remote machine while running this command. A domain admin is preferred for ideal results.

  4. June 20th, 2010 at 14:33 | #4

    Seems like that you’ve put lots of hard work into your article and I require much more of these on the net these days. I sincerely got a kick from your post. I don’t really have significantly to express in response, I only wanted to comment to reply amazing work.

  1. No trackbacks yet.