-
May 3rd, 2010, 12:52 PM
#1
Thread Starter
Junior Member
-
May 3rd, 2010, 02:16 PM
#2
New Member
Re: *NEW* Process Manager
i cant get the file to download
Last edited by SuperJohn; May 3rd, 2010 at 03:20 PM.
-
May 3rd, 2010, 02:19 PM
#3
Re: *NEW* Process Manager
I'm not able to download your project. You should check the link.
Also, you should check out my process manager and you'll find a lot information on different features you can add such as icons, process info, pausing and resuming, and much more.
CodeBank contributions: Process Manager, Temp File Cleaner
Originally Posted by SJWhiteley
"game trainer" is the same as calling the act of robbing a bank "wealth redistribution"....
-
May 3rd, 2010, 03:01 PM
#4
Re: *NEW* Process Manager
I dont understand what the Initialized column is for as it just shows a number for some processes but a date for others, same for the ID column as that does not have a value for most of the processes.
PS did you know you can upload files directly to this forum so you dont have to use an external hosting site?
-
May 3rd, 2010, 03:08 PM
#5
Re: *NEW* Process Manager
Originally Posted by chris128
I dont understand what the Initialized column is for as it just shows a number for some processes but a date for others, same for the ID column as that does not have a value for most of the processes.
PS did you know you can upload files directly to this forum so you dont have to use an external hosting site?
You were able to download it? Hm... :/
Oh. You just mean from the visual.
Yeah. That's strange.
Last edited by weirddemon; May 3rd, 2010 at 03:38 PM.
CodeBank contributions: Process Manager, Temp File Cleaner
Originally Posted by SJWhiteley
"game trainer" is the same as calling the act of robbing a bank "wealth redistribution"....
-
May 3rd, 2010, 04:15 PM
#6
Thread Starter
Junior Member
Re: *NEW* Process Manager
Thanks guys, Umm ID etc. i just some controls i came across when i made this and decided to add. Umm Demon, Can you give me a link to yours, and I will reupload
-
May 3rd, 2010, 04:45 PM
#7
Re: *NEW* Process Manager
-
May 3rd, 2010, 06:51 PM
#8
Re: *NEW* Process Manager
I like the cpu progressbar at the bottom, but what about multi-core cpu's (or systems with more than 1 physical cpu, multi-core or not)? It'd be awesome if it showed one for each core/cpu
-
May 3rd, 2010, 07:17 PM
#9
Re: *NEW* Process Manager
Originally Posted by JuggaloBrotha
I like the cpu progressbar at the bottom, but what about multi-core cpu's (or systems with more than 1 physical cpu, multi-core or not)? It'd be awesome if it showed one for each core/cpu
He'd probably have to utilize some APIs for that. I don't think there's a managed way to obtain that information for multiple cores.
That CPU progressbar, I think, get's overall usage. He could maybe use Performance counters.
CodeBank contributions: Process Manager, Temp File Cleaner
Originally Posted by SJWhiteley
"game trainer" is the same as calling the act of robbing a bank "wealth redistribution"....
-
May 3rd, 2010, 07:52 PM
#10
Re: *NEW* Process Manager
I dunno how hard it is, I've seen it in other apps but I don't know if those other apps are managed code or not...
-
May 4th, 2010, 03:30 AM
#11
Re: *NEW* Process Manager
I was curious so had a go at using performance counters to track each CPU/Core and came up with the following (run from a timer)
vb Code:
Dim Counters As New PerformanceCounter("Processor", "% Processor Time")
For i As Integer = 0 To Environment.ProcessorCount - 1
Counters.InstanceName = i
DirectCast(Me.Controls("CpuProgressBar" & i + 1), ProgressBar).Value = Counters.NextValue
Next
of course this assumes that you have already added a progress bar for each CPU/Core and named it "CpuProgressBarX" where X is the number of the CPU/Core starting at 1.
However! This does not seem to work... the value that the performance counter returns is always 0 or 0.0394948 or something like that, even though that is the exact same performance counter that I can add to Perfmon and it shows the correct readings. So I'm a bit stumped!
-
May 4th, 2010, 09:40 AM
#12
Lively Member
Re: *NEW* Process Manager
I had the same thing, but found a way that worked for me by using a single rather than integer, Integers cannot do floating point numbers
vb Code:
Dim v As Single v = Cpu1performanceCounter1.NextValue() Cpu1progressbar.Value = CInt(v) lblCpu1.Text = "CPU 01 - Usage: " & Convert.ToInt32(v).ToString & "%"
Last edited by BobbyP; May 4th, 2010 at 10:36 AM.
-
May 14th, 2010, 11:41 AM
#13
Thread Starter
Junior Member
Re: *NEW* Process Manager
I know a full working way to do this, I will release it in a bit thanks.
-
May 14th, 2010, 07:02 PM
#14
Thread Starter
Junior Member
Re: *NEW* Process Manager
*DOUBLE POST* SORRY!
Updated it check new download
-
May 14th, 2010, 07:41 PM
#15
Re: *NEW* Process Manager
What about quad core PCs? And how do you compensate for multi-thread processors that show up as double the original cores?
CodeBank contributions: Process Manager, Temp File Cleaner
Originally Posted by SJWhiteley
"game trainer" is the same as calling the act of robbing a bank "wealth redistribution"....
-
May 14th, 2010, 08:51 PM
#16
Thread Starter
Junior Member
Re: *NEW* Process Manager
Not sure, stop working on this though. I just started 2 weeks or so ago haha, Thinking of something to make atm, simple.
-
May 15th, 2010, 01:57 AM
#17
Re: *NEW* Process Manager
Originally Posted by Cave
Not sure, stop working on this though. I just started 2 weeks or so ago haha, Thinking of something to make atm, simple.
Err... but this is simple. It's 60 lines of code. It doesn't get much simpler than this.
I only mentioned the quad core thing because your application is fixed for only operating dual core processors =/
CodeBank contributions: Process Manager, Temp File Cleaner
Originally Posted by SJWhiteley
"game trainer" is the same as calling the act of robbing a bank "wealth redistribution"....
-
May 15th, 2010, 09:29 AM
#18
Thread Starter
Junior Member
Re: *NEW* Process Manager
Well, I could make it have like options, to select what you have, and I am not sure about quad, There is only 1 and 0 for the performance manager = /. Yeah 60 lines of code, but still. I am just new, i just have to MSDN alot of functions some times to learn them, I mean just have to take it slow.
-
May 15th, 2010, 07:12 PM
#19
Re: *NEW* Process Manager
Originally Posted by Cave
Well, I could make it have like options, to select what you have, and I am not sure about quad, There is only 1 and 0 for the performance manager = /. Yeah 60 lines of code, but still. I am just new, i just have to MSDN alot of functions some times to learn them, I mean just have to take it slow.
Of course, of course. If you haven't taken a look at the code for my process manager, I implore you to check it out.
It doesn't have any CPU features at the moment, but I think you can learn a lot about the processes, modules, and a ton of other functions that will help you out in other projects.
CodeBank contributions: Process Manager, Temp File Cleaner
Originally Posted by SJWhiteley
"game trainer" is the same as calling the act of robbing a bank "wealth redistribution"....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|