Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: CPU usage without wmic  (Read 4777 times)

0 Members and 1 Guest are viewing this topic.

PsYc0

    Topic Starter


    Newbie

    • Experience: Beginner
    • OS: Unknown
    CPU usage without wmic
    « on: April 11, 2012, 07:17:04 AM »
    Hi all!
    I'm Italian (sorry for my English!) and I would write a batch file that measures CPU usage percentage.
    After I'll "invoke" this batch file by jsp page and I'll can see output in a web page.

    My .bat uses wmic:
    Code: [Select]
    echo off
    wmic path Win32_Processor get LoadPercentage /format:list

    and I've this problem: waiting time for wmic is too high and my web page don't show me Load Percentage.

    Is there another dos command that doesn't use wmic?

    Thanks!