|
I must admit, I don't see what Diego's suggestion has to do with what you
are doing... his suggestion is more related to Java programs being able to
detect and connect to the local system -- which is known to perform slowly
if you don't have the local host name in your hosts table. But, has
nothing to do with your shell script.
But, I'm really shocked at the result... 15 seconds to run 'hostname'?!
Seriously? This is just a simple program that retrieve's the system's
hostname from memory and prints it. Shouldn't even take 1 second on a slow
system.
Something is very wrong.
-SK
On 6/19/2017 9:53 PM, mlazarus wrote:
Diego,
hostname took about 15 seconds. java -version took about 50 seconds.
-mark
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.