To view the Message Queuing Information section:
The code is as follows
Copy Code
Ipcs-l
Adjust queue and Shared memory Parameters section: vi/etc/sysctl.conf
View the number of current message queue
Sometimes to find a program written before, but a long time forgetful, only remember that the program fragment contains a text.
So how do you find a file that contains a piece of text under Linux?
The powerful find command can help you accomplish
After each new installation of the server, will be a series of configuration, installation software, modify configuration, etc., in order to better deploy vsftpd in the future, I hereby write a script for deploymentThere are three ways to log on to
The TCP wrappers:transmission Control Protocol (TCP) wrappers provides enhanced security for services generated by inetd. TCP Wrappers is a way to replace the use of/etc/inetd.sec. TCP Wrappers provides protection against spoofing of host names and
FTP Virtual user deployment and configuration1. in the vsftpd server, the main advantage of using virtual users is that the login account can be separated from the system login account, usernames, passwords are not the same, thereby further
Add a new workgroup to Groupadd (meaning add group).syntax : Groupadd option user Group nameOptions:-g Specifies the ID of the new workgroup-R Create system workgroup with system workgroup ID less than 500-K Overwrite configuration file
To enable the device to support the asynchronous notification mechanism, the following 3 tasks are involved in the driver:1. Support F_setown command, can set Filp->f_owner to the corresponding process ID in this control command processing.However,
Under the Linux system, reboot Tomcat to operate with commands!First, go to the bin directory under TomcatCd/usr/local/tomcat/binUsing the Tomcat Close command./shutdown.shTo see if Tomcat is shutting downPs-ef|grep JavaIf the following similar
Divided into two types: one-time scheduled tasks, periodic scheduled tasks. a one-time scheduled task , also known as the at Timed task, the command for ATD, here D is the deamon of the first letter, the Guardian meaning, refers to the Guardian
first, look at CPU is supported KVMGREP-E-o ' VMX|SVM '/proc/cpuinforesults show VMX Express Support Second, The package required to install the KVM1.[[email protected] ~] #yum install KVM KMOD-KVM qemu kvm-qemu-img virt-viewerVirt-manager
Ext.: http://blog.csdn.net/5iasp/article/details/13630927Suppose you have the following requirements:Suppose two servers:192.168.0.1 source server has directory/opt/test/192.168.0.2 target server has directory/opt/bak/test/The purpose of the
Feature Description: Lists information about users that are currently logged in to the system in the past.Syntax: last [-adrx][-f ][-n ][account name ...] [Terminal number ...]Additional Note: Execute the last instruction separately, it will read
Sometimes you find that you cannot modify a file with root permissions, most of all because you have locked the file with the chattr command. The chattr command is very useful, some of which are supported by the Linux kernel version, but the
2. UseThe grep command in a Linux system is a powerful text search tool that uses regular expressions to search for text and print matching lines. The grep full name is global Regular expression Print, which represents the globally regular
In the platform, we have to take into account the network adapter or switch hardware corruption, or line failure caused by the server offline. We can use a dual-NIC binding to implement redundancy for network adapters or lines, or to increase
Run InitThe init process is the starting point for all processes in the system, and you can compare it to the ancestor of all processes in the system, without which any process in the system will not start.The INIT program first needs to read the
The NL command is used in a Linux system to calculate the line number of a file. NL can automatically add a line number to the output file content! The default result is a bit different from Cat-n, NL can make the line number more display design,
[APUE] Process Control (medium), apue Process ControlI. wait and waitpid Functions
When a process terminates normally or abnormally, it sends a SIGCHLD signal to the parent process. This signal is ignored by default. The process that calls
In Linux, add the sudo permission and rootsudo to non-root users.In Linux, when a non-root user is added with the sudo permission, if a non-root user runs the sudo command in linux, a message similar to the following is displayed:
Xxx is not in 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