Linux Vmstat action record saved as file

The Vmstat command reports statistical information about kernel threads, virtual memory, disks, traps, and CPU activity. Reports generated by the Vmstat command can be used to balance system load activities. The system-wide statistics (in all

How do I use the tree command to display the file directory structure under Linux?

Today's small weave to share the use of the next very useful command for the Linux system: The tree command can display the file directory structure in a TreeView, and it is ideal for us to introduce a framework of our file directories, with the

Linux Network card Configuration detailed

The following values are common in all basic configuration files: * Device=name, where name is the name of the physical device (except for dynamically assigned PPP devices) Its name is "logical name." * Ipaddr=addr, here addr is the IP address. *

Linux recovers data from process-related file descriptions

Accidentally deleted a file in Linux, but ps-ef|grep file name found that a process is still using the file, you can pass Recover the file in the following ways. For example:Create a simple file/tmp/test.txt, write something inside Two client

How does a Linux system set up a shared file server?

Liunx the server used by the shared file server is samba, so the Linux shared server is the samba server; 1, need to check whether the Linux has been installed samba; Check the command for: Rpm–qa |grep Samba; If there is no output of any

Example of bulk find replacement text content in Linux

. Find the contents of a file in a batch, for example: # grep-rn "Text to find".   2. Find and replace the contents of the file in bulk. # sed-i "s/the text to find/replace text/g" ' Grep-rl "to find text"./'   Other uses of SED are as follows:

Linux to bulk replace the methods recorded in SQL files from a specified ID

When a field in a database, such as an ID, is an integer, the new insert data needs to be sorted from the total maximum value of the current database plus 1. The maximum ID for the current production database is 150, so it is necessary to start

Introduction to the SSH port number change method in Linux

SSH port By default is 22, we generally for the security of the server will be the SSH Port 22 modified to other ports well, the following small set up to you to organize an SSH port modification tutorial for your reference.   VPS one hand, the

How do I create and manage logical volumes under a Linux system?

Logical volumes can dynamically adjust disk capacity, thereby improving disk management flexibility, this is mainly about the creation of a logical volume (LVM), the creation of LVM logical volumes follow the idea:pv>vg>lv> format, mount the use of

Change the desktop resolution under Linux

I. Change of command 1, the use of Xrandr query, with "*" is the current desktop resolution. 2. Change resolution Where "20" is the number of "SZ". 3. Use the Xrandr command to view Note : More wonderful

The uname of Linux command detailed

Role: Print System Information Format: Uname[option] ... Describe: Output specified system Information, no option with-s Options: -A,--All Output All information -S,--kernel-name Output Kernel Name -N,--nodename Output Network node host

Linux OS file links

There are two types of links, one called hard links (Hard link) and the other is called Symbolic link (symbolic link). By default, the LN command produces a hard link. A hard connection is a connection made through an index node. In a Linux file

Linux How to configure dual-machine SSH trust and then password-free login

First, the realization principle SSH logon is done using a method known as "Public key" authentication. A simple explanation for the "public Key" authentication method is: First create a pair of public private keys on the client (public key file: ~

Introduction to Zabbix Client installation configuration in Linux system

1. Create User Groupadd Zabbix Useradd zabbix-g Zabbix  2, installation wget http://jaist.dl.sourceforge.net/project/zabbix/ZABBIX%20Latest%20Stable/2.2.7/zabbix-2.2.7.tar.gz Tar zxvf zabbix-2.2.7.tar.gz CD zabbix-2.2.7

How to switch from the Linux character interface to the graphical interface

1, in the character interface input STARTX or init 5. 2, through the editing/etc/inittab file to achieve the default into the graphical interface. Change the 3 in the Id:3:initdefault to 5, so that after the system starts, it will go directly to

Linux Common Search Command rollup

How do I get a quick look at a file? The word Linux itself only represents the Linux kernel, but in fact people are accustomed to using Linux to describe the entire Linux kernel, and the use of GNU engineering tools and databases of the operating

Linux Mount hard Drive

The Linux cloud Server data disk is not partitioned and formatted, and can be partitioned and formatted according to the following steps. The following operation will divide the data disk into one partition to use. Applicable system: Linux (Redhat,

Linux prohibits an IP access

/etc/hosts.allow and/etc/hosts.deny Two files are settings that control remote access by allowing or denying access to a service to Linux by a client of an IP or IP segment. If the requested host name or IP is not included in the/etc/hosts.allow,

How Linux clears all iptables rules

Linux to empty the Iptables rules specific methods are as follows: Iptables-t nat-f Iptables-t Nat-x Iptables-t nat-p prerouting ACCEPT Iptables-t nat-p postrouting ACCEPT Iptables-t nat-p OUTPUT ACCEPT Iptables-t mangle-f Iptables-t Mangle-x

How to set up iptables firewall in Linux

When a new Linux server is configured, if you need to configure iptables, you are typically configured with the following command:   First, install and start the firewall [Root@linux ~]#/etc/init.d/iptables start When we use Iptables to add rules,

Total Pages: 5467 1 .... 3014 3015 3016 3017 3018 .... 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.