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 *
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 '
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
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
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
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
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
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
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,
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:
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
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-
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
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:====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
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
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
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