Not able to kill java process with average 90% cpu usage
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Not able to kill java process with average 90% cpu usage
Hi,
I have a java process running in background. I have no java dependent program opened and even if I had, this program should be killed if I kill the Java process.
“top” shows that Java causes almost 90% cpu usage.
SYNOPSIS
kill [ -signal | -s signal ] pid ...
kill [ -L | -V, --version ]
kill -l [ signal ]
DESCRIPTION
The default signal for kill is TERM. Use -l or -L to list available signals. Particularly
useful signals include HUP, INT, KILL, STOP, CONT, and 0. Alternate signals may be speci‐
fied in three ways: -9 -SIGKILL -KILL. Negative PID values may be used to choose whole
process groups; see the PGID column in ps command output. A PID of -1 is special; it indi‐
cates all processes except the kill process itself and init.
SIGNALS
The signals listed below may be available for use with kill. When known constant, numbers
and default behavior are shown.
Name Num Action Description
0 0 n/a exit code indicates if a signal may be sent
ALRM 14 exit
HUP 1 exit
INT 2 exit
KILL 9 exit cannot be blocked
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
Rep:
Quote:
-9 can be used instead of -s 9
Yes - I know this but my point is the OP was right - the man page doesn't mention this. Although the post from AlucardZero's man page does. Maybe as AlucardZero used another distro.
I have a java process running in background. I have no java dependent program opened and even if I had, this program should be killed if I kill the Java process.
“top” shows that Java causes almost 90% cpu usage.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.