Real-Time linux traffic check script

#! /Bin/bashwhile [& quot; 1 & quot;] doeth = $1 RXpre = $ (cat #! /Bin/bash While ["1"] Do Eth = $1 RXpre = $ (cat/proc/net/dev | grep $ eth | tr: "" | awk '{print $2 }') TXpre = $ (cat/proc/net/dev | grep $ eth | tr: "" | awk '{print $10 }'

Shell monitors whether iptables is running

Recently, when I debug iptables on the server, I made a timer to disable iptables. However, when I go home at night, I seldom turn on my computer, so I cannot start iptables. of course, you may say, why don't I disable iptables when I cancel the

Ubuntu12.04 crashed due to wrong shutdown

Ubuntu12.04 crashes due to wrong shutdown-Linux general technology-Linux technology and application information. The following is a detailed description. [I = s] This post was last edited by linuxjd at, January 30 ,. This is the case at home:

[Figure] color output in Linux

[Figure] Linux Terminal color output-General Linux technology-Linux programming and kernel information. The following is a detailed description. The Linux command line can also generate colorful fonts and patterns, just add some color code,

View swap processes using shell scripts

#! /Bin/bashecho-e 'date + % y % m % d % H % M' echo-e & quot; PID \ t \ tSwap \ t \ tProc_Name & quot; # show all the directories named after numbers in the/proc directory (the process name is a number, and others such as sys and net store other

Count the usage of hard disk space and tablespace, and send an email

#/Bin/bash # This script is used to count the usage of the hard disk space and tablespace, and is sent by email # Initialize the environment variable source/home/oracle /. bash_profile # obtain the local ipip = '/sbin/ifconfigeth0 | grepBcast |

Use shell to check for errors in logs and send emails if any errors occur.

#! /Bin/bash # Initialize the environment variable source. bash_profile # The inherent date format f_name in the log name = 'date + % Y % m % d' # the path and name of the log log_file =/backup/db/rman/log/rman $ f_name-0401.logecho $ log_file #

New samba problems

New samba problems-General Linux technology-Linux technology and application information. for details, refer to the following section. The system is from fedora 8. after the samba service is installed, you want to add a command in the shared

When centos6.0 is installed in a notebook, the resolution cannot be adjusted.

When centos6.0 is installed in a notebook, you cannot adjust the resolution of the dual-graphics card-Linux general technology-Linux technology and application information. The following is a detailed description. File: // root/% E6 % A1 % 8C % E9 %

Periodically counts a certain amount of data and sends out the statistical results by mail.

The statistical results are automatically sent by mail, and mutt is used. the installation of mutt is simple: yuminstallmutt, which can be used after installation. Mutt is really a good thing. it can send emails without starting sendmail or postfix,

Use the SSH client to connect to linux, and SSH displays Chinese garbled characters

Use the SSH client to connect to linux. SSH displays Chinese garbled characters-General Linux technology-Linux technology and application information. For more information, see the following. In Windows, use an SSH client to connect to a linux

Function problems with variable parameter length

Function problems with variable parameters-Linux general technology-Linux programming and kernel information. The following is a detailed description. [I = s] This post was last edited by stop at, September 11 ,. In the process of writing a

Menucurser programming, menu display exception

Menucurser programming, menu display exception-General Linux technology-Linux programming and kernel information, the following is read details. The code is as follows: ==========> Obtain the menu item function ================================== ====

How does one automatically save all input and output of terminal according to the time when terminal is enabled?

How does one automatically save all input and output of terminal according to the time when terminal is enabled? -- Linux general technology-Linux technology and application information. for details, refer to the following section. [I = s] This post

Linux union problems

For more information about Linux union-General Linux technology-Linux programming and kernel, see the following. The task_struct and kernel stack of linux processes are stored on the same 4 K page. As follows: Include/linux/sched. h 2.4.18

Algorithm for time slice allocation

For more information about the time slice allocation algorithm-Linux general technology-Linux programming and kernel, see the following. In the "learn while doing"-Linux kernel guide, the parent and child processes are evenly allocated to the

Very powerful KMS

Very powerful KMS-General Linux technology-Linux programming and kernel information. The following is a detailed description. KMS is the kernel mode setting. Traditionally, Linux sets the video mode (resolution) by a user space program) Therefore,

Data Backup seems simple, but not simple.

Data Backup seems simple, but not simple-Linux general technology-Linux technology and application information. The following is a detailed description. [I = s] This post was last edited by okzokz123 at, January 5 ,. "Backup" is an inevitable

Grub cannot enter normal mode

Grub cannot enter the normal mode-General Linux technology-Linux technology and application information. The following is a detailed description. Extreme distress Installed the ubuntu system. Previously, I stopped on the system selection interface

Centos script automatically backs up databases

Compile the script [plain] viewplaincopy [root @ iZ232s4zbqvZservice] # vimysql_dump.sh #! /Bin/sh Write scripts [Plain]View plaincopy [Root @ iZ232s4zbqvZ service] # vi mysql_dump.sh #! /Bin/sh Echo "mysqldump start ..." DB_NAME =

Total Pages: 2732 1 .... 2549 2550 2551 2552 2553 .... 2732 Go to: GO

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.