Thanks a lot Unbeliver
Ur first command worked out to be suitable for my requirement.
Now comes another problem, when i execute below script
output of the application "Sample" is getting displayed on the console from where i have executed the shell script.
Kindly help me in not directing the output and error to the console from where i have started the shell script.i do not want to handle those logs ... it can also be made nullified.
I also tried nohup command before
Quote:
java -cp ${CLASSPATH} Sample &
In this case, all logs were transferred to some file called nohup_out ...even i do not want that to happen beacuse internally i have used log4j to redirect my logs to some other files in another directory and also some error logs are still directed to the console from where i started the shell script.
I am newbie to unix shells world.
I am trying to capture a background process id into a file so that it can be killed later.
this process is basically a java program running in background as:
java TestApp &
this returning process id immediately. So how can i redirect that pid into a file.... (1 Reply)
Hello all,
I would be happy if any one could help me with a shell script that would determine all the processes running on a Unix server and post a mail if any of the process is not running or aborted.
Thanks in advance
Regards,
pradeep kulkarni.
:mad: (13 Replies)
Guys
we all know what command 'COLUMNS=2047 /usr/bin/ps –eo pid,ppid,uid,user,args' does.It prints 5-column output for the running processes on a AIX box.
Here is simple thing i need:
I need to insert this tabular data in a db2 table.
How do i need?
I have created table with these five... (0 Replies)
Hi Experts, we do have a shell script for Unix Solaris, which will kill all the process manullay, it used to work in my previous env, but now it is throwing this error.. could some one please help me to resolve it
This is how we execute the script (and this is the requirement) ... (2 Replies)
i'm looking to have my script capture it's own process name while running.
i'm going to use this in the output of the script to track which script produced which output file(s).
when i run:
ps -ef | grep processname
i only get as results a ps -ef listing for the grep inside my... (6 Replies)
Hi,
I just wonder I need to write a script where I can check if a particular process is consuming X amount of CPU. I was thinking of using the ps command but doesn't seems to work. Any ideas. Thanks. (2 Replies)
Hi,
I'm gonna launch a process from my 'C' code. I'm gonna launch it a few times. I would like to capture the PID of that process each time I launch. I have to copy the each PIDs into a 'C' variable and I have to kill all of them when I exit from the 'C' code.
My requirement is
int... (3 Replies)
I have two set of questions.
1) To skip killing some process automatically.
2) To kill other process and capture their log.
I have set of process, some needs to be killed gracefully and others should be skipped.
Listed are the process.
adm 1522... (1 Reply)
Hi All,
I was out not working on unix from quite sometime and came back recently. I would really appreciate a help on one of the issue I am facing....
I am trying to kick off the CodeNameProcess.sh in PARALLEL for all the available codes. The script runs fine in parallel.
Let say there are... (1 Reply)
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 DEBIAN
ikvm
ikvm(1) General Commands Manual ikvm(1)NAME
ikvm - java virtual machine executable using the CLI runtime
SYNOPOSIS
ikvm [ options ] class [ args ... ]
ikvm [ options ] -jar jarfile [ args ... ]
DESCRIPTION
IKVM is an implentation of the Java for the Common Language Infrastructure (CLI) runtime. It includes a byte code JIT compiler/verifier to
translate Java byte code to CIL and GNU Classpath to provide the Java class libraries. ikvm program performs this translation and execu-
tion at run time, the ikvmc(1) program provides a static compilation to CIL.
This program is intended to act as a drop-in replacement for the java program that executes java bytecode (with or without a JIT) and as
such, takes a subset of that tool's options and arguments as given here.
ikvm operates in two modes, either on a fully-qualified Java classname or on a jar file with the -jar jarfile option given. Any remaining
arguments args ... are passed to the main class.
CLASS SEARCHING
Classes are searched for in the current directory if no -cp / -classpath option, no -jar option and no CLASSPATH environment variable is
set.
If only CLASSPATH is set and no ptions are given only that is used to find classes, the current directory is not used unless CLSSPATH con-
tains .
If -cp / -classpath is given, CLASSPATH is ignored.
If -jar is given, the jar file is put at the start of the classpath taken from either the -cp / -classpath option or from CLASSPATH.
See also the description for the -Xbootclasspath option below.
OPTIONS -cp path
-classpath path
Set the JVM classpath to search for application classes and resources. The path is a sequence of directories and zip/jar files sep-
arated by : (; on Windows). If this option is given more than once, only the last one applies.
-Dname=value
Set a system property name to value.
-ea[:packagename ... | :classname]
-enableassertions[:packagename ... | :classname]
Enable assertions.
-da[:packagename ... |:classname]
-disableassertions[:packagename ... | :classname]
Disable assertions.
-version
Display IKVM and runtime version
-Xbootclasspath:path
Set the boot JVM classpath for bootstrap classes and resources. The path is a sequence of directories and zip/jar files separated
by : (; on Windows). If this option is given more than once, only the last one applies.
-Xbreak
Trigger a user defined breakpoint at startup
-Xmethodtrace:string
Builds method trace into the specified output methods
-Xsave Save the generated assembly for debugging.
-Xtime Time the execution.
-Xtrace:name
Displays all tracepoints with the given name.
-Xwait Keep the process hanging around after exit.
-? -help
Display a summary of the usage.
SEE ALSO ikvmc(1), ikvmstub(1).
IKVM Project web site http://ikvm.net/ <http://ikvm.net/>
Man page by Dave Beckett, made available under the same terms as IKVM.
2005-06-19 ikvm(1)