vote up -1 vote down star
1

does somebody know it? thank you

flag
2  
What do you mean?? Memory and CPU utilization of cmd.exe?? – Aviator Sep 15 at 10:40
1  
Welcome to Stack Overflow. This question is better suited for superuser.com I have voted to move it there; once five people also vote it will move automatically. – Greg Hewgill Sep 15 at 10:42
What does it have to do with C#, by the way? – OregonGhost Sep 15 at 10:43
@Diago: The user posted a comment below you should have read first. – Breakthrough Sep 15 at 11:23
@Breakthrough - Noted. Thanks. – Diago Sep 15 at 11:26

migrated from stackoverflow.com

4 Answers

vote up 9 vote down

It will take about

  • 4 mouse clicks (Start > All Programs > Accessories > Command Prompt)
  • 2,532 kilobytes of RAM
  • 672 (w) x 332 (h) pixels in desktop estate space
  • a fraction of a watt of energy per minute it stays on the monitor (assuming LCD of course)
  • and about 5% of a 2.93GHz core-duo CPU for that instant when it opens.

There are certain cases where opening up a Command Prompt window will also require resources such as 1 SuperUser.com question, 5 answers, 15 upvotes, 6 downvotes, and 1 click on the answer button.

link|flag
That's pretty comprehensive :) – Lunatik Sep 15 at 11:08
1  
Nice answer. +1 – Pajarito Sep 15 at 12:02
1  
What if you use Winkey + R, write cmd and press Enter? Things would be totally different! – alex Sep 15 at 13:46
vote up 1 vote down

The easiest way to do this (without any third-party utilities) is to open the Windows Task Manager (CTRL + ALT + DEL). Click on the Processes tab. Then, go to View -> Select Columns.

From there, you can enable various process information (e.g. GDI Objects, USER Objects, Thread Count) to show up for not only the command window, but all processes.

Just to note, the Image Name for the command prompt is cmd.exe.

link|flag
vote up 1 vote down

The Process Explorer is your friend!

link|flag
vote up 0 vote down

Your question is so vague that it is impossible to answer meaningfully.

What resources are you referring to? Stuff like RAM and disk space? Or do you mean Windows System Resources (as described e.g. in this article)?

Also, what OS are we talking about? And why did you tag your question C#?

If you mean Windows System Resources: These problems have mostly gone away with the introduction of the NT-based Windows OSes (Windows NT, Windows 2000 etc.).

Please clarify your question.

link|flag
i mean system resources like gdi object, user objects, desktop heap. sorry for tagging it in c#, there is no special reason – dfsafsafs Sep 15 at 10:48
1  
dfsafsafs - Please edit the question and add that information. – Breakthrough Sep 15 at 11:18

Your Answer

Get an OpenID
or
never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.