Below are some basic Linux commands you can use when troubleshooting a an issue.
For example, if dashboard.sh all stop
doesn’t stop all the services, you can use the kill
command to ensure a process stops running.
...
In the above example tomcat is running on 18845
. Now that we know it’s pid, we can kill isit:
Code Block | ||
---|---|---|
| ||
kill 18845 # This will kill the service. |
...
Code Block | ||
---|---|---|
| ||
kill -9 18845 |
...