473,320 Members | 1,828 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

log running tasks

hi,
how can i log (in the eventlog or in a file) the activity
of my pc...
i need to monitor at regular interval the running applications
(like showed in task monitor...)on my machine,
and if's possibile the modified/added/deleted files
on file system.
it would be good that the app runs like a service ...
i'have found something about the Process.GetProcesses() but i
need only the task(applications) and not all processes...
tnx in advance for help
andrew
Nov 21 '05 #1
2 988
You could try:
a) going for only ones that have a window (either enumerate the top level
windows instead of the processes, or find some way of associating between
process and window - although how, I don't know)
b) excluding ones from a certain list of known 'system processes'
c) only including ones from a certain list

"Andrew" wrote:
hi,
how can i log (in the eventlog or in a file) the activity
of my pc...
i need to monitor at regular interval the running applications
(like showed in task monitor...)on my machine,
and if's possibile the modified/added/deleted files
on file system.
it would be good that the app runs like a service ...
i'have found something about the Process.GetProcesses() but i
need only the task(applications) and not all processes...
tnx in advance for help
andrew

Nov 21 '05 #2
Hi,

Use the eventlog class to write to the eventlog.
http://msdn.microsoft.com/library/de...classtopic.asp

Ken
------------
"Andrew" <as*@for.it> wrote in message news:2s*************@uni-berlin.de...
hi,
how can i log (in the eventlog or in a file) the activity
of my pc...
i need to monitor at regular interval the running applications
(like showed in task monitor...)on my machine,
and if's possibile the modified/added/deleted files
on file system.
it would be good that the app runs like a service ...
i'have found something about the Process.GetProcesses() but i
need only the task(applications) and not all processes...
tnx in advance for help
andrew

Nov 21 '05 #3

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

Similar topics

17
by: los | last post by:
Hi, I'm trying to create a program similar to that of Google's desktop that will crawl through the hard drive and index files. I have written the program and as of now I just put the thread to...
2
by: Bob Murdoch | last post by:
I'm developing an intranet application using W2k server and IE5.5 - 6.x clients. I've got one particular function that calls a stored procedure to update a number of records, depending on user...
13
by: BK | last post by:
Can someone point me to a code sample that illustrates executing long running tasks (asynchronous) from a web application in ASP.NET? I assume that Web Services might come into play at some point,...
4
by: Nick Sinclair | last post by:
Hi all, I'm new to C. I have successfully written a small C program that acts as a "wrapper" around cgi scripts. These scripts perform admin tasks such as backing up etc. Obviously, The need...
7
by: mircu | last post by:
Hello, What would be the best for implementing architecture that runs several, independent, scheduled or run by the user on demand task in the same time? Now in my program every task creates...
4
by: RSH | last post by:
I have an application that creates an Access version of a SQL Server database and then it moves the resulting database to an ftp server for the client to download and run reports against etc. The...
2
by: mscurto | last post by:
Is there a way to set up access to open and run a query in a particular database at a particular time each day? This would be run from a Windows 2000 desktop.
4
by: Simon | last post by:
If I am running a long time query, how to show a wait page at then? Is there any recommended way to do it? Thanks.
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.