Java program constantly running in background...how to stop?
I have a Debian Jessie OS.
Every time I boot I'm used to seeing no activity on the machine after the boot is complete. However, now I notice the cpu is active for some reason. After running the 'top' program from a terminal - it shows there is a 'java' program open which is using about 30% cpu. What is this program? This doesn't happen when I boot my second Debian OS. So why is there a program running when I haven't opened up anything? |
Quote:
Quote:
You ran top, and somehow you decided it is a java program. The name of what you're seeing here would be very helpful to know, as well as the versions of Debian where you see this and where you don't see this, or are they both Debian Jessie? Is this being seen on different systems, or the same one? |
Quote:
If I am running a web browser: then under the 'COMMAND' tab the program will show 'firefox-esr'. That is the web browser I use. Under the '%CPU' and '%MEM' tabs the program will show how much resources the browser is using up. However after I boot my OS - the LED on my desktop flashes intermittently indicating the cpu is going through some activity. The problem is I haven't opened up any programs - so the OS should be idle. If then open up the 'top' program - the 'COMMAND' tab shows 'java'is running. The '%CPU' and '%MEM' tabs show upto 30% cpu is being used up intermittently. So I need to find out what this java program is. I need to find out if this is an 'unnecessary' startup program. Or it is a standard periodic program run by the OS. I'm wondering if anyone on this forum knows what 'java' indicates on the top program? Why are system resources being used up when the OS is idle? |
Quote:
i wonder if top isn't showing you the full command line. it must be more than just 'java'. please try to tell top to show you the complete command. or try something else like ps or htop ... |
Quote:
Quote:
Quote:
Top is showing the 'java' program is owned by 'user' (not root). 'ps -x' as user gives the following output: Code:
$ ps -x But what is it doing? |
Quote:
Quote:
Quote:
|
Quote:
Code:
/opt/jdk/bin/java -Xmx256m -cp ./Azureus2.jar:./swt.jar -Djava.library.path=/part3/tmp/azureus -Dazureus.install.path=/part3/tmp/azureus -Dazureus.script=./azureus |
this (or something similar):
Code:
ps -ef | grep 'java.*network' |
Quote:
Quote:
Code:
$ uname -a However they have different programs installed and different desktop environments. Quote:
1. I have Freenet installed on the problem OS. 2. Freenet is highly cpu-intensive because it's written in java. 3. Freenet requires java to be installed. I thus have java installed or openjdk. I do not use Freenet after setting it up some time ago. So I've come to the conclusion the issue will be remedied if: a - Freenet is uninstalled b - java or openjdk is uninstalled. Do you think this is reasonable? |
Quote:
What cmd did you use? Maybe I could replicate it with similarly illuminating results? |
Quote:
Code:
$ ps -ef | grep 'java.*network' Thus I assume I'll need the commands to uninstall freenet and java with their dependencies. |
I would probably start with just uninstalling freenet - java may be used for other things... it is needed to run the uninstaller apparently:
cd ~/Freenet/Uninstaller java -jar uninstaller.jar |
Quote:
Code:
ps -ef | grep java Java commandlines tend to be very long. |
you can redirect the output into file and split it (if you wish)
|
I agree with Samsonite2010 try getting rid of freenet. Did you install it on purpose and intend to use it?
Supporting data. Same advice for the uninstall from the Ubuntu forums, https://ubuntuforums.org/showthread.php?t=792676 |
Quote:
On opening up 'top' - it still shows 'java' is using up system resources. What is the cmd to remove java-7-openjdk? |
you must not remove that I think
but need to check what is running again |
Quote:
|
Quote:
Thank you all! |
All times are GMT -5. The time now is 07:47 PM. |