Linux hard disk failure case sharing

This article mainly share the server in the hard disk after the failure of/var/log/messages and/var/log/mcelog will appear in the specific logs and corresponding repair methods, with the increasing number of cases and rich, I will conclude the

Linux knowledge Point, RM of one day

features : RM command to delete one or more files or directories (folders) in a directory. It can also delete a directory and all of its files and subdirectories. For linked files, only the links are deleted and the original files

Timers under Linux: Alarm () and Setitimer ()

There are two types of timers under Linux, each of which is described below:1, AlarmUsing alarm () and signal () is sufficient if it is not required to be precise.unsigned int alarm (unsigned int seconds)Function Description: Alarm () is used to set

Linux Learning Notes < Two >--linux root file system and file directory management

Description of the directories in the file system:/boot: System boot related files, such as kernel, INITRD, and Grub (bootloader)/dev: Device filesDevice files:Block devices: Random access, data blocks, and so-called order, such as silver

Linux-head,tail usage

Linux---Tail commandTail command---in linux for viewing file contentsThe most basic are cat, more and less.1. If you want to see only the first 5 lines of the file, you can use the Head command, such as:Head-5/etc/passwd2. If you want to view the

Eject and retract the optical drive under Linux

Eject Optical Drive#include#include#include#include#include#define DEVICE "/dev/cdrom"int fd = open (DEVICE, o_rdonly| O_nonblock);if (FD Perror ("Unable to open" DEVICE);Exit (1);}if (IOCTL (FD, cdromeject)! = 0) {Perror ("Cdromeject ioctl failed");

Linux Core Source Reading method

The first time you read the Linux4.0.5 kernel source code, a blank face, its code is not only complex, and large, can not find where to start reading.typically Linux will have the following directories The Arch subdirectory includes all the

Linux disks, partitions, file systems, mounts

Disk All Linux devices are abstracted into a file that is stored in the/dev directory. The device name is generally hd[a-z] or sd[a-z]. If you have more than one hard drive in your computer, the device name is SDA, ADB, SDC ... And so

Linux Interrupt Complete Analysis

Learning this article can be a comprehensive and profound understanding of Linux outages. This article makes a complete analysis of the requirements, management mechanisms, interrupt implementations, interrupt interfaces (top and bottom halves) of

Code--linux process communication (based on shared memory)

1. Communication of affinity process, parent write sub-readthought analysis:1 First we need to create a shared memory.2) The fork function is used to create a parent-child process. After the fork function is created, two processes run independently

Linux common view Hardware Device Information command (reprint)

System # uname-a # View kernel/Os/cpu information# head-n 1/etc/issue # view OS version# cat/proc/cpuinfo # View CPU Information# hostname # View computer name# LSPCI-TV # list all PCI devices# LSUSB-TV # list all USB devices# lsmod # List of loaded

Linux Kernel complete anatomy learning note typing too tired screenshot continuous update

1. linux0.11 Boot time #define MINUTE 60#define HOUR (60*minute)#define DAY (24*hour)#define YEAR (365*day)/* Interestingly, we assume leap-years */static int month[12] = {0,day* (31),day* (31+29),day* (31+29+31),day* (31+29+31+30),day* (31+29+3

Wxwidgets Installation and demos compilation under Linux

Wxwidgets under Linux have WXGTK and wxX11 for use, each need GTK and X11 development environment;Wxwidgets has WXGTK and wxX11 for use under Linux, but the GTK and X11 development environments need to be configured separately, and the development

Linux Command man and info

Linux Command Man and Infoman lsResult:LS (1) in 1 The meaning of this number is as follows: Code content 1 Commands or executables that a user can manipulate in a shell environment 2

Add desktop icons for common applications in Linux

Anywhere on the web can find how to put the application's icon on the desktop, I just use Ubuntu is also in accordance with the online practice, step by step, and now the online approach to copy down:Desktop profile brief \label{sec:desktop file}A

Description of So_rcvlowat and So_sndlowat in GNU Linux

/********************************************************************* * Author:samson * date:07/12/2015 * Test PL Atform: * GCC (Ubuntu 4.8.2-19ubuntu1) 4.8.2 * GNU bash, 4.3.11 (1)-release (X86_64-PC-LINUX-GNU) * Nginx Version: *

Jconsole, JVISUALVM monitoring the configuration of Tomcat running under remote Linux

1. Edit tomcat/bin/catalina.shLocate the Execute the requested Command and add the following code to the comment (No line break in the middle):catalina_opts= "$CATALINA _opts-djava.rmi.server.hostname=10.12.116.135-dcom.sun.management.jmxremote-

Install the SVN client on CentOS

Install the SVN client on CentOS1. Check that svn is already installed: # rpm-qa subversion subversion-1.7.14-6.el7.x86_64Uninstall the old version of svn: # yum remove subversion and then check whether the download is successful: # rpm-qa

Top linux commands

Top linux commands The top command displays information about the processes being executed by the current system. Including process ID and memory usage. The top command format is as follows: Top [OPTIONS] OPTIONS: -Batch B-c display the complete

Linux upload speed limit script

Linux upload speed limit script The following script can be used to limit the upload speed of the server. when the service is in peak hours, the upload speed is limited to ensure normal service. The principle is to use the TC (Traffic Control Module)

Total Pages: 5467 1 .... 1735 1736 1737 1738 1739 .... 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.