I have a Java application running in the background which process looks like this.
And I have a monitoring script which looks like this;
Although the service keeps on running, sometimes, I got the message in my log that the service has stopped. Is there something wrong with my monitoring script? To my knowledge, it should be 2; one for Java and another is for grep.
I have an ftp process using vpn, my box is receiving data hit and miss from the host system. Any tool that can be used within unix (ksh) to monitor that ftp process? (2 Replies)
I have a shell script which runs from 7AM to 3AM every day. The script performs certain monitoring functions and if it has a problem it may need to email someone about it. The problem is that the notification process was never modified to handle running past midnight (from 23:59:59 till 3AM). ... (0 Replies)
hi all,
i would like to write the shell script to monitoring the processing, but if i passing the parameter the number of process is incorrect
how to slove it? many thx
got the correct number of process as following script:
===========================================================... (3 Replies)
I need a script on Solaris 10 OS to monitor 3 seperate processes running. Each process has 3 of the same processes running a total of 9 processes and I need the ability to know if all of processes for each process is running and to email me if they aren't running. I'm new to Unix programming and... (3 Replies)
hi friends,
I am trying to automate the daily monitoring process of UNIX server and it's processes. the script are below
i executed the above script using ksh -x monitortest1.sh in root login . It shows error at some lines .
1. i logged in using root ,but it... (8 Replies)
Im having a bit of troble coming up with a script that does this monitors processes to see if they die, if they do die, restart the process
and write out to a log file that the process was restarted with the new PID and the date and time the new process was launched.
Any suggestions? (1 Reply)
GM everyone,
I have this script that goes to multiple servers and monitor a certain process and send the output to a file on servers1, the script looks like this
exec < server.list
while read SERVER
do
ssh $SERVER "ps -ef | grep process_name" >> /tmp/report
done
can someone help ad... (0 Replies)
GM everyone,
I have this script that goes to multiple servers and monitor a certain process and send the output to a file on servers1, the script looks like this
Code:
exec < server.listwhile read SERVER do ssh $SERVER "ps -ef | grep process_name" >> /tmp/reportdone
can someone help me... (2 Replies)
I am writing a script to kick off a process to gather logs on multiple nodes in parallel using "&". These processes create individual log files. Which I would like to filter and convert in CSV format after they are complete. I am facing following issues:
1. Monitor all Processes parallelly.... (5 Replies)
Discussion started by: shunya
5 Replies
LEARN ABOUT OSX
jvisualvm
jvisualvm(1) General Commands Manual jvisualvm(1)NAME
jvisualvm - Java Virtual Machine Monitoring, Troubleshooting, and Profiling Tool
SYNOPSIS
jvisualvm [ options ]
PARAMETERS
Options, if used, should follow immediately after the command name. Options may be in any order. For a discussion of parameters that apply
to a specific option, see OPTIONS below.
DESCRIPTION
Java VisualVM is an intuitive graphical user interface that provides detailed information about Java technology-based applications (Java
applications) while they are running on a given Java Virtual Machine (JVM(*)). The name Java VisualVM comes from the fact that Java Visu-
alVM provides information about the JVM software visually.
Java VisualVM combines several monitoring, troubleshooting, and profiling utilities into a single tool. For example, most of the function-
ality offered by the standalone tools jmap, jinfo, jstat and jstack have been integrated into Java VisualVM. Other functionalities, such as
some of those offered by the JConsole tool, can be added as optional plug-ins.
OPTIONS
The following option is possible when you launch Java VisualVM.
-J<jvm_option>
Pass this <jvm_option> to the JVM software.
USAGE
Java VisualVM is useful to Java application developers to troubleshoot applications and to monitor and improve the applications' perfor-
mance. Java VisualVM can allow developers to generate and analyse heap dumps, track down memory leaks, perform and monitor garbage collec-
tion, and perform lightweight memory and CPU profiling. Plug-ins also exist that expand the functionality of Java VisualVM. For example,
most of the functionality of the JConsole tool is available via the MBeans Tab and JConsole Plug-in Wrapper plug-ins. You can choose from a
catalog of standard Java VisualVM plug-ins by selecting 'Tools' | 'Plugins' in the Java VisualVM menus.
Start Java VisualVM with the following command:
% jvisualvm <options>
SEE ALSO
For more details about Java VisualVM see the following pages.
o Java VisualVM developers' site @
https://visualvm.dev.java.net
o Java VisualVM in Java SE platform documentation @
http://java.sun.com/javase/6/docs/technotes/guides/visualvm/index.html
(* The terms "Java Virtual Machine" and "JVM" mean a Virtual Machine for the Java platform.)
26 Mar 2008 jvisualvm(1)