I have a process monitoring program in linux which
executes the class through Runtime.exec()
and monitors the status of the child processes
periodically from a Thread.i am looking up
the processes from an rmi registry and will
write the status periodically.
when a "ps -ef | grep java" is done from the
terminal,it was showing 3 process ids.One for
the monitoring Main class,another for rmiregistry
and the third for the program which is being monitored
If i start this monitoring program ,its
observed that the system becomes slow.
I am not able to find out why is this happening
Is it because i am starting another jvm instance?
cheers
prashanth
executes the class through Runtime.exec()
and monitors the status of the child processes
periodically from a Thread.i am looking up
the processes from an rmi registry and will
write the status periodically.
when a "ps -ef | grep java" is done from the
terminal,it was showing 3 process ids.One for
the monitoring Main class,another for rmiregistry
and the third for the program which is being monitored
If i start this monitoring program ,its
observed that the system becomes slow.
I am not able to find out why is this happening
Is it because i am starting another jvm instance?
cheers
prashanth