# Author li ning# Date 2015.11.30 00:41:35 Import sysimport Time "" "Principle: Linux system based on the principle of all documents, we can put any information as a string read into the analysis" "#若没有提供参数, here The default is the network card is eth0, according to their actual situation to connect parameters. Eg: (python get_net_infor.py eth1) If Len (sys.argv) > 1:interface = sys.argv[1]else:interface =
Use iftop to monitor network traffic and iftop to monitor network traffic
Iftop is a useful tool. The following command monitors the wireless network card of my notebook
iftop -i wlan0
Use Ntop to monitor network traffic
____ Network traffic reflects the running status of the network, which is the key data for determining whether the network is running normally. In th
software. This article uses its powerful traffic Graphic System Host Table to monitor network traffic in real time. In terms of monitoring software, we chose the sniffer pro, which is commonly used by NAI companies. In fact, many Internet cafe administrators have experience in monitoring the
How does python view system network traffic information and python network traffic?
Preface
The traffic information can be directly stored in/proc/net/devTo view, the program implemente
In Linux/Unix-like systems, you can use top to view system resources, processes, memory usage, and other information. To view the network status, you can use tools such as netstat and nmap. To view real-time network traffic and monitor TCP/IP connections, you can use iftop. What is iftop? Iftop is mainly used to displa
Introduction
MRTG (Multi Router Traffic Grapher, MRTG) is a tool software used to monitor network link traffic load. It obtains device traffic information through the SNMP protocol, in addition, the traffic load is displayed to th
In Linux/Unix-like systems, you can use top to view system resources, processes, memory usage, and other information. To view the network status, you can use tools such as netstat and nmap. To view real-time network traffic and monitor TCP/IP connections, you can use iftop.
What is iftop?
Iftop is mainly used to displ
Nload is a very useful traffic monitoring tool with powerful functions. it can monitor network card traffic in real time, including Incoming and Outgoing, that is, inbound and outbound traffic CentOS.
NloadIt is a very useful traffic
LAN traffic similar to the use of network resources, enterprise LAN intranet devices, with how much network traffic, where are these network traffic? Whether it is related to work, this is essential to the management of Internet b
Article title: use Mrtg to monitor network traffic (for Linux ). Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Although mrtg has been used to monitor the
Through the/proc/net/dev can be viewed to the network card traffic, according to the changes in the value of the file in conjunction with while loop write a real-time monitoring network card script, by specifying the network card name as parameters to monitor the
Nethogs is a small, free open source command-line tool used to count network bandwidth usage in real time by process or program.For use similar to "repo tool", "Depot_tools" and other tools checkout source code is very useful, you can view the current download speed information, so you do not blindly wait.Installation under Ubuntu system
sudo apt-get install Nethogs
How to use
Nethogs [-d] [-h] [-P] [-t] [-v] [device (s)]
Cacti is a set of graphical analysis tools for network traffic monitoring based on PHP, MySQL, SNMP and RRDtool.
If you want to use CACTI to monitor the Linux server's network card traffic, you need to install Net-snmp-utils-related packages on the monitored Linux servers,
MRTG is an open source graphical tool for monitoring network traffic load (OETIKER + partner ag in Germany provides one of the open source projects, http://oss.oetiker.ch/mrtg/), through the snmp protocol to obtain the traffic information of the device, the HTML document of the traffic load in PNG format is displayed t
MRTG is an open source graphical tool to monitor network traffic load (OETIKER + PARTNERAG Germany provides one of the open source projects, http://oss.oetiker.ch/mrtg/), through the snmp protocol to obtain the traffic information of the device, the HTML document of the traffic
0.24KB. The Check Interval is 30s |In=0.12kb;1200;1700;0;0Out=0.12kb;1500;1800;0;0Total=0.24kb;2700;3500;0;0 Interval=30s;1200;1800;0;0Explain:-V SNMP Protocol version-C Community NameThe-I parameter corresponds to the network card of the above-l output index value. Flag to monitor the appropriate network card.-W Warning value-C Alarm ValueConfiguration of the 4
can be written into the configuration file with one option per line ), then, start the service in the form of "ntop @ Configuration File. The following are common ntop Program Options:
Option name
Description
-C/-- sticky-hosts
Record of inactive hosts
-P/-- db-file-path
Specify new data storage records
-U/-- user
Identity of the user who runs the program
-B/-- disable-decoders
Disable protocol Decoder
-N/-- numeric-ip-address
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.