1. Use commands
Use in bashUlimit, Only effective for the Current Shell
You can alsoAdd the ulimit command line to the bashrc STARTUP script.
2. Use Functions
In your ownProgramCallingSetrlimitTo modify
3. modify the configuration file (I
In Linux, scripts that check Apache running status regularly check whether Apache is started. If Apache is not started, the service is automatically started.
Copy content to clipboard
Code :
#! /Bin/shCheck_services (){Echo "check services .
Http://www.xdowns.com/soft/softdown.asp? Softid = 28509
Software introduction:This package does not require absolute green installation. After decompression, run the Linux. BAT file.Qume is a virtual machine software.DSL. ISO is a Linux livecd
From http://www.gbunix.com/htmldata/2004_06/1/3/article_71_1.html
Load NTFS partitions in Linux At present, there are many introductions on the Internet to mount Windows NTFS in LinuxArticleAnd re-compile the kernel to support NTFS partitions. but
1. lxcbr0
When use_lxc_bridge = "true" in/etc/default/lxc, lxcbr0 is automatically created at lxc startup and assigned the IP address 10.0.3.1, the lxc instance of this bridge can assign IP addresses from 10.0.3.0/24. A dnsmasq instance runs in the
Interrupt service programs are usually executed when the CPU is disconnected, so as to avoid interrupting nesting and complicate the control. However, the CPU disconnection time cannot be too long; otherwise, the interruption signal may be easily
This is a backup script mybackup. Sh I am using.
Running properly in RedHat Linux 7.2
Mybackup. Sh#! /Bin/shUmount/mnt/bakMount/dev/sdb1/mnt/bak
If ['date + % d' = '01'] # complete backup on the first day of every monthThenBakdir = "/mnt/bak/daybak/
Wuwei ForumHttp://www.actcn.net/perl/ut/board_show.cgi? Id = 6 & age = 30Http://cepage.vicp.net/index.phpHttp://www.cngetit.comHttp://www.uplinux.com
GoogleHttp://www.google.com/linuxHttp://www.linux.comHttp://linux.tucows.com/Http://www.linuxforums.
In Linux, the name of the currently running program instance
Is a process. For example, when you start Apache, the system assigns a process ID to it. Then you can use
This ID monitors and controls this program.
Process monitoring and control are
The original text is also transferred. The address is http://blog.csdn.net/freedom2028/article/details/7104014.
This command is used to view detailed information about files and subdirectories in a directory.
[Root @ gucuiwen root] # llTotal
Mounted Optical Drive
Mount-T cd9660/dev/acd0/CDROM
Detach an optical drive
Umount-F/CDROM
Mount USB
Mount-T msdos/dev/da0s1/mnt/USB
Unmount USB
Umount/dev/da0s1
Load the kernel NIC Driver Module:
--------------------------------
Modprobe pcnet32
In Linux, once fork has a sub-process, the sub-process will inherit the descriptor of the main process, which brings many problems for developers, such as when I use socket, once I bind a port, and then fork, if the child process from fork does not
Install oralce10g in Linux
I. InstallOracle
(1) ExtractOracleLog on to release the Installation File,Use less disk space, faster)
Decompress 10201_database_linux32.zip in/tmp:
Unzip 10201_database_linux32.zip
Start Oracle Installation
(2) Start
First, paste some struct used in asynchronous Io, because it is rarely used, it is easy to organize and view.
Struct aiocb in AIO. h
struct aiocb{ int aio_fildes; /* file desriptor. */ int aio_lio_opcode; /* operation to be
After JDK is installed, install myeclipse.
Some of them do not take effect after JDK is installed. Version 1.4 still appears.
Therefore, errors may occur when installing myeclipse7.0 or 6.5 or 6.6.
[Root @ gupt AAAA] # llTotal usage 380Dr-XR-x 6
There are five processes in Linux:1. Run (running or waiting in the running Queue)2. interruption (in sleep, blocked, waiting for the formation or receipt of a signal of a condition)3. Do not interrupt (do not wake up when receiving the signal
Mutex refers to mutually exclusive locks. It is a semaphores that are often used to prevent two processes or threads from accessing the same shared resources at the same time.
1. Data Type:
In Linux, the thread mutex data type is pthread_mutex_t.
Several commonly used Linux operating system monitoring scripts:, China IT lab alias Keyword: Linux
This article describes several common Linux monitoring scripts that can automatically monitor and alert the traffic, system status, disk space, CPU
Linux network command ifconfig
InLinuxIn the environment, how can I use commands to view related network information?
IfconfigCommand: Used to view IP addresses and modify Network Interface Parameters
[Root @ Linux ~] # Ifconfig {interface}
Note the following before installation:It is recommended that your swap partition be as big as about 1 GB, and your hard disk partition should have enough space.
The Chinese translation of my post below:
1. Create users and groups:[Roko @ miniroko]
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