|
I recently downloaded from download.com a program called Rambooster which can free memory which are not in use or leaked by previous programs. Could you teach me how to design this kind of program? Thanks.
David
from Hong Kong
|
|
|
|
|
Hy!
I'm interested in determining CPU time for processes under Windows. Could tell how this can be done, or sugest a site which contains information about this subject.
Thank you!
|
|
|
|
|
It's me again. I think wasn't too clear. What I mean is that I want to write a program that monitors the CPU, and I'd be greatfull if you could suggest where I can fing some documentation.
|
|
|
|
|
You can the a sample code for Performance Monitoring in
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/perfmon/base/browsing_performance_counters.asp
|
|
|
|
|
Hi,
ur program is very good in every sense. for last 3 months i am looking for some one who can help me to get process wise cpu usage in NT (i have the procss ID) but nobody helps me. could u pls. tell me how to do that. it will help me alot.
* could u pls. tell me how to get process wise memory usage in win 9x?
pls. help me to get out of this problem.
pradip
|
|
|
|
|
Hi,
ur program is very good in every sense. for last 3 months i am looking for some one who can help me to get process wise cpu usage in NT (i have the procss ID) but nobody helps me. could u pls. tell me how to do that. it will help me alot.
* could u pls. tell me how to get process wise memory usage in win 9x?
pls. help me to get out of this problem.
pradip
|
|
|
|
|
Is posible to obtain the applications that are running on a remote machine over the same network? If o.k how I can do it?
|
|
|
|
|
Yes you can connect to a Remote Machines Registry
|
|
|
|
|
This is what I want. And I think it excellent. I have gotten the
graphfx project you distributed on this web, and I came here form
the link of that web page. I want some code about how to change
the graph into detail graph with a animate rectangle.
I would use these codes for my personal use, could you send these
codes for me?
Thank you very much!
my address: learner_y@sohu.com
eOne
|
|
|
|
|
I think need two optons to make program really iseful
- suitable:
1) Make to show only process that exceed 1% of processor load.
(all else is sheet info !!!)
Make self appearing from sticky state when resources really changes to some crictical state as adding increasing virtual memory or reaching that limit.
2) Make interface except grahps possible to be removed- not useful info,
but screen consuming(!!!). Need option to - eliminate distance between bars as possible for nice view, place text on bars or else.
- also:
to separate memory into physical and virtual as in task manager- very useful.
- also
to be all useful in one
- to show disk activity
for the same -
internet speed better in on that one. All code there is on this site,
but it wil be really worth than.
|
|
|
|
|
|
|
Why not enum the threads under the processes?
|
|
|
|
|
My bad, you do enum threads...great application...beats the hell out of perfmon.exe...DO NOT give out source or you will be sorry...only share snippets...I learned my lesson the hard way...Cheers!!!;)
|
|
|
|
|
how about sharing the source?
|
|
|
|
|
Darren
Ok the situation, I'm just about to start selling commercial software on the internet. In time I want my own company. Now I'm currently revising the ProcessStudio code so it can record stats and playback the stats. The UI is going to be improved as well. On that point I could not possible release the source code as it will affect my sales .
I get a few *strange* requests each month from people demanding (yes demanding) the source, and I guess other people can see $$$ in this type of product.
I'm a charitable guy and I see you have submitted a article to code project, so which part of the code are you interested in (I can guess, the bit that enumerates the processes and stats - right?).
Email me outside of codeproject and I'll do my best to help you.
Normski. - Professional Windows Programmer
|
|
|
|
|
If you don't want to let people steal your code...
... use GNU GPL.
|
|
|
|
|
That don't stop asian sector of world.
|
|
|
|
|
If you choose a white background in the Colors dialog to something other than black, the background overwrites the color on the CPU and memory bars. For a dramatic example of this bug, set the background to white, the text to black, the grid to black, and all the bars to black. The grid disappears and the bars are visible only as outlines. If you double click on a process to get the detail view, the chart of activity appears in white (invisible), as does the name of the process you're viewing the detail on (to the right of the icon at the top of the view window).
If you are doing any maintenance on this, it would be nice to be able to set the background color without nuking the display.
He was allying himself to science, for what was science but the absence of prejudice backed by the presence of money? --- Henry James, The Golden Bowl
|
|
|
|
|
get the message ... Can't find PSAPI.dll
|
|
|
|
|
got the message, get this message "look your Platform SDK"
Norm Almond
Chief Technical Architect
FS Walker Hughes Limited
|
|
|
|
|
http://www.codeproject.com/docview/graphfx.asp
Thanks Norm!
Dan
|
|
|
|
|
I really like the graphical representation given using this tool. However, it seems to use a large amount of CPU time (16% on my machine in the background, 30% with the mouse in the window). It also makes the resources bounce all over. Not that great for detecting Resource leaks.
A "lightweight" mode might be nice
|
|
|
|
|
Yes I've noticed, the smaller the window the 'lighter' the impact.
I've tracked this down to double buffering technique, which uses BitBlt, this seems to be rather an intensive operation in CPU cycles.
I will look into re-engineering the code so it's more effiecent.
Thanks for the comments
|
|
|
|
|
How about using Direct-Draw for the window, or, at least, implementing dirty-rectangle handling?
-=- James
|
|
|
|