Skip to end of banner
Go to start of banner

Useful Linux Commands

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Below are some basic Linux commands you can use when troubleshooting a 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.

$ ./dashboard all status
Tomcat is running (18845).
MariaDB is not running.
Excel Reader is not running.
Renderer is not running.
Scheduler is not running.
Pirana is not running.

In the above example tomcat is running on 18845. Now that we know it’s pid, we can kill is:

kill 18845 # This will kill the service.

Additionally you can force-kill a process too:

kill -9 18845

As you can see from the screenshot below, the service was stopped when running the command.

  • No labels