Linux system tuning

1, user maximum number of processes configuredCENTOS5 Environment Modify/etc/security/limits.conf fileCENTOS6 Environment Modify/etc/security/limits.d/90-nproc.conf file  [email protected]:/data/tools/db# vim/etc/security/limits.conf  *              

Linux under development, to solve the Cocos2d-x in the compilation of a small problem, undefined reference to symbol & #39;p thread_create@ @GLIBC_2 .2.5& #39;

Solve a small problem with compilation in Cocos2d-xfor Cocos2d-x 2.x in the compilation, if the header file introduced the # # "Cocos-ext.h", in the C + + compilation will encounter such as the following error: Undefined reference to symbol '

View process path under Linux

Viewing processes under Linux Everyone would have thought of using Ps-ef|grep XXXBut see not the whole path, how to see the whole path?After each process starts, there is a path to the PID below the/procExample: Ps-ef|grep pythonDisplay: Oracle 4431

How Linux displays a few lines of a file

1. Starting from line 1000th, display 2000 rows. The 1000~2999 line is displayedCat Input_file | Tail-n +1000 | Head-n 20002. Display 1000 rows to 3000 rowsCat Input_file | Head-n 3000 | Tail-n +1001* Note the order of the two

linux-Basics-Day 9th

SU commandThe role of SU is to change to the identity of other users, except the superuser, who needs to type the user's password.Su is switching to other users, but does not switch environment variables (for example, the Export command to see the

Linux system operating level

The operating level of the 1.Linux is set as follows:(Different level of start-up service differs) 0: Shutdown 1: Single user mode (can modify root password) for system repair. 2: Multi-user mode without network support (no NFS) 3: Multi-user mode

Linux environment variable setting method summary (Path/ld_library_path)

Linux environment variable setting method summary (Path/ld_library_path)http://blog.csdn.net/wangeen/article/details/8159500Set Ld_library_path variables for LinuxHttp://www.cnblogs.com/trying/archive/2013/06/07/3123577.htmlLd_library_path setting

Linux source feed out and Iproute2

Recently in the solution to the customer to meet such a scene also to bury themselves a hole here to record.The specific requirements are as follows Now the customer domestic server and foreign firewalls have been opened intranet

Linux arm cross-compiler ace (ubuntu16.04)

Unzip the ACE pack tar zxvf ace_6.1.0.tar.gzSetting environment variables at the terminalsudo gedit/etc/profileIn the open content addExport Ace_root=/home/xxxxx/ace_wrappersExport ld_library_path= $LD _library_path: $ACE _root/aceNote: The part of

"Vfork function" of Linux Learning

Why use Vfork ()?You want the parent-child process to execute different code. For example:In a network service program, the parent process waits for a service request from the client, and when the request is reached, the parent process calls fork,

Linux Create user scripts

#!/bin/bashWhile ["$#"-eq "0"-o "$#"-eq "1"]Doecho "Not found file!"BreakDoneUs= ' Wc-l $ | Cut-c 1 'Pa= ' Wc-l | Cut-c 1 'While ["$US"-ne "$PA"]Doecho "s line is different $"BreakDoneNum= ' Wc-l $ | Cut-c 1 'For USER in ' seq 1 $NUM 'DoUseradd $

Network commands for Linux are organized in the update

Network commands for Linux are organized in the update1. Install the package: Net-tools main commands: Netstat, ifconfig, route, Iptunnel Iproute Main commands: ss, IP addr, ip route, IP tunnel 2.net-tools Series Main usage:

Linux View port Usage

How Linux looks at ports1, Lsof-i: Port number is used to view the occupancy of a port, such as viewing 8000 ports usage, lsof-i:8000# lsof-i:8000COMMAND PID USER FD TYPE DEVICE size/OFF NODE namelwfs 22065 Root 6u 4395053 0t0 TCP

Linux Disk storage Management

I. Basic concepts of Disk Management1. Method of presentation: two scenariosScenario One: Main device number + secondary device number + disk partition numberFor IDE hard drives: hd[a-z]xFor SCSI drives: sd[a-z]xScenario Two: (Main device number +[0-

Linux----Navigation

NavigationFind Permission denied----http://www.codecoffee.com/tipsforlinux/articles/21.html----https://www.computerhope.com/unix/ufind.htmMakingCD mkdir TestCD RM Test (test is a file)CD RM test-r (test is a

Arm-linux-ld:cannot Find SDRAM_INIT.O

Reason: Makefile dependent part, less write. o file, compile time so cannot find.Workaround: Add the corresponding file on the dependencies section SDRAM_INIT.OWhere the Scarlet Letter part is the added codeSDRAM_INIT.O Arm-linux-ld-tlink.lds

Linux Common Compression Packaging command line

LINUX Common Compression Packaging command line:====1, commonly used compression command:TAR-ZCVF xx.tar.gz XXExample: TAR-ZCVF xx-20170614.sql.tar.gz xx-20170614.sql2. DecompressionTAR-ZXVF xx.tar.gz3. Download the compressed files from the server

One Linux command per day: less command

Copyright Notice Update:2017-05-18Bo Master: LuckyalanContact: [Email protected]Statement: Draft not forget to dig well man, reproduced please indicate the source!1 Article IntroductionThis article describes the MV command below Linux.2. Development

Time slice, cpu time slice

Time slice, cpu time slice Timeslice is also called "quantum" or "processor slice) it is a period of CPU time allocated by the time-sharing operating system to each running process at a micro level (in the preemption kernel, it is the time from the

Linux-chown command (1) and linux-chown command

Linux-chown command (1) and linux-chown command Chown [chang owner]: Change users and groups. Command Format: Chown [Option]... [user] [: [group] file... Example:Sudo chown book: book/work-R -R [recursion]: recursively change all files in this

Total Pages: 5467 1 .... 3824 3825 3826 3827 3828 .... 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.