• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1959
  • Last Modified:

display processor info in ms-dos

Im not sure if you can help, but if you can't then i do know who can.

Im trying to write a batch script to show processor/cpu infomation.

Im running Windows XP with ms-dos 5.1

can any one help???
0
irwells
Asked:
irwells
  • 4
  • 3
  • 2
  • +2
1 Solution
 
dfxdeimosCommented:
Does the "set" command work for you?
0
 
TVT_BILGISAYAR_4448884Commented:
>"set PROCESSOR_IDENTIFIER"is enough i think
for Microsoft Windows XP [Version 5.1.2600]
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
Exactly what information are you looking for?  Usage?  Make/Model?  

By the way, MS-DOS does not exist in XP.  You are simply using a command line.  DOS died in Win9x.
0
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

 
irwellsAuthor Commented:
Im looking to write a batch script that will show processor information; make & model and the speed it is running.
0
 
dfxdeimosCommented:
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
Look into WMIC - which is a command line tool to access Windows Management Instrumentation (WMI) which will give you many details about many components of the system.  The following link includes examples for getting the information you are asking for and dumping it to a htm (html) file.

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

Just google WMI for more information on What WMI can do (I've used it to script the checking of disk space on 50 servers in a few seconds and for obtaining network settings as well).
0
 
t0t0Commented:
also check out the environment variables:

PROCESSOR_ARCHITECTURE
PROCESSOR_IDENTIFIER
0
 
irwellsAuthor Commented:
Ok guys, I think we are going on the wrong track. I'm looking for a batch script that will display the  cpu usage just like the Task manager/performance  does but in the dos command line.

Im using windows XP/Dos 5.1 command interface.

This is my last hope. can some one help ......please.
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
So which is it?
"I'm looking to write a batch script that will show processor information; make & model and the speed it is running."

Or

"I'm looking for a batch script that will display the  cpu usage just like the Task manager/performance  does but in the dos command line"

Task manager does not display make and model of the CPU or the MHz of the processor which is what you FIRST asked for.

To get the overall CPU utilization in a command prompt, you can use "WMIC CPU GET LoadPercentage"
0
 
irwellsAuthor Commented:
cool, thats just what ill looking for. I now have a script that can show make/model and speed. with "wmic cpu loadpercentage" I can now show the cpu usage too. Many thanks
0
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
So if it's "just what ill looking for", why the B grade?
0
 
t0t0Commented:
well done leew and well said...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

  • 4
  • 3
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now