Sample script for monitoring File System

! /Bin // = 'df-k | grep | awk = 'expr $ B-= 'expr $ D/= 'df-k | grep | awk TIME = 'expr $ FREE/$ [$ TIME-ge = 'expr $ TIME/=/root/$ >$ >>$ >> $> >$ >> 'date + '>>=/dev/= 'df-h | grep | awk | sed [$ USED-ge = 'df-h | grep | awk = 'df-h | grep | awk =

Install Code: Blocks and Eclipse CDT in Ubuntu Linux

Recently, I want to try C ++ programming in Linux due to my work and learning needs. So I spent a little time studying C ++ IDE in Linux. Finally, I tried using two famous ides: Code: Blocks and Eclipse. This article will share some of the problems

Conditional testing and signal capturing

I. Exit In Linux, whether it is a command, script, or program, the exit status exists after the execution is completed and the exit status is usually saved in the pre-defined variable $? . In most cases, the predefined variable only uses two numbers

Perfect Combination of error handling: perror & amp; exit

There are two useful functions for library function error handling: perror and exit: 1. Error Report The perror function reports errors in a simple and unified manner. Many library functions in ansi c, especially I/O functions, call the operating

Notes for applying to use aws

  2. You will receive the following email after review: 3. The remaining process of creating EC2 and RDS can refer to http://www.cnblogs.com/deltacat/p/3294864.html 4. Install nginx, php, and php-cgi. (The operating system is amazon AMI, rather

File Sharing with file I/O (without buffering)

UNIX systems support sharing open files between different processes. The kernel uses three data structures to indicate opened files. The relationship between them determines the possible impact of one process on another process in terms of file

Linux free commands

The free command in linux is used to view memory usage. The free-h command can be used to view the parameters and meanings of the free command. These parameters are relatively simple. Generally, they are commonly used, for example, free-m. The most

Add a root account and set a password in linux

In linux, we use useradd to add users. However, this process is complicated and complicated for users to add permissions, the useradd command I introduced here can quickly add a root Super administrator and set the PASSWORD command. I hope it will

Connect to the VNC Local interface of each VM of XenServer in non-XenCenter Mode

This article introduces the VNC Local interface for connecting to each VM of XenServer through the non-XenCenter mode. Obtain the list of local VMS The Code is as follows: Copy code  Usage:./getvnc vm_name"VMs

In Linux, scheduled task crontab uses instances.

Many netizens raised questions and said they do not know how to use the timer. In order to facilitate your learning and self-check, the summary is as follows: 1. Summary of scheduled tasks; A scheduled task is a task that executes the scheduled job

Nginx lua and autoindex test notes

This article will introduce you to notes on testing nginx lua and autoindex. I hope this tutorial will be helpful to you. Nginx-lua can not only be used as an interface, but also process upper-layer output (upstream outputs ). For example:

Download from linux to obtain the route table in China

This article introduces a linux script for automatically downloading and obtaining route tables in China. I hope it will be helpful to you. Today, we have configured a vpn for the company's macbook, but every time we dial everyone's qq and skype

How to Set a startup project in Linux

vps

In linux, almost all installed software won't be automatically started by default, and I need to start it manually. This is very bad for WEB servers, apache, and mysql, so how do we remember that these software is automatically started upon startup?

Linux host monitoring Shell script (traffic, status, disk space, CPU and memory)

Below we have compiled several common host shell monitoring scripts, including comprehensive server monitoring and CPU and memory monitoring, disk space monitoring, and traffic monitoring. 1. View host Nic traffic The Code is as follows:

Collect common iptables firewall rules in linux

Here is a friend who has compiled an article about some commonly used iptables firewall rules when using linux. I will record them and give them a reference. Install iptables Firewall If iptables is not installed, install it first, and run

In linux, the project dependency library cannot be compiled due to the lack of relevant source files.

ffi

This article introduces how to solve the problem of fatal error: ffi. h: No such file or directory when compiling bcrypt. The project is tested normally on the local machine and is ready to be deployed on the test server for internal testing. As a

Simple installation notes for mariadb-10.0.3 in linux

A simple installation notes for mariadb-10.0.3 in linux, I hope this article will help you. The Code is as follows: Copy code Wget

How to install the nginx environment online in Linux (Centos/Ubuntu/Debian)

To install nginx online, we need to create an nginx. repo file, copy and save the corresponding system code, and then execute the installation. Here we will introduce the Centos/Ubuntu/Debian system method. First create a file Vi/etc/yum. repos.

Analysis of crontab core in linux

Next, I will take a look at the analysis of the crontab core issue in linux. I hope this article will help you. After receiving a report from my colleagues, the program crash again, but the core cannot be found, and the core should be generated. The

Iptables firewall problems caused by ssh logon Failure in VPS

If the iptables firewall is not configured properly, we will not be able to access the server on our own. Let's take a look at our own vps in a hurry today, and we won't be able to log on through ssh, so it is very difficult to query logs, several

Total Pages: 5467 1 .... 4509 4510 4511 4512 4513 .... 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.