techPowerUp! Forums

Go Back   techPowerUp! Forums > Software > General Software

Reply
 
Thread Tools
Old Jan 24, 2010, 12:18 PM   #1
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,577 (6.28/day)
Thanks: 1,755
Thanked 2,596 Times in 1,960 Posts

System Specs

Process Monitor

This simple application records how many handles and how much memory an application is using every second. You can type in a process name (for when the process will be started soon) or select an already running process from the drop down box. Click start and it will start to monitor it; click stop to halt monitoring.



If the application closes, it will stop updating so you can see if the handle limit (default 10,000) or memory limit (2 GiB 32-bit, 4 GiB 32-bit Large Address Aware) is exceeded. These are things you can address to perhaps stop it from crashing.

If you wish to to use a Process Identification number (PID), use # followed by the number wherever it requests a name (commandline or in the "Process" field). For example, if you want it to monitor the PID 812, enter #812 and click start.


To increase the handle limit, you must increase the registry key:
Code:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows\USERProcessHandleQuota

Command line arguments:
ArgumentPurposeExample
process_nameEnters the given name in the Process dropdown box.csrss
/sAutomatically starts monitoring the process named. This will not work without providing a process name.csrss /s


It requires .NET Framework 3.5 or newer to run.


Version History:
1.0.4 - Fixed a minor bug where Max Cores could exceed the number of cores in the machine.
1.0.3 - Added Processor graph/stats and ability to directly input a PID (via #134).
1.0.2 - Added launch arguments (detailed above).
1.0.1 - Displays the start time of monitor and how long the monitor observed the process on stopping.
1.0.0 - Original release.
Attached Files
File Type: zip process_monitor_1_0_4.zip (9.1 KB, 1387 views)
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }

Last edited by FordGT90Concept; Feb 24, 2010 at 06:07 AM.
FordGT90Concept is offline  
Crunching for Team TPU
Reply With Quote
The Following 12 Users Say Thank You to FordGT90Concept For This Useful Post:
Old Jan 24, 2010, 12:21 PM   #2
MRCL
3500 Posts
 
MRCL's Avatar
 
Join Date: May 2008
Location: Switzerland, Heart of Europe
Posts: 3,798 (2.09/day)
Thanks: 340
Thanked 862 Times in 705 Posts

System Specs

You da man, man! This is just what I need.
__________________

[I.R.A.] FBi I wouldnt buy toilet paper from MSI as it may be missing the preforations
MRCL is offline  
Reply With Quote
Old Jan 24, 2010, 04:06 PM   #3
Kreij
Hardcore Monkey Moderator
 
Kreij's Avatar
 
Join Date: Feb 2007
Location: Cheeseland (Wisconsin, USA)
Posts: 12,117 (5.27/day)
Thanks: 591
Thanked 5,493 Times in 2,937 Posts

System Specs

Good Job Ford

You can also download SysInternals Process Monitor if you need more in-depth information.
__________________

Cloud (noun, singular): A dynamic arrangement of multiple potential single points of failure, with a user at one end and their data at the other.


Get more tech news on a wide variety of topics at NextPowerUp
Kreij is offline  
Reply With Quote
Old Jan 24, 2010, 04:11 PM   #4
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,577 (6.28/day)
Thanks: 1,755
Thanked 2,596 Times in 1,960 Posts

System Specs

Heh, I could display all that info about a specific process. The reason why I don't is because that requires querying the Main Module which is a drag on performance when performance is important (gotta keep those graphs running ).

I haven't found an app that does what this does (finds maximum memory usage and maximum handles over a period of time).
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is offline  
Crunching for Team TPU
Reply With Quote
Old Jan 24, 2010, 04:34 PM   #5
Kreij
Hardcore Monkey Moderator
 
Kreij's Avatar
 
Join Date: Feb 2007
Location: Cheeseland (Wisconsin, USA)
Posts: 12,117 (5.27/day)
Thanks: 591
Thanked 5,493 Times in 2,937 Posts

System Specs

Yes, there are definitely advantages to having light weight apps and utilities that have very specific functionality.
__________________

Cloud (noun, singular): A dynamic arrangement of multiple potential single points of failure, with a user at one end and their data at the other.


Get more tech news on a wide variety of topics at NextPowerUp
Kreij is offline  
Reply With Quote
Old Jan 24, 2010, 05:16 PM   #6
W1zzard
Benevolent Dictator
 
W1zzard's Avatar
 
Join Date: May 2004
Location: Stuttgart, Germany
Posts: 13,789 (4.18/day)
Thanks: 184
Thanked 10,264 Times in 3,173 Posts
Send a message via ICQ to W1zzard Send a message via AIM to W1zzard Send a message via MSN to W1zzard

System Specs



am i missing something ?
W1zzard is offline  
Reply With Quote
Old Jan 24, 2010, 05:26 PM   #7
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,577 (6.28/day)
Thanks: 1,755
Thanked 2,596 Times in 1,960 Posts

System Specs

When the app terminates, that number isn't stored, nor the trends leading up to it. If an application closes because it requested 2+ GiB you can only guess that is in fact what happened. Unless, of course, this is running at the same time watching it.
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is offline  
Crunching for Team TPU
Reply With Quote
Old Jan 24, 2010, 11:26 PM   #8
Mussels
Doctor Moderator
 
Mussels's Avatar
 
Join Date: Oct 2004
Location: Bendigo, Australia (NOT THE USA)
Posts: 34,557 (10.96/day)
Thanks: 3,700
Thanked 8,693 Times in 6,392 Posts

System Specs

sweet little app.


Yse w1zzy, we know about task manager :P this gives you a timeline/graph
Mussels is offline  
Reply With Quote
Old Feb 5, 2010, 04:32 PM   #9
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,577 (6.28/day)
Thanks: 1,755
Thanked 2,596 Times in 1,960 Posts

System Specs

1.0.1 released. It displays how long the process monitor was observering a process on stop/close.
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is offline  
Crunching for Team TPU
Reply With Quote
Old Feb 5, 2010, 04:56 PM   #10
regexorcist
75 Posts
 
regexorcist's Avatar
 
Join Date: Feb 2010
Location: ~/
Posts: 157 (0.13/day)
Thanks: 66
Thanked 46 Times in 38 Posts

System Specs

I know my system is different, but I use Conky
which provides all the functionality you want
including any customization and it's very light on resources.

Both Conky and Gkrellm are very popular system monitors
in the Linux world.
http://conky.sourceforge.net/screenshots.html
http://www.lynucs.org/?gkrellm
__________________
regexorcist is offline  
Reply With Quote
Old Feb 5, 2010, 04:59 PM   #11
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,577 (6.28/day)
Thanks: 1,755
Thanked 2,596 Times in 1,960 Posts

System Specs

That doesn't graph memory usage (or handles for that matter) nor keep record of the highest memory usage observed.
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is offline  
Crunching for Team TPU
Reply With Quote
Old Feb 5, 2010, 05:06 PM   #12
regexorcist
75 Posts
 
regexorcist's Avatar
 
Join Date: Feb 2010
Location: ~/
Posts: 157 (0.13/day)
Thanks: 66
Thanked 46 Times in 38 Posts

System Specs

You miss the point
I graphs or lists percentages or actual numbers
of ANYTHING you want
It has 2 pages of variables
and functions and executes your own scripts
__________________
regexorcist is offline  
Reply With Quote
Old Feb 5, 2010, 05:09 PM   #13
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,577 (6.28/day)
Thanks: 1,755
Thanked 2,596 Times in 1,960 Posts

System Specs

This works with two clicks (or type and one click), no thinking/programming required.
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is offline  
Crunching for Team TPU
Reply With Quote
Old Feb 5, 2010, 05:16 PM   #14
regexorcist
75 Posts
 
regexorcist's Avatar
 
Join Date: Feb 2010
Location: ~/
Posts: 157 (0.13/day)
Thanks: 66
Thanked 46 Times in 38 Posts

System Specs

very good, but mine runs when the system is brought up.
no clicking

Yes there is initial configuration which can be difficult
but with flexibility come configuration.
__________________
regexorcist is offline  
Reply With Quote
Old Feb 5, 2010, 05:17 PM   #15
regexorcist
75 Posts
 
regexorcist's Avatar
 
Join Date: Feb 2010
Location: ~/
Posts: 157 (0.13/day)
Thanks: 66
Thanked 46 Times in 38 Posts

System Specs

either way, monitoring the system is very important.
good app.
__________________
regexorcist is offline  
Reply With Quote
Old Feb 5, 2010, 05:34 PM   #16
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,577 (6.28/day)
Thanks: 1,755
Thanked 2,596 Times in 1,960 Posts

System Specs

Quote:
Originally Posted by regexorcist View Post
very good, but mine runs when the system is brought up.
no clicking
Stick it in Startup and it will start with the system. I should add a flag to pre-specify an application to monitor...


Edit: Done, see original post for details.
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }

Last edited by FordGT90Concept; Feb 5, 2010 at 05:58 PM.
FordGT90Concept is offline  
Crunching for Team TPU
Reply With Quote
Old Feb 10, 2010, 08:23 AM   #17
Mussels
Doctor Moderator
 
Mussels's Avatar
 
Join Date: Oct 2004
Location: Bendigo, Australia (NOT THE USA)
Posts: 34,557 (10.96/day)
Thanks: 3,700
Thanked 8,693 Times in 6,392 Posts

System Specs

I've used the tool from this thread over here, to fix a problem with Sins of a solar empires latest expansion pack. I've linked to here, and I'm linking from here back to there so that all threads involved get some attention.
Mussels is offline  
Reply With Quote
The Following User Says Thank You to Mussels For This Useful Post:
Old Feb 14, 2010, 02:20 AM   #18
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,577 (6.28/day)
Thanks: 1,755
Thanked 2,596 Times in 1,960 Posts

System Specs

I'm pondering adding a new feature to this app:

While the Process Monitor is running, it would monitor CPU usage per core, formulate a score for each core, and figure out how many cores are actually needed to run the application. Because the CPU usage is based on the performance of the entire system, the user must make sure nothing is loading the system to 100% while playing the game. The purpose of this feature would be tell how many cores the game needs to operate smoothly. This information is valuable in setting WCG and F@H to how many cores they should be using. That way, you can contribute as much as possible to those projects while not interfering with your game performance.

Anyone think this would be a valuable feature?
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is offline  
Crunching for Team TPU
Reply With Quote
Old Feb 14, 2010, 02:37 AM   #19
Mussels
Doctor Moderator
 
Mussels's Avatar
 
Join Date: Oct 2004
Location: Bendigo, Australia (NOT THE USA)
Posts: 34,557 (10.96/day)
Thanks: 3,700
Thanked 8,693 Times in 6,392 Posts

System Specs

just make it spit out min/max/avg for each core - be very useful for testing games multithreading capabilities.
Mussels is offline  
Reply With Quote
Old Feb 14, 2010, 03:41 AM   #20
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,577 (6.28/day)
Thanks: 1,755
Thanked 2,596 Times in 1,960 Posts

System Specs

I think I would do both. Instead of a graph, show a ListView with the current/min/max and on the left, show min/max core/CPU usage.

The reason I can't do an average is because it would have to have a limited scope (how limited depends on the hardware). If it isn't limited, it would eventually crash and/or be forced to restart averaging.
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is offline  
Crunching for Team TPU
Reply With Quote
Old Feb 14, 2010, 04:00 AM   #21
Mussels
Doctor Moderator
 
Mussels's Avatar
 
Join Date: Oct 2004
Location: Bendigo, Australia (NOT THE USA)
Posts: 34,557 (10.96/day)
Thanks: 3,700
Thanked 8,693 Times in 6,392 Posts

System Specs

average over the last 5 minutes, at 10-20 second intervals?
Mussels is offline  
Reply With Quote
Old Feb 14, 2010, 04:21 AM   #22
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,577 (6.28/day)
Thanks: 1,755
Thanked 2,596 Times in 1,960 Posts

System Specs

That should work except I'd probably average it every second. It is just a simple division operation (total percentage / total seconds).
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is offline  
Crunching for Team TPU
Reply With Quote
Old Feb 14, 2010, 04:23 AM   #23
Mussels
Doctor Moderator
 
Mussels's Avatar
 
Join Date: Oct 2004
Location: Bendigo, Australia (NOT THE USA)
Posts: 34,557 (10.96/day)
Thanks: 3,700
Thanked 8,693 Times in 6,392 Posts

System Specs

i'm just thinking its a great way to tell if a game supports multithreading, and if so, is it crippled - EG supreme commander, it was multithreaded... but one thread had the AI on it, and that thread would just choke and die long before the others - holding performance back.
Mussels is offline  
Reply With Quote
Old Feb 14, 2010, 04:33 AM   #24
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,577 (6.28/day)
Thanks: 1,755
Thanked 2,596 Times in 1,960 Posts

System Specs

Wait...let me clear something up: There is Process CPU time which tells you how much time a processor spent on a given process. This only tells you overall CPU use, not by core (an average of all cores).

There is also load percentages per core. It tells you how burdened each core is but it doesn't tell you what process is burdening that given core.

Which is more valuable to you? Both?


I guess the point I am trying to make is that the most accurate way to tell how many cores a given process is using is to take total process time and compare it to the number of cores. I could graph that...
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is offline  
Crunching for Team TPU
Reply With Quote
Old Feb 14, 2010, 04:36 AM   #25
Mussels
Doctor Moderator
 
Mussels's Avatar
 
Join Date: Oct 2004
Location: Bendigo, Australia (NOT THE USA)
Posts: 34,557 (10.96/day)
Thanks: 3,700
Thanked 8,693 Times in 6,392 Posts

System Specs

Quote:
Originally Posted by FordGT90Concept View Post
Wait...let me clear something up: There is Process CPU time which tells you how much time a processor spent on a given process. This only tells you overall CPU use, not by core (an average of all cores).

There is also load percentages per core. It tells you how burdened each core is but it doesn't tell you what process is burdening that given core.

Which is more valuable to you? Both?


I guess the point I am trying to make is that the most accurate way to tell how many cores a given process is using is to take total process time and compare it to the number of cores. I could graph that...
is it possible to tell the load a process is having on the cores? Say, you run a game and it uses 100% of core 1, but only 5-10% of the rest of your cores
Mussels is offline  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Process of Building Duxx General Hardware 16 Jan 5, 2008 04:35 PM
Process Monitor 1.24 HellasVagabond General Software 0 Sep 29, 2007 08:26 AM
Process Explorer 11.0 HellasVagabond General Software 2 Sep 6, 2007 08:39 PM
Process Monitor 1.2 Released HellasVagabond News 4 Jul 26, 2007 12:32 AM
[Case Gallery] In the process Fox34 Case Mod Gallery 2 Jun 30, 2006 10:08 PM


All times are GMT. The time now is 01:44 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
no new posts