Sometimes from time to time, a friend asked me about server monitoring. I asked the usual server monitors to use other open source software, such as: cacti, nagios monitoring, can you write your own shell script? Shell scripts written according to their own needs can better meet the needs, and can further refine the comprehensiveness of host monitoring.
The following are some common host monitoring scripts that I use. You can modify them according to your own situation. I hope I can give you some help.
1. View host network card traffic
#! /bin/bash
#network
#Mike.Xu
while : ; do
time=‘date +%m“-” %d“ ”%k“:&&quoquo;%M’
day=‘date +%m“-”%d’
rx_before=‘ifconfig eth0
The Linux operating system is an open source, free operating system that is not only secure, stable,
At present, many schools have built campus networks and connected to the Internet, but there are so
According to the US technology blog TNW, the well-known Linux vendor Canonical today released and de
Microsoft announced the extension of the Windows Vista and Windows 7 lifecycle. The life cycle of W
U disk Chinese characters garbled problem under Linux system
CentOS 5 Forgot Password Processing Method
Unix timestamp functions in different languages
Create a mysql database note with c language under linux
Linux device driver learning (0)-Hello, world! Module
Linux paging mechanism started (X86)
Installation of Chinese fonts under the Linux operating system
How to choose a Linux desktop environment
Some powerful shell commands use basic tutorials
Linux VI command interpretation
Solve ntp error no server suitable for synchronization found
Little Even App Steps Steps Tutorial
Blocking Access to Hidden Specified Drives in Windows XP
Win7 uninstall software after restarting the system Grub boot menu solution
WinXP system IE rating review password how to clear?
How to check the network card properties under Win10 system
Add boot killer function to Windows XP and Vista (2)
Choose three super practical Win7 tips for you
How to check the size of Win8 Metro installed software
How to add restart and shutdown options in Windows8 metro interface