Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

Getting % cpu used in win2k

  • 26-10-2000 02:58PM
    #1
    Registered Users, Registered Users 2 Posts: 3,308 ✭✭✭


    HI guys,
    is there any way to get the %cpu used from the commandline in windows2k server? I want to run a program on a unix box that will regularily telnet to a load of 2k servers, check how much cpu is being used and update the main database.
    Or I can do it the other way around with processes on the win2k reporting to the unix box. But either way, how can I get %cpu used in win2k, in a format useable for a simple c program. ANything similar to PS, or checking the /proc directory?
    Greg


Comments

  • Registered Users, Registered Users 2 Posts: 21,264 ✭✭✭✭Hobbes


    Taskman?



  • Registered Users, Registered Users 2 Posts: 1,636 ✭✭✭Canaboid


    Not sure but performance monitor (perfmon.exe) will log to a text file which u can tell the unix box to parse at whatever intervals.


  • Registered Users, Registered Users 2 Posts: 3,308 ✭✭✭quozl


    Taskman wont do it. its gui only frown.gif
    I'll have a look at the performance logger. I thought you had to be logged in to have it running. Thanks for the suggestion,
    Greg


  • Registered Users, Registered Users 2 Posts: 380 ✭✭dogs


    Shouldn't that be:

    "Getting % cpu wasted in win2k"

    :)


  • Closed Accounts Posts: 6,601 ✭✭✭Kali


    for full diagnostics best bet would be to use SNMP and MRTG..

    http://snmpboy.rte.microsoft.com/


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 3,308 ✭✭✭quozl


    Cheers Ken,
    you're a star smile.gif
    Greg


Advertisement
Advertisement