Monitor an application

Environment is Windows server, R2008 I think, a 64 bit server.
We need to monitor the performance of an application and log some data in a text file There is a field called Commit and we need to check and record its value over an entire day.  How can this be done?   I suspect power shell can do it
but have never used that.
I have found the command get-process but only the second line (the values) is needed and is to be written to a CSV file.
~jag77 We need to know what a dragon is before we study its anatomy. (Bryan Kelly, 2010)

I believe all of what you have mentioned can be done through Powershell but we will probably require additional information.
You say you are looking to monitor a field called "Commit" and check it's value throughout the day but where is this field stored?  You mention a text file but is that field stored in the text file or some database somewhere?
In powershell, the cmdlet 'Get-Process' displays information on processes. You say that you only need the "values" but as I understand the other fields provide context, at least the process name, so that you know what the data pertains to.  Perhaps
you could explain in greater detail exactly what you are looking for?
Thanks,
Steve
tumtum
@tumtum73

Similar Messages

  • Monitoring Remote Applications

    Hello,
    Can I use Jconsole on my local machine to monitor java applications running on a remote server (shared hosting) for which X11 forwarding has been disabled? JDK 1.5 is installed on the remote server.
    If this is possible, how do i set it up?
    NB: the remote server is a linux box, with apache jserv disabled and
    the hosting provider does not support X11 forwarding. My Local machine is a windows xp box.

    <p>JConsole will run on your Windows XP machine so you don't need X11 Forwarding. Just connect to your remote JMX agent using its JMXServiceURL.</p>
    <p>Have a look at the Using JConsole documentation for more detailed information.</p>
    <p>Regards,<br>
    Luis</p>

  • How to monitor an application using JMX

    Hi,
    How can I monitor the portal application running on  portal server by using MBeans (JMX)? For this I need to make a connection between my portal application and  MBean class, How to monitor operations? How can I do that? If anybody has come across the same requirement pls explain me with the implementation details.

    Hello,
    I have done that in a project (not Portal, but pure Java Application, should be no difference), working fine.
    The steps are as follows:
    - create MBean Server (e.g. MBeanServerFactory.createMBeanServer("test");)
    - create your MBeans
    - make them accessible to clients (register the MBeans in the server)
    - query them from clients
    see http://java.sun.com/developer/technicalArticles/J2SE/jmx.html
    for very good explanation including sample source code.
    CSY

  • Mechanism for monitor java application or JVM

    Ladies & Gentleman,
    I develop Java application under Windows 2000 datacenter. For gurantee to capture all of abnormal situation of java application and also JVM, I need to know how to capture the situation. Do any other tools to do these things? I am very appreciated if you could tell me.

    You don't exactly need any specific tools to just capture exceptions, that can easily be done by wrapping the program you want to monitor with your own main() method and adding some shutdown hooks...
    But it would be nice to know what you want to do once it happens....
    Regardless of which, here's an example of that wrap...
    import java.lang.reflect.*;
    public class Watch extends Thread
         public void run()
              System.out.println("VM is closing down");
         public static void main(String[] args) throws Exception
              if (args.length == 0)
                   System.out.println("You must supply the name of the class to start with.");
                   System.exit(1);
              Runtime.getRuntime().addShutdownHook(new Watch());
              try
                   Class theClass = Class.forName(args[0]);
                   Method theMethod = theClass.getDeclaredMethod("main", new Class[]{String[].class});
                   String[] theNewArray = new String[args.length - 1];
                   System.arraycopy(args, 1, theNewArray, 0, theNewArray.length);
                   System.out.println("Starting program with class "+args[0]+"...");
                   theMethod.invoke(null, new Object[]{theNewArray});
                   System.out.println("Program is done running.");
              catch (ClassNotFoundException cnfe)
                   System.out.println("No such class: '"+args[0]+"'");               
              catch (NoSuchMethodException nsme)
                   System.out.println("The class "+args[0]+" has no main method.");
              catch (SecurityException se)
                   System.out.println("Can't start: "+se.getMessage());
              catch (IllegalAccessException iae)
                   System.out.println("Can't invoke main method in class "+args[0]+": "+iae.getMessage());
              catch (Exception ite)
                   System.out.println("Exception occurred when running class "+args[0]+": "+ite.getMessage());
    }You can easily just swap those System.out's for something else.
    However, if you mean watching the process from outside the VM, then you need something else, I suppose.
    /F

  • Open File Dialog in same monitor as application

    I have an application that will be running on computers with dual monitors.  I am using the file dialog in my application and it always opens in the primary monitor.  Is there a way to have it open in the same monitor as the application?
    Terry

    This worked for me: http://digital.ni.com/public.nsf/allkb/DE067A159D455FE786256F3C0076A5AF

  • Display Arrangement with 3 Monitors - Change Application from primary display for Mac

    Hey guys,
    I have 3 monitors with 1 of them being a Wacom Intuos.
    Is there anyway to make certain applications load primarily on a different monitor than the one with the menu bar?
    For instance when I load Photoshop I want that whole program to load on the Wacom. I can drag the workspace to that montior but the top Menu stays attached to the primary monitor. Any way to change that?
    Thanks

    Thanks so much for the quick reply!
    I just right clicked on the photoshop icon and I don't see a option for displays.
    What am I missing?

  • Network monitoring on application level

    Hi all, is there an app that allows to monitor and log the network traffic on an iphone 4s (6.0.1) on the application level? Cheers, Kay

    There is an app called "Airport Utility" in the App Store that allows you to manage the network. you have to have an Apple router or Apple Airport to manage the network. I don't think it monitors it though. From what you're saying, you want to monitor traffic. Airport Utility can let you know how many devices are on your network and how fast the network speed is for each device.

  • Monitoring RT application on windows server 2003

    Hi,
    I developed a simple realtime application using labview 7.1.1 on windows server 2003, I can run the application (in realtime mode) in labview development platform. However, after compiling the application into a startup execuable on the RT, I couldn't monitor it anymore.
    I created a folder c:\ni-rt\startup , and tried to copy the startup executable (test1.exe) from RT (ni-rt\startup) to this folder and got a permission error, however, i logged in windows server 2003 as local administrator. I can copy other files into this folder, but not the executable "test1.exe".
    our IT said "Startup" is a special folder in windows server 2003, and does not allow executables to be put inside it. I am not familiar with this O.S. Has anyone had similar problem? If so, did you get it resolved? and how?
    thanks,
    -Joe

    Joe,
           If your application is running in Windows than it is not running in true realtime and you cannot make it a real-time startup executable.  In LabVIEW 8.0 and later you can create a debuggable executable, with which you can see the block diagram of an executable.  This Knowledge Base Article talks about how to automatically launch a VI at startup, which sounds like what you are looking for.  Here is a link to the Real Time Module for LabVIEW.
    Cheers,
    NathanT

  • Multiple monitor -- where application displayed after loading?

    I have a question. After installing Mavericks I have one very annoying problem with multiple displays. When I open an application (e.g. Outlook), I prefer it opens in the second monitor. Before that, if you drag it to the second monitor it remembers your preference and it opens always there. Now, it always opens in the main monitor and I have to drag it to the second monitor all the time. Moreover, it used to be that when you click new message (or reply), you could again select where it should be always, but now it only displays on the same monitor of the main program. Is it possible to change that?

    I had a similar problem with multiple displays in Logic Pro X.
    My solution was: System Preferences / Mission Control / uncheck Displays have seperate spaces.
    Hope it works for you too.

  • Shell script to monitor the application health deployed on weblogic

    Hi All,
    Is it possible to monitor the health of a application deployed on weblogic and send a mail if it is not running. I have JasperServer reporting application deployed on weblogic. The shell script should check if the application is running, if it down a mail should be sent.
    Thanks

    You can use WLST to get information on the state of your deployments, for example,
    the python script can be used
    class DeploymentInfo:
         def __init__(self,name,target):
              self.name = name;
              self.target = target;
         def getName(self):
              return self.name;
         def getTarget(self):
              return self.target;
    print 'CONNECT TO ADMIN SERVER';
    connect('weblogic', 'transfer11g');
    print 'OBTAINING DEPLOYMENT INFORMATION';
    deploymentsInfo = [];
    applications = cmo.getAppDeployments();
    for application in applications:
         name = application.getName();
         target = application.getTargets()[0].getName();
         deploymentsInfo.append(DeploymentInfo(name, target));
    print 'CHANGE TO DOMAIN RUNTIME ENVIRONMENT';
    domainRuntime();
    print 'APPLICATION LIFE CYCLE INFORMATION';
    applicationRuntime = cmo.getAppRuntimeStateRuntime();
    for deploymentInfo in deploymentsInfo:
         state = applicationRuntime.getCurrentState(deploymentInfo.getName(), deploymentInfo.getTarget())
         print 'Application: ' + deploymentInfo.getName() + ', State: ' + state;
         if (state != 'STATE_ACTIVE'):
              startApplication(deploymentInfo.getName());In the example above the application gets started when it is not running, you can also
    send an e-mail by using the smtplib package, for example
    import smtplib;
    server = smtplib.SMTP('email-server-host');
    server.set_debuglevel(1);
    server.sendmail(fromaddress, toaddress, message);
    server.quit();More information on the package smtplib can be found here:
    http://www.jython.org/docs/library/smtplib.html

  • How to Monitor oracle Application in unix through log files?

    Hello Every Body,
    I Would Like To Know The Log Files locations to monitor the start-up and stop error entries in the logs , like web server where its log files located,...forms server ...etc
    is it in $COMMON_TOP ..if yes where..?
    one last Q: what should i do to be a pro-active apps dba?
    using unix -AIX commands
    Thanks and Regards,

    Startup/Shutdown logs
    $COMMON_TOP/admin/log/<SID_hostname>
    Apache logs
    $APACHE_TOP/Apache/Jserv/logs
    $APACHE_TOP/Apache/Jserv/logs/jvm
    Concurrent Manager Log Files
    $APPLCSF/$APPLLOG
    $APPLCSF/$APPLOUT
    Database Log Files
    $ORACLE_HOME/admin/<SID_hostname>/bdump
    You can also use Oracle Applcations Manager (OAM), with OAM you can view information on general system activity including the statuses of the database, concurrent managers and other services, concurrent requests, and Oracle Workflow processes. You can also start or stop services, and submit concurrent requests. You can also view configuration information, such as initialization parameters and profile options .. etc.

  • Monitor what applications have been used for how long?

    Hello!
    My daughter got an IPOD touch for Christmas. She will have a 3 hours a week to play with it. Is there any way I could monitor this? She can listen to music all day long if she wants, but playing is limited. Any app you could recommend?
    Thanks!

    Maybe:
    Parental Control/Game time limiter: Apple Support Communities

  • Monitor a application on tiger

    Hi guys,
    I'm wondering if there is any command unix or an option in tiger to see if an application (program) working, shutdown or restart ?
    Thanks

    Thanks for the infos. But If the application is frozen at mid night, how do i know what's time it was frozen ? I'm trying to investigate what causing my application frozen at mid night, every night it's automatically frozen and next day i have to use 'force quit' then restart that application again, so frustrated.
    Thanks,

  • Monitor the application

    Please let me know how can I monitor ( is it up ? ) the website, database or any other service thru Java.
    Thanks,
    BG

    Well, I would have thought that you'd just ping the service on whichever port it is usually active on. You can do this with Java just by opening a socket to that port. If you can connect, the socket is live.

  • Monitoring ADF Application using EM ?

    Hi,
    What information can we gather for a particular ADF application which is deployed as a Jar ? Like the response time for each of the application page & break down of the request to each ADF page in an Application. Are there are references available ?
    Thanks & Regards,
    NC

    Hi,
    I have created web service with data control by providing this WSDL
    http://SERVER_NAME/PWA_INSTANCE/_vti_bin/psi/project.asmx?WSDL and some objects and service methods are genreated. Service method has parameters.
    How I can use this parameters of service methods to read the data from sql server database and how I can write data back into databases.
    When I am dropping this parameter as ADF Parameter form is just input text box without any values. Please give me some direction or links for code I can use to implement the application.
    Please let me know if you have any questions.
    Thank you,
    Savan Shah.

Maybe you are looking for