If you host a webserver, a very important that its running optimally and is in proper conditioning.
Here is a small guide to various easy diagnostic tests you can check to see if you webserver is running up to grade.
Depending on your OS distribution running your webserver the installation methods may vary, However all the tools are all usually the same.
All of them can be invoked from the command line terminal or SSH shell, given that your webserver may be running on a remote system.
The tools include:
ping is a simple utility to see if your system is able to respond to systems on the network and check latency.
This comes pre-installed on almost every operating system.
A simple command to check if you are able to communicate with google DNS servers for example:
ping 8.8.8.8
Htop is a simple system utility to see system runtime stats like CPU usage, RAM usage, processes, etc. kind of like a task manager.
Install it on:
Ubuntu, and Debian derivatives:
sudo apt install htop
Fedora, OpenSUSE, and other RedHat derivatives:
sudo dnf install htop
Manjaro, and other Arch derivatives:
sudo pacman -S htop
Run it with:
htop
uptime is a simple utility to see how long you system has been up and running for.
This comes pre-installed on almost every operating system.
Run it with:
uptime
nload is a utility to see how much network traffic passes through your system in terms of uploaded and downloaded bytes.
Install it on:
Ubuntu, and Debian derivatives:
sudo apt install nload
Fedora, OpenSUSE, and other RedHat derivatives:
sudo dnf install nload
Manjaro, and other Arch derivatives:
sudo pacman -S nload
Run it with:
nload
(P.S pressing tab switches between network devices like ethernet and wifi to see how much traffic passed through each one)
If you are looking for a more overall system view, you might want to consider using glances.
Install it on:
Ubuntu, and Debian derivatives:
sudo apt install glances
Fedora, OpenSUSE, and other RedHat derivatives:
sudo dnf install glances
Manjaro, and other Arch derivatives:
sudo pacman -S glances
Run it with:
glances
Knowing these various parameters is all well and good, But one must know how to make use of them to analyze and troubleshoot issues with their webserver.
For example:
There are a lot of simple diagnostic tools for checking the server status. If you are looking for a graphical dashboard, consider using the cockpit-project.
Back to main site
Information sent using the form is guarded by AES-256 bit encryption.
A receipt will be emailed