Linux Monitoring scripts

1, network card traffic monitoring rateofflow.sh#!/bin/bash# while true; Do Time=`Date+%m"-"%d"-"%k":"%M ' Day=`Date+%m"-"%d ' Rx_before=`ifconfigeth0|sed-N"7"p|awk '{print $}'|Cut-c7-' Tx_before=`ifconfigeth0|sed-N"7"p|awk '{print

Introduction to the Linux kernel

The kernel is a system software that provides hardware abstraction layer, disk and file system control, multitasking and other functions. A kernel is not a complete set of operating systems. A complete operating system based on the Linux kernel is

Sinsing analysis of at in Linux

For at, its white list and blacklist are/etc/at.allow and/etc/at.deny, the general writing rule is one line account, if all is empty, then only root can use.Its main use format is:at [-MLDV] TimeAt-c Work numberIts parameters are interpreted

The Linux commands that you don't know

1.g++ (GCC)-save-temps [filename]Will get linked files, assembly files, executable files at once.2. When this sentence occurs each time, "test.cpp" E212:can ' t open file for writing, stating that the plaintext is not writable, or you do not have

What about Linux forgetting the root password?

Linux root account is the god portal of Linux, and forget the root password, it is equivalent to you have changed from God to the civilian, this huge gap can imagine, may want to regain God's general authority, is only the reinstall system? No no no,

Linux related Miscellaneous

1. Find FilesFind --- Find'my*' -ls finds a file that begins with my in the current directory (contains subdirectories) and displays its details. Find. -type f-mmin-10 searches the current directory for all the normal

2015.3.23 Linux under Disk Management

1. View the capacity of a disk or directoryDF View Disk partition usageDf-i-h-mDu view the amount of space a directory or file occupiesDU-A/tmp: Train full file and directory sizeDu-c: Final Summary2. Partitioning and formatting of disksFdisk-l

Linux Learning Notes file processing

LocateNon-real-time database lookupsNon-exact lookupFast speedFindReal-time SearchExact searchFind [dir] [Ceriteria] [action]Find/etc-name "passwd*"Find/etc-iname "passwd"LS does not support pipingLs-l ' Find/-user Lijinya 'When you delete a user

Use of Linux screen

The principle of screen has not been much understood, and the current configuration and hotkeys are able to handle daily use.Under your own home configuration. SCREENRC:# # Defines the function key for screen to Ctrl-o. When entering Ctrl-o to the

4 Linux Bash features

command Aliases and command calls : Alias alias= ' COMMAND ' when referencing with options need to quote only valid for current bash Unalias alias Cancellation \command: Use its own commands, not the commands defined in the

Several methods of adding permanent route to Linux system

Add the following routing entry in the systemRoute add-net 192.168.10.0/24 GW 172.16.15.254Route add-net 192.168.177.0/24 GW 172.16.15.254Add a permanent static route (method one):[Email protected] ~]# vi/etc/sysconfig/static-routesAny net 192.168.10

Port mapping under Linux

Work requires that a port of a server with an external IP address be mapped to the same port on the server of an intranet IP.First think of using NAT, the command is as followsecho "1" >/proc/sys/net/ipv4/ip_forwardiptables-t nat-i prerouting-d

Linux Deployment War Package scenario

Batch.sh content:Su-C "Using administrator privilegesService Tomcat6 stop;Stop TOMCA6T Servicemkdir/home/jnfwzftp/bushubackup/' Date +%y%m%d ';Create a backup directory with today's dateCp-r/var/lib/mysql/jishengwei/home/jnfwzftp/bushubackup/' Date +

Linux under the multi-threaded pit (indefinite update)

1, the exit of the whole process under multi-thread> about process Environment The 8 criteria for process exit are indicated in the chapter:...(4) The last thread returns from the startup routine(5) The last thread called Pthread_exit ()

Nmap: not only used for bad things!

Nmap: not only used for bad things! If SSH is the Swiss army knife in the world of system administrators, Nmap is a box of explosives. Explosives can easily be misused and then your feet are broken down, but they are also a powerful tool capable of

What components does linux have?

What components does linux have? A saying goes: the general system consists of the core, shell (command interpreter), and application linux. The core of linux (2.6.9.18), shell (/bin/bash ), applications (Xwindow) or linux kernels are mainly

Analysis of postfix in Linux

Analysis of postfix in Linux Postfix is the mainstream mail server in Linux, that is, MTA, which is mainly used to implement the SMTP protocol. It is compatible with sendmail, and postfix is created to improve sendmail. Generally, postfix has the

Git configuration, git

Git configuration, git 1. Set an alias for the git sub-command Edit $ HOME/. gitconfig [User] name = xxx email = xxx [alias] co = checkout ci = commit st = status br = branch 2. The tab key automatically pops up the git sub-command Find the git-

How to Use tab in Vim to complete Python code

How to Use tab in Vim to complete Python code Pydiction allows you to complete the TAB code in Vim, including standard, custom, and third-party modules and packages. Plus keywords, BIFs, and strings. Pydiction consists of three main files:•

Install WordPress on Centos7

Install WordPress on Centos7 LAMP environment: http://www.centoscn.com/CentosServer/www/2014/0902/3643.htmlAfter the LAMP environment is set up in Centos7, various services can be installed. The author takes the most popular open-source blog system

Total Pages: 5467 1 .... 5378 5379 5380 5381 5382 .... 5467 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.