Alert when the load on the system exceeds threshold

hi there!
I am trying to get alert when the load on the system
exceeds certain threshold value.
Load is calculated as the function of
CPU_utlisation,Memory_utlised,time monitored.
So i need to get the CPU_utlisation and memory utlisation
values first for calculating the load and then I check
with the threshold and then have to alert.
if any one have any idea ,please help me out,
thanks,
srinivas.

To get this kind of system information, you'll have to interface with your OS like executing an OS command using java.lang.Runtime, or using JNI. Java doesn't have anything for this in its standard libraries.
Note that your program won't be platform independent anymore when you use OS features.
Cheers,
--Arnout                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • ***Raising Alerts When the message is struck in the Queue

    Hi Experts,
    Is there any way of Raising Alerts When the message is struck in the Queue I want to notify the user if the message is struck in Queue(smq1,smq2).Please let me know the same.
    Thanks,
    Srinivasa

    hi
    you can trigger alert for any of the component failure.
    for this u nees the ccms configuration.
    than you need to configure in RZ20 and RZ21.
    steps.
    1. create alert category in ALRTCATDEF
    2.enter long text
    3. add fixed recepient.
    4.go to RZ21.
    5. select display overview for method
    6. serch for method CCMS_Send_Alert_to_ALM.
    7. copy the method and create ur own Z method.
    8. open ur method.
    9. under control tab select ONLY IN CENTRAL SYSTEM TRIGGERED BY CCMS AGENTS.
    10. in parameter tab give ur alert cat created before.
    11.under release tab select AUTO REACTION METHOD.
    12. go to RZ20.
    13. a list of system will be displyed select ur own xi system
    14. now select the queue name for which u want to trigger alert.
    15.goto property button and double click.
    16. go to method tab and click on method assigment.
    17. goto method radio button and assigne the method u created in RZ21.
    done.....enjoy....
    u can check the log in slg1 tcode
    regards,
    navneet

  • Cannot install AIR application when the system date is set beyond 10/31/2017

    I created a native time-stamped installer for an AIR application. While testing the installer with different system dates, I noticed that the installer does not work when the system date is set beyond 10/31/2017. I tested the same with a self-signed certificate as well as a Verisign certificate and found the behaviour to be consistent. Why does the installer stop working after this date?

    Thanks very much for keeping this issue alive.
    Let me restate the issue:
    We have a AIR 2.0.4.13090 sidecar application. Installing the application for the very first time seems to work. Any uninstall or update after that runs into issues on the problematic Windows 7 64 bit machine. The installer logs all point the finger to Windows Installer having problems writing to the temp directory.
    We've gone through many, many things trying to resolve this, including resetting administrative access to the temp directory and flushing the temp directory out entirely. I'm reporting this news secondhand, so it's not possible for me to directly relate the exact measures taken, step-by-step. The ONLY thing that reliably worked for running and installing updates on this AIR application was the following:
    1) Create a new administrative level user.
    2) Log in with that user.
    3) Disable firewalls.
    4) Run the updater.
    5) Log back in as normal user, delete temporary user.
    if the user account created in step 1 is not deleted in step 5 and is used to attempt a further update or uninstall, it will fail. This seems to tell me that AIR is able to utilize the temp folder via Windows Installer correctly only once. After that, it dirties this directory somehow and is unable to use/write to it, and subsequent uninstalls/updates fail with error 0.
    Again, the failure all show msi issues writing to the temp directory. They result in an "Error 0" alert dialog in AIR.

  • Error: The e-mail server could not be reached when the system was trying to

    Dear All,
    I've configured the Mail Transport in Portal successfully with SMTP as MS Exchange Server and Third-party Mailing servers. But due to some licensing issues a new MS Exchange mail server have been setup replacing the existing ones.
    And when i configure the Mail Transport in the system i get the below message on the eMail Window:
    "Error: The e-mail server could not be reached when the system was trying to send the message!
    javax.mail.MessaginException: 530 5.7.1 Client ws not authenticated
    I've configured (all the steps) the same way as i used to before and restarted the server as well! Please let me know the issue to be resolved, the telnet to the mailserver is also successful. I've try'd searching SDN, didn't find the exact solution... any notes on this?
    Thanks,
    MS

    Hi,
    It will depend on your infrastructure, I am not sure and have limited knowledge on netowrks, but in my current landscape both the system were in same domain, but  still i had to maintain proxy configuration.
    Since it giving authentication error, it feel it could be proxy error.
    Please refer below links which talks about same error :
    http://java.sun.com/products/javamail/FAQ.html#smtpauth
    Or else i think it is issue with port.
    Regards,
    Jigar Oza
    Edited by: jigar oza on Jul 6, 2010 12:43 PM

  • I disabled my Macbook  Hard Disk and lock the settings, after i try to reboot, the system wouldn't come up. It refuses to read instructions from the hard disk. How can i enable the hard disk when the system wouldn't come up?

    I disabled my Macbook  Hard Disk and lock the settings, after i try to reboot, the system wouldn't come up. It refuses to read instructions from the hard disk. How can i enable the hard disk when the system wouldn't come up?

    How do you disabled it if running the same?

  • How to access my hard drive when the system does not work

    how to access my hard drive when the system does not work

    Startup - Gray, Blue or White screen at boot, w/spinner/progress bar
    Startup Issues - Resolve
    Startup Issues - Resolve (2)

  • Convert the date of string to datetime format 'MM/dd/yyyy' when the system date format is 'dd/MM/yyyy'.

    I need convert the date of string format 'MM/dd/yyyy' to datetime format 'MM/dd/yyyy' when the system date format is 'dd/MM/yyyy'.Since
    I need to search values based on date where my database datetime  is 'MM/dd/yyyy' format.

    In my opinion you should re-consider the assumption that the date picker returns a string. Maybe it is able to return a
    DateTime object directly instead of string. Then you will pass this value as a parameter of SQL query. This should work regardless of computer configuration.
    Otherwise, follow the previous string-based approaches.

  • Why do I get a "can't import spreadsheet because it was created with an unsupported application version" alert when the updated version was purchased direct from the Mac App Store? The spreadsheet is now lost somewhere!

    Why do I get a "can't import spreadsheet because it was created with an unsupported application version" alert when the updated version was purchased direct from the Mac App Store? The spreadsheet is now lost somewhere!

    Pages 4.3 should still be in an iWorks folder within your Applications folder. 
    http://www.apple.com/feedback/pages.html

  • When the system status says icloud is OK but it reports "encountered an error when connecting to the server", where do you report the problem, or how do you connect?

    When the system status says icloud is OK but logon reports "encountered an error when connecting to the server", where do you report the problem, or how do you connect?

    Yes i am hoping staff here will look into things, even if i can not get the speeds back what i previously had for near 6 months it would be nice to know why i can not and why the download has dropped by around 10Mb and why my upload is now inconsistant.
    Ironically the post concerned got edited because i actually posted the full rather silly reply the Indian call centre made babbling on about down rates rather than the uprate i queried with them.
    Bit of a shambles really no real way on BTs web site to contact anyone with regards to broadband issues.
    The form which you kindly suggested and i appreciated your help ended up in the hands of someone who either did not bother to read the query or just had such a poor grasp of English they did not understand the query.
    Pretty pathetic really when BT are the largest telco in the UK. I think ill be taking my broadband business elsewhere regardless at the end of my 18 month contract, while im sure staff here are wonderful and may even yet help me, i do not particularly want to go through the almost like pulling teeth pain of getting any future issue looked at.
    They are great at quickly fixing voice line problems and have a great test on their site. Broadband side of things and support for that though seems a shambles.

  • When the system goes into sleep mode it keeps making a beeping noise. The system is shut down by holding the button in

    When the system goes into sleep mode it keeps making a beeping noise. The system is shut down by holding the button in
    and will then boot up again without any errors.
    I Have replace RAMS, Motherboard and Power Supply. I have check the Bio's  and Power setting on the unit. there is no place to cause this issue.
    Please help
    PC Power Tech

    Syamak,
    You didn’t specify where the beeping noise is coming from. 
    If it’s coming through your speakers, you could try to update your audio drivers since it’s possible they’re incorrectly sending a signal to the speakers as the audio chipset enters standby. 
    If the noise is coming from the motherboard, you’ll need to take a closer look at your system’s configuration or contact the manufacturer.
    I hope this helps.
    Mike
    Windows Outreach Team – IT Pro

  • HT1379 Summary: how to transfer files from SD card when the system (Mac OS X v 10.7.5) will NOT recognize SD cards.

    How to transfer files from SD card when the system (Mac OS X v 10.7.5) will NOT recognize SD cards?
    Insert the SD card.
    System opens iPhoto with SD contents.
    Want to transfer files from SD card to system drive.  iPhoto closes
    SD card directory removed from the Finder window and is not available again. 
    I don't want to have to reboot the system every time I want to perform this option.
    What's wrong here. 
    The support columns show this isn't an isolated incident with all sorts of solutions possible.
    This is a simple task - there should be a simple method for the system to recognize SD cards.
    What's the answer?
    I've reviewed a recommendation to reset the SMC.
    https://discussions.apple.com/message/18500187#18500187
    and
    http://support.apple.com/kb/HT3964
    and another thread that says, basically, you must buy extra hardware to perform this simple task,
    https://discussions.apple.com/message/16911326#16911326
    another one that has the same problem with OS Mountian Lion,
    https://discussions.apple.com/message/21919740#21919740
    another one with the problem that says SD cards can't be read by Apple unless the card is formatted specifically for Apple, ie. that Apple is not compatible with other cards, but the problem maybe something else that requires Apple service - (bad SD card reader?).
    https://discussions.apple.com/message/18711818#18711818
    there are probably more discussions, but I dont' want to spend my entire sunny in Seattle day working this.
    thanks for the help!

    Bucky Fullmeister wrote:
    When I plug in an SD card, the finder window shows it under the DEVICES section.  At this point, I can drag the contents to the hard drive.  However, when I screw up and click the character on the right side of the name - it apparently closes the SD card and I can't find any command to reload or re-recognize the card.  I have to remove and reinsert the card and then sometimes it recognizes the card.  Other times I reboot and it will recognize it.
    What does that character on the right side of the SD card name do?  Is it an eject function - with no way to subsequently reread the drive?
    It ejects or unmounts the card. When the SD card mounts click on it once to highlight it and then drag the files shown within it to the new folder.
    Pete

  • How to add CD/ Tapr Drv when the system is enable

    Sir is there any body who will help me to solve the problem that when the system is enable and I want to attach the CDROM & Tape Drive to the system what i have to do

    Hello,
    depends on the system and OS version.
    If the CD-ROM and tape-drive are SCSI (on separate channel from the system disk), just attach them and issue devfsadm -C disks; devfsadm -C tapes (Solaris >= 8) or drvconfig; disks; tapes (Solaris < 8)
    If the CD-ROM is IDE, impossible without restart !
    Anyway review the manpages for the above mentioned commands.
    Michael

  • SSH startup script when the system reboot

    Hi all,
    I have a script for start/stop for sshd and it is fully tested and worked well. I have create the link to rc2.d. When the system reboot, 'PRNG not seed' is shown and the sshd cannot start up after reboot. Then, I can start sshd manually. Is it possible to start the sshd automatically after reboot?
    Please advise.
    Thank you for your attention.

    If you're running prngd daemon for entropy generation on your system, make sure prngd starts before sshd. It seems like you're able to successfully start the sshd daemon manually because prngd has already been started on systems bootup.

  • How to unactive VC 7.1 when the system start

    Hello,
    I try to unactive the restart of VC when the system is starting up but not uninstall VC.
    I have desactivated the service with nwa but VC restart when the system sap is started.
    If anybodies have an idea about this =)
    Franck Ruland

    Hi,
    Please see:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/de/94/0a5b422f786255e10000000a155106/frameset.htm
    For this you will need to use the tools in the NetWeaver Developer Studio
    Hope this helps.
    Regards.
    Omer.

  • There is no "beep" sound alert when the totally flat battery start to charge for my iPhone 5

    There is no " beep" sound alert when the totally flat battery start to charge for my iPhone 5

    Problem solved. I tore the phone down and did another, the third one, liquid repair and clean on it and to my surprise it fired right up with absolutely no signs of damage and all functions working perfectly.

Maybe you are looking for

  • Using wildcards in import statement

    I typically use wildcards in my import statements. For example: import javax.swing.*; Are there any advantages, though, in specifying exactly which classes I am importing? For example, import javax.swing.JPanel; import javax.swing.JLabel; import java

  • TS2771 How do I fix my IPod when it gets into "IPod is disabled connect to ITunes"

    How do I get my Ipod fixed after I lock myself out? I usually lock myself out for my little brother, he likes to mess with it, but he had it to long and got me locked out! It says go on Itunes, but where?

  • Problem with script – NEED HELP

    HELP!!! why isn't the script working? on adding folder items to thefolder after receiving theAddedItems repeat with eachitem in theAddedItems set theSender to "me<[email protected]>" set recipCommon to "Files" set recipAddress to (choose from list {"

  • Connection closed by remote host for RNIF

    Hi All, Hi All, Any one can help us. We are getting the following issue while customer trying to send the data to XI. https://XXXXX:YYYYY/MessagingSystem/receive/RNIFAdapter/RNIF received HTTP response "699". Error connecting to host XXXXX at port YY

  • RESET FUNCTION EVEN DINT TURN ON MY IPAD MINI WHAT DO I DO NOW

    my ipad is not turning on , i did press home button and top but together to reset but it dint turn on also i hold top button for 3 sec and then hold home button ,but dint turn on either what else i can do to turn my pad minni back on.