473,804 Members | 4,795 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Confusion with runing processes

6 New Member
Hi everyone, I've been trying to find a way to distinguish between processes(or applications) that are just running and processes that are actually doing something. For example how can you distinguish whether a defragmenter is currently defragmenting or just open. Is it a difference in CPU usage or Memory usage? Or is there some other variable that changes that can give a clear indication?

Thanks to all who help.
Jul 28 '08 #1
1 1168
rohypnol
54 New Member
Hi,

Open Windows Task Manager, go to View -> Select Columns and check the CPU Usage, CPU Time columns, I/O Reads, I/O Writes and I/O Other. These should tell you what each process is doing.

In your particular case, for the defrag, the I/O columns should be of interest. For example, I have installed DiskKeeper 2008 Pro which rarely uses any CPU but it does a lot of defragmentation when I'm not paying attention to my computer. HDD LED blinks while CPU is as 1% ? I take a look at the I/O columns to see who's busy. Also, note that the process that uses the most CPU is not always the one to slow your system because there may be another process that works a lot with your hard drives. Your system could sometimes be slow because there's a process that does a lot of reading/writing while Windows is trying to access the paging file.

For who doesn't know:
CPU Usage - how much % of the CPU is in use at that moment by the process
CPU Time - actual total foreground time which was used by that process since it was launched (this may be 1 second for applications that just stay in the background and don't do very much or it may be hours for applications that use the CPU intensively). if this value increases, the process is using CPU.
I/O Reads, I/O Writes, I/O Other - these will tell you how many times the process has accessed input/output devices. if one of these values increases, the process is working.

Hope this helps,
Tom
Jul 28 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
5399
by: Jim | last post by:
I'm using the shmop_* functions to create and access shared memory. I've never used shared memory before, so I apologize if my reasoning is completely off... $shm_id = shmop_open(ftok(__FILE__, 'a'), "c", 0600, 32); That works for the first process, but if I try to launch a second process it gives me the warning "Unable to create or attach shared memory" and fails. According to the PHP manual, the 'c' flag will create shared memory,...
3
1671
by: dahuzizyd | last post by:
Hi all I want to judge an application is runing or not when another application start . If the application is running , get focus. I use the Pinvoke to invoke the FindWindow function ,I declared FindWindow function in assembly WindowsApplication3. If the WindowsApplication2 is running ,then WindowsApplication2 getfocus . WindowsApplication2 has a form named Form1
4
1401
by: archana | last post by:
Hi all, I am having one confusion regarding invoking web method of web service asychronously through windows applicaiton. What i am doing is i am having one long runing web method whose one way attribute is set as i don't want any return value from that method. What i observered is when my window application start calling web method asynchronoysly
1
3853
by: Joey | last post by:
I am using the below code to run a dos based program. While it is running you can hit ctrl-c to cancel the process. Does anyone know how I can send the same keystroke to the already runing process after the below code is executed? Dim process As New Process() Dim FileName As String = "externalprog.exe" Dim Arguments As String Arguments = "/c"
5
2835
by: mastar | last post by:
Hi all im trying to run a file localy on my server (2003) using asp , this is the code : <%@ LANGUAGE = "JAVASCRIPT" %> <% var commandLine = "File_NAME.EXE"; var WshShell = Server.CreateObject("WScript.Shell"); WshShell.Run(commandLine); WshShell = null;
1
1456
by: cpajoe2001 | last post by:
Was hoping to get some help with this problem. What I have is a website that will be used to create DFS links on a DFS server from a asp 2.0 web site. The user puts in the share name and then selects the link location. Currently the only way I know of to insert the link is to run DFSCMD in dos currently I have a script that does this. The syntax is cmd \c DFSCMD /add "\\DFSServer\DFSGroup\Share" "\\TrueServer\Path" I also have a C# console...
2
1613
by: atiq | last post by:
why isn't my Access giving me warning before runing the delete, append or update query because usually it warns you that you are about to append, update or delete the following number of records. It must be the settings, can someone help!
4
2887
by: GiJeet | last post by:
Every example I see regarding opening a file uses paths like this: FileStream inputStream = new FileStream ("C:\\file.txt", FileMode.Open, FileAccess.Read); Great if the file is always on the root of the C: drive but what if that’s not the case?! If I add a file to a project in my solution I can’t hard code the path to the file which lives in something like C:\Documents and Settings \Administrator\My Documents\Visual Studio...
0
9706
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9579
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10577
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10320
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10077
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7620
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5521
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2991
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.