[Email protected] ~]# free-m total used free shared buffers cachedmem:258090 218423 39666 665 1930 68694-/+ buffers/cache:147798 110291 swap:24575 4 24571 [[email protected] ~]#Here is an explanation of these values:Second line (MEM): In
Requirement: Detects if Tomcat on Linux is allowed to send email notification to OPS if it hangsImplementation: Scripting always detects whether the Tomcat process is alive, otherwise send mail to OPS, script settings start automatically when
Fileio1.open () system callHeader file#include #include #include Prototypeint open (const char * name,int flags);int open (const char * name,int flags,mode_t mode);Flags o_rdonly o_wronly O_RDWR O_append each write operation to the end of the fileO_
The main purpose of installing the VMware Toolkit in a virtual machine is to allow the mouse to move freely, as well as to adjust the resolution. The steps are as follows:1. Click "Virtual Machine"---"Install VMware Tools" in the VMware menu.2.
RPM Toolsrpm is by Red Hat and other jobs. However, the dependencies between RPM packages are often cumbersome, especially when the software is made up of multiple RPM packages. Company developed software package management method, using RPM we can
Time to modify Linux can use the date directiveThe function of the date command is to display and set the system date and time.Enter date to view the current system time.Modify time requires date-Functional character modified contentThe meanings of
Beginner Linux, for better memory and to understand the meaning of the documents.1. BinBinary (binary) abbreviation;Meaning: This file is stored in binary can execute command file.2, SbinSystem binary is a directory of binary code that is dedicated
The data is stored on the disk, and the files are stored in the form of data. Because the data on the disk is stored continuously, it is necessary to manage it. That is, the file system (FS).First, FS should be independent of the OS, the smallest
Directory Structure of LinuxApplication/usr/binData files to help/usr/shareConfiguration file/etc/Start command/ETC/INIT.D/bin Directory of common binary commands /boot Linux kernel and boot program file directory/ Dev device file directory, such as
1. View as Action directory location> pwd2. View the contents of the file in the (current) directoryLS//listLs-l or ll//show file detailsLs-al//all Show file details (including hidden files)LS-A//Show directory all file names (including hidden files)
2016-09-01 12:56 1280 people read comments (0) favorite reports Classification:Development Environment Construction (1) Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.The IO performance
For example, shared folders and vmwarelinux
After I checked the mounting folder Method for several hours on the Internet, I found that the mounting of Linux in VMware is different from that of the dual system.
The ultimate goal is to have a hgfs
[0, 20171115] ZEROCONF ROUTE.txt, 20171115 zeroconf
[2, 20171115] ZEROCONF ROUTE.txt-- // If you check the network configuration of the linux server, you can find the following route:# Route-n | egrep "169.254 | Destination"Destination Gateway
In CentOS7, LVM expands swap space by extending logical volumes
In our daily O & M work, we occasionally encounter operations that need to expand the swap space. There are many ways to expand the swap space. Now let's take a look at how to expand
Centos upgrade glibc (to version 2.17)
1. The previous glibc library version is 2.12 and must be upgraded to version 2.17.
:http://ftp.gnu.org/gnu/glibc/glibc-2.17.tar.gzYou can select the desired version.2. installation and deployment[Root @
Usage of the mount command in CentOS
There are many mount command parameters. The following describes some common parameters:
Command Format of mount:
Mount [-t] [-o] device dir
For example, to mount an image to a specified folder/mnt/cdrom:
Common commands for SSH in CentOSDirectory operation:Shift + inset/* Paste option, insert copied */Rm-rf mydir/* Delete the mydir directory */Cd mydir/* enter the mydir directory */Cd-/* Go back to the upper-level directory */Cd ../* back to the
Familiar with system delayed tasks and scheduled tasks in CentOSUse the at command for system delayed tasks
The delayed tasks initiated by the at command are all one-time. After the at task is submitted, it is saved in the/var/spool/at/directory;
CentOS deletes Multiple folders under a folder.
Delete Multiple folders under a folder in linux
Run the rm command to delete Linux Files. \ rm is not displayed for deletion.1. if you delete multiple files and folders in the current directory
You
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