473,668 Members | 2,594 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

monitor program hard disk activity

max
Hi all,

I want to write a program in C/C++ which monitor any hard disk
activity by a particular program which have assigned for WINXP. For
example, the program are going to run like this.. "fileact word.exe",
so it will monitor any harddisk activity produce by word.exe.

What kind of header/library should i include or should i look into??
any info will be great help, at least help by pointing me any website
or example are doing similar jobs.

Thanks & regards,
Max.

Feb 9 '07 #1
4 4198
max wrote:
I want to write a program in C/C++ which monitor any hard disk
activity by a particular program which have assigned for WINXP. For
example, the program are going to run like this.. "fileact word.exe",
so it will monitor any harddisk activity produce by word.exe.

What kind of header/library should i include or should i look into??
any info will be great help, at least help by pointing me any website
or example are doing similar jobs.
You need to ask in the newsgroup dedicated to Windows XP, since all
device control (hard disk included) is done at the OS level and C++
language does not have any mechanisms for that (neither does C, BTW,
and it's a separate language, if you didn't know).

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Feb 9 '07 #2
max
On Feb 9, 11:12 am, "Victor Bazarov" <v.Abaza...@com Acast.netwrote:
max wrote:
I want to write a program in C/C++ which monitor any hard disk
activity by a particular program which have assigned for WINXP. For
example, the program are going to run like this.. "fileact word.exe",
so it will monitor any harddisk activity produce by word.exe.
What kind of header/library should i include or should i look into??
any info will be great help, at least help by pointing me any website
or example are doing similar jobs.

You need to ask in the newsgroup dedicated to Windows XP, since all
device control (hard disk included) is done at the OS level and C++
language does not have any mechanisms for that (neither does C, BTW,
and it's a separate language, if you didn't know).

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask

Ok.. thanks.

Feb 9 '07 #3
max
I know the different between C/C++, since i'm used to be a C++
programmer. i'm hoping someone who have similar experience to share
their knowledge, maybe there is one here. :)

Thanks.

Feb 10 '07 #4
max wrote:
I know the different between C/C++, since i'm used to be a C++
programmer. i'm hoping someone who have similar experience to share
their knowledge, maybe there is one here. :)
Most likely there is somebody here who actually has the relevant
experience. It doesn't make it any more topical, however. I am
pretty sure there are men here, and that some of them can share
their knowledge about maintaining good health. But with all the
interest it might generate, it is simply *not topical* in c.l.c++.
Can you grok the topicality concept? Once you do, you'll learn
to appreciate it, trust me.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Feb 12 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2861
by: Phil Sherman | last post by:
What is the relationship between the snapshot elements: Log pages written Number write log IOs Number partial page log IOs There doesn't appear to be any information in my PDF System monitor guide or the online information center. When a COMMIT is issued; a log page containing updates must be written to disk before control is returned to the application program. This
2
3307
by: Jack David | last post by:
Using the code below I am able to monitor a single directory for a new file and then kick-off a process to deal with the file. The question is??? How would I modify this code to be able to monitor a couple of different directories and based upon the directory where the new file is created kick-off a process Example: File A in Directory B starts process C
0
968
by: Bob | last post by:
I'd like to be able to make a little app that monitors disk activity just like task manager, listing all active processes with their current disk read and write values. It's not obvious to me how to do this with existing performance counters. Is it possible? Bob
8
8540
by: dantan98 | last post by:
Hello all... Please don't ask me why, but I am currently tasked to somehow discover when the hard drive is being accessed (for reads and writes). All of the searching I have done has been fruitless. Is there some windows class/API/etc. that will let me know when the hard drive is being read from or written to?
18
2038
by: VSmirk | last post by:
I have a task that involves knowing when a file has changed. But while for small files this is an easy enough task, checking the modification dates, or doing a compare on the contents, I need to be able to do this for very large files. Is there anything already available in Python that will allow me to check the hard-disk itself, or that can make my routines aware when a disk write has occurred? Thanks for any help,
4
2382
by: John | last post by:
I'd like to write a programme that runs on a PC with two monitors. The application would be used in a shop, with one monitor for shop assistant and the other for the customer. The two must show things independently, so the application can display certains things on one monitor (eg goods in the store) and certain other things on the other monitor (eg details of a certain product). Is this possible?
4
6156
by: Raj | last post by:
Can we create an event monitor for statements in a partitioned environment? CREATE EVENT MONITOR stmt_event FOR STATEMENTS WRITE TO FILE '/home/rajm/event' ON PARTITION 0 GLOBAL DB21034E The command was processed as an SQL statement because it was not a valid Command Line Processor command. During SQL processing it returned:
6
6821
by: wugon.net | last post by:
Hi , Anyone know how to monitor db2 trigger activity ? We suffer some trigger issue , and we try to monitor trigger's behavior use event monitor and db2audit, but both tools can not get trigger's sql statment and cost, have other tools can get trigger's executing sql statment and cost ? our test case as follow: Env:
0
2626
by: wugon.net | last post by:
Hi , Anyone know how to monitor db2 trigger activity ? We suffer some trigger issue today and we try to monitor trigger's behavior use event monitor and db2audit, but both tools can not get trigger's sql statment and cost, have other tools can get trigger's executing sql statment and cost ? our test case as follow: Env:
0
8459
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
8889
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...
0
8790
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8572
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
8652
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
6206
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
4372
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2017
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1779
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.