473,386 Members | 1,842 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,386 software developers and data experts.

C#: performance Alerts

750 Expert 512MB
C#: programatically i wanna do
In Admin tools: PErformance-> Performance Logs and Alerts
i want to create "Alerts"

New Log settings...
Basically for printer (for testing if a printer prints more than 10 pages in one time, processor usage exceeds 50% )...
i want logs to be created in Windows logs... Event viewer... I guess they do get created automatically....

now next thing is if i can do the above programatically... how do i filters the logs ... so that i know which once i created?....
Feb 12 '08 #1
2 1738
PRR
750 Expert 512MB
i want to monitor system for processor usage,memory usage, disk space etc.. and if it exceedds certain limit (processor usage >80) . write to event log... AS far as i know this is done using performance alerts... Can i do this programmatically?
Feb 17 '08 #2
PRR
750 Expert 512MB
How can i continuously monitor a system... for example processor usage have a threshold say 80%, if it exceeds create a event log for the same...Similarly for other things like memory etc...
I have gone through performance alerts.... that is exactly wat i want... though i have not been able to do it using C#...
Feb 17 '08 #3

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

Similar topics

0
by: ryan baldwin | last post by:
Hi, I posted this in the GotDotNet .NET Alerts forum, but that was 3 days ago and still no reply so I'll try my luck here. My apologies if there's a better group to post this question in, but at...
1
by: rhompi | last post by:
Hi, I have a problem displaying korean characters in javascript alerts. Korean characters are displayed fine in menus, webpages, buttons,etc. except in javascript alerts. Can anyone please help...
3
by: RobG | last post by:
A little while ago I opined that do/while loops are harder to read than for loops, and therefore I preferred using for loops. However, it was pointed out that do/while has significant...
2
by: David Wagner | last post by:
Hi, I am looking at wanting to configure and manage some Performance Monitor logs through a C# application. Specifically, I want to be able to define and configure named performance log...
2
by: Luis Esteban Valencia | last post by:
Is there a way to send timed alerts to ALL web clients conencted to the IIS server (on a server level)? IF NOT Is there a way to send timed alerts to ALL web clients using a certain .Net web...
4
by: nick | last post by:
Is it possible to disable/suppress alert popups in javascript? I need to write a function that will loop through a form's inputs and "manually" fire their onchange events (if found). Some of those...
7
by: swethasivaram | last post by:
Hello I have a Java-based web application whose interface can be in multiple languages. My requirement is that the javascript alerts that I display should be displayed in the language in which...
1
by: =?Utf-8?B?R2VvcmdlIFIu?= | last post by:
I used to get text message alerts from mobile.live saying I had a new Hotmail e-mail. Now it says I reached my limit. I went in to My Alerts and checked everything. It said it would reset. I double...
1
by: PRR | last post by:
C#: programatically i wanna do In Admin tools: PErformance-> Performance Logs and Alerts i want to create "Counter Logs" New Log settings... Basically for printer (for testing if a printer prints...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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,...
0
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...

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.