It is known that when Linux servers are tuned in large concurrency, it is often necessary to pre-tune the Linux parameters, where modifying the maximum number of Linux file handles is one of the most frequently modified parameters.You can query
OverviewLinux commands have a lot of Part I:Linux Directory Management class commands Directory Management class Commands:mkdir, RmDir, tree, DirName, basename(1) mkdir command:
Role: Used to create a directory in Linux.Format: mkdir [options]
Video: Http://pan.baidu.com/s/1c06oitiThe initialization of the GPIO• Using the command "LS drivers/gpio/*.o" in the kernel source directory, you can see that "Gpio-exynos4" is compiled into the kernel– Generate the. o File represents the final
1. View the existing users of Linux:[Email protected]_91 ~]# cut-d:-F 1/ETC/PASSWD[Email protected]_91 ~]# cat/etc/passwd |awk-f \: ' {print '} '2. You can view the users you want to see through the pipeline:Filter the results of the query by
7. linux File informationThis section mainly studies the Linux system file information related commands have stat and so on.7.1 Stat: View information about a fileYou can use the Stat command to view information about a file, such as the Inode,
I. Getting Started with bash programmingProgramming Languages:Compiled language: Compiler c,c++Interpreted language: InterpreterInterpreter can run independentlyVariables: Keep the data carrier, the command of the memory spaceLocal
#!/bin/sh## #open iptables service, allow this ports access 80, 3307, 21### #function firewall () { service iptables start for port in 21 80 3307 do iptables -I INPUT 5
*************************************************************************************************************** ***********************************************************************1, start2,post power-on, system self-test. The self-test speed
Basic features of Bash 1, glob wildcard characters * Multiple arbitrary characters ? An arbitrary character [] matches any single character within the specified range [^] any single character outside of the
File operationsCP, MV, RMCopy command: CPCP [OPTION] SOURCE DESTCP SRC DESTSRC is a file:If the target does not exist: Creates a new dest and fills the contents of SRC into the dest;If the directory exists:If Dest is a file: overwrites the contents
Video: Http://pan.baidu.com/s/1c06oitiThe initialization of the GPIO? Using the command "LS drivers/gpio/*.o" in the kernel source directory, you can see that "Gpio-exynos4" is compiled into the kernel– Generate the. o File represents the final
I. OverviewWhen to run and how long to run is the basic responsibility of process scheduling.The Linux scheduling algorithm provides preemptive multitasking, multi-processor support, processor affinity (processor affinity), non-Uniform memory access
(a): Operating system kernel access to the main device:(1): Character type device: keyboard, printer(2): Data block Device: Floppy disk, hard disk, CD(ii): The main features of Linux device drivers:(1): Initialize the device.(2): Put the equipment
I think, in the rapidly changing it technology today, the establishment of a 10-year plan is really unrealistic, because the technology update too fast, can not predict the future trend, as Microsoft has in recent years, even push Win7, win8, when
First, firewall configuration# Vi/etc/sysconfig/iptablesThe following firewall rule file example (the red part is the content that needs to be changed)///////////////////////////////////////////////////////////////////////////////////////////////////
Configuration planning: (Vmware9 under RHEL5.8 system implementation)In the cqy.com domain, the 192.168.0.0/24 network segmentNS server: 192.168.0.150;www server: 192.168.0.151,192.168.0.152Mail server: 192.168.0.153FTP Server is the alias of WWW
Expect installation commandsYum-y Install expectThe script code is as follows:#!/usr/bin/expectset Timeout 30spawn ssh-l username 192.168.1.1expect "Password:" Send--"ispass\r"//--can also be added without interactScript file execution requires the
Command name action parameter parameter actionDate Displays or sets the system%H hours (expressed as 00-23)Time and date%M minutes (represented by 00-59)%s seconds (as represented by local idioms)Full name of%A weekFull English name of%B month%d
How do I get the PID (process ID) of the processes?You can use:
#include
pid_t getpid (void);
More detailed information can be obtained by checking the description of the documents:
Find/usr/include-name unistd.h
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