The DF command is a commonly used command for viewing hard disk information. The main parameters are as follows:
DF-A: displays the disk usage of all file systems, including 0 block file systems.DF-I: displays the I node information, not the
Address: http://blog.csdn.net/wind19/archive/2009/11/30/4905453.aspx
My testing environment is SuSE Linux 10.1.
Keep CT home page: http://expect.nist.gov/Latest stable version 5.45.0:
If there is only one root partition, there is no swap partition. When the VPs memory is not large, a swap file needs to be added.1. Enter a directory
CD/var/
2. Get the MB file block:
Dd If =/dev/Zero of =/var/swapfile BS = 1024 COUNT = 26
1) Create an NFS share operation:
0. You have logged on to the system as the root user.
1. By default, the system does not start the NFS service.Service NFS statusService NFS start
2. Modify the NFS configuration file/etc/exports, for example#
Linux:
1 Single Kernel Mode
Linux is a single kernel mode, and externalProgramIn different memory address spaces, the program can only be accessed through the: System Call interface.
In Linux, the single kernel mode is
The "OD" command is often used to show the content of a special file:
Command name: OD
Signature method: od [-abcdfhilovx] [-A ] [-j ] [-n ] [-S ] [- T ] [-W ] [-- help] [-- version] [file...]
Description: displays the file content in the
Inter-process communication in Linux (4)
Signal lamp
I. Traffic Signal Overview
The traffic signal is not the same as that of other processes. It mainly provides resource access control for inter-process sharing. It is equivalent to a memory flag. A
Commands in iptables must be case sensitive.
The main syntax differences between ipchains and iptables are as follows:
1. In ipchains, for example, the input chain uses a lowercase name. In iptables, use uppercase input instead.
2. in iptables, you
// Note that you can use data = Data * 6.25 on bare metal to increase the temperature by 100 times, but not in the kernel, however, data = Data * 625/100 can be used;
// I checked it online. It seems that the kernel does not support floating point.
Zieckey (http://zieckey.cublog.cn)Wait (waiting for the sub-process to be interrupted or terminated)Header file# Include # Include Define the function pid_t wait (int * status );Function DescriptionWait () will temporarily stop the execution of the
4. Source Code memory
You can use the info line command to view the address of the source code in the memory. Info line can be followed by "row number", "function name", "File Name: line number", and "File Name: function name ", this command prints
Thread Data Processing
Compared with a process, one of the biggest advantages of a thread is data sharing. Each process shares the data segment that follows the parent process to conveniently obtain and modify data. But this also brings many
1. download the latest stable version of Linux kernel-linux-3.6.6 in the following website
Http://www.kernel.org/
2. decompress the package to the current directory.
Tar-xvjf linux-3.6.6.tar.bz2
3. Modify rows 195th and 196th in the makefile
We found this usage in flash_eraseall of MTD-util:
----------------------------------------------------------------
# Define memgetinfo _ ior ('M', 1, struct mtd_info_user)
......
IOCTL (FD, memgetinfo, & meminfo)
------------------------------------
In Linux, what is the difference between the content in the/dev/directory and that in the/proc/file devices? I'mWhen I did an experiment on the board, I found that when I loaded the driver module to the Board, there were changes in the devices file,
1) Compile source program analysis:Compile an at&t assembly language program to sleep for 10 seconds during running.
The source code is as follows:
# Include "sys/syscall. H"
. DataSleeptime:. Long 10, 0
. Text
. Global _ start. Type _ start, @
Create a proc fileBased on the use of Proc files, the kernel provides a variety of packaging functions to create a proc file.
Method 1:Struct proc_dir_entry * create_proc_entry (const char * Name, mode_t mode, struct proc_dir_entry * parent)This is
Linux
SVNCommand OverviewSource: Internet Author: anonymous name time: 09-30 21:28:59
-
-
1
, Checkout the fileTo the local directory
SVN checkout path
(Path
Is the directory on the server)
Example: SVN checkout SVN: // 192.168.1.1/Pro/Domain
A system call is a functional interface between an application and the operating system kernel. The main purpose is to allow users to use the functions provided by the operating system in terms of device management, input/input systems, file systems
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