06-02-2008
How are you firing up the process calling it? it could be something as simple as you need to nohup the process and stick it into the background. This would prevent the process from dying when you logged out.
and no, running as a non-privileged user is a good idea. only use the root user when you have to. Depending on what your app does, you should be able to run everything as a non-privileged user at all times.
6 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hai ,
I am working on a system with unix and solaris 5.8 loaded.
The problem is when I leave an application open for more than one day .. it gets killed .. and my one day work goes waste and I have to start all over again .. ???
Is there any way I can find out the maximum number of... (6 Replies)
Discussion started by: ajphaj
6 Replies
2. Shell Programming and Scripting
Dear sir,
I want to know if i shut-down my system and while starting it next time
automatically one application starts running, Is there any way?
I an using Suse linux OS.
PLz Help me! (4 Replies)
Discussion started by: salil2012
4 Replies
3. UNIX and Linux Applications
i had a confusion on the installed directory of my application server
a. if I create a domain w/o putting in directory, the domain automatically goes to /var/appserver/domains directory.
I need it to be under /opt/SUNWappserver/domains.. If I will include this in domain creation, may logs are... (0 Replies)
Discussion started by: lhareigh890
0 Replies
4. Programming
Hello all, This is my first java application since college (years ago..)
What it basically needs to do, is verify that it can connect to a server, and once it is connected, run a series of AIX commands to verify that certain processes are running, and if they aren't running, it needs to start... (1 Reply)
Discussion started by: jeffs42885
1 Replies
5. Programming
Hi,
(First post, please be gental!)
I have a java app that I am running on unix (centos)
But it keeps dying randomly. The times seem random from anything between 3 hours and 3 days.
I have a cronjob running to restart it when ever it dies but I would rather this happened less often.
... (2 Replies)
Discussion started by: sm9ai
2 Replies
6. Solaris
Hi!
I have a m3000 server with solaris 10. Clients connecting to server using Xmanager. But when they open a Java based application its very slow and some times hanging. But when I tried with VNC it works fine. Is this a BUG in Xmanager? Or Is there any method to solve this?
Thanks,
Charith (3 Replies)
Discussion started by: charith.upendra
3 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)