Hi Marcus,
You can do the following (with bash):
java packageName.className 2>&1 > fileName
And then do a
ps ...|awk ...|grep ...|wc -l
after a sleep with a grep perhaps? Or you can have your program create
some kind of lock file. In the latter case you first delete the lock
file, then
orial, but I don't remember where...
[]s
Edson Richter
--
From: [EMAIL PROTECTED]
Sent: quarta-feira, 29 de dezembro de 1999 12:19
To: [EMAIL PROTECTED]
Subject: Running a program in the background
Dear List,
I have written a little program that I would lik
Dear List,
I have written a little program that I would like to run in the background.
My linux box is Linux 6.1.
JDK 1.1.7b from blackdown.
I know to put 2>&1 & at the end of the starting line, but when I do a
System.out.println it prints to the window as expected. Can I detect, when
the java