When I was running the gradle clean
command, I got the following message
Starting a Gradle Daemon, 1 busy and 6 stopped Daemons could not be reused, use --status for details
For the investigation, I run the following command.
$ gradle --status
PID STATUS INFO
11506 BUSY 4.3.1
8027 STOPPED (stop command received)
9347 STOPPED (stop command received)
11727 STOPPED (by user or operating system)
4786 STOPPED (by user or operating system)
14569 STOPPED (by user or operating system)
31237 STOPPED (by user or operating system)
Only Daemons for the current Gradle version are displayed. See https://docs.gradle.org/4.3.1/userguide/gradle_daemon.html#sec:status
So, some questions have arisen in my mind.
How can I stop an existing daemon?
How to kill daemon process?