![]() |
My Top 3 |
![]() |
In my movement to help educate everyone in the web hosting field I’ve posted some more useful commands that I’ve come across. They are all pretty basic, and will come in handy when monitoring a server, or trying to troubleshoot an issue.
w
- Shows who is currently logged in
top
-Lists all of the processes running
kill -9 PID#
-Stops whatever PID# you specify that is running
service httpd restart
-Restarting Apache
service chkservd restart
- Restarts the service monitoring process
Hostname
- Retreives the hostname
rndc reload
- Picks up on new entries (ex, freshly created domain names), that weren’t automatically picked up by Apache
df -Hha
- Checks bandwidth usage
free -m
- Checks memory usage
du -sh
- Checks disk usage
ps auxwf | grep httpd | wc -l
- Counts how many httpd processes are running
ps aux
- Shows all system processes



Leave a Reply