Linux has a command-line tool called Pidof, can be based on the user input process name to find the process number, but sometimes we need to implement in the program, do not want to call system, after looking at many versions of the pidof source
Linux system is a multi-user multi-tasking time-sharing system, any user who wants to use system resources must first request an account from the system administrator and then enter the system as this account. On the one hand, the user's account can
DstatIf the system does not have some tools yum-y install Dstat installation is complete, this software is small, package size is only 144k, installation size 660k.This tool will dynamically display the Cpu,disk,net,page,system load situation by
Create a physical volumePvcreate/dev/hda5
Create a volume groupVgcreate Volgroup/dev/hda5/dev/hdb
Activating a volume groupVgchange-a y VolGroup
Creating a logical VolumeLvcreate–l +100g–nlv_home VolGroup
Delete a logical
1.yum Install VSFTPD2.service vsftpd Restart test is installed successfullyShutting down VSFTPD: [OK]Starting vsftpd for VSFTPD: [OK]OK indicates that the restart was successful.3, Configuration vsftpdAfter installation, we need to configure it for
One source fileThe following two source files are available for download:/* BILL.C */#include void bill (char* Arg) { printf ("Bill:we passed%s\n", Arg);}/* FRED.C */#include void Fred (int arg) {printf ("Fred:we passed%d\n", Arg);}Compile build.
Linux Command Beginner Levelhttp://ke.qq.com/video/index.html?course_id=6815Ls-A All Files-LType, number of connections, owning user, workgroup, size, modification time, file name-Normal fileCatalog DL Symbolic LinkGreen ExecutableRedBlue
method 1 -Split stream Use cronolog tool slicing tomcat catalina.out log file cronolog a small tool for log slicing whose home page is in http://cronolog.org/ , we can also use it to slice apache . This method is recommended as follows
What is a package?How does CentOS install, uninstall, upgrade packages?How is the package managed?How do I compile the installation?How do I configure a yum source?Part of a package:1. Binary
1. Operating system generally four levels, kernel-"system call -" Library-"ApplicationKernel: The kernel provides the implementation of some basic functions of the operating system, such as file system, network protocol stack, process Management,
1. FindFind is the most common and powerful look-up command you can use to find any file you're looking for.Find uses the following format: $ find ---If no parameters are added, find searches the current directory and its subdirectories by
IdeasProducers and consumers (mutual exclusion and synchronization). The resource is simulated with a queue (to be locked, only one thread can operate the queue at a time). M a producer. Get the lock, and product dissatisfaction, can be produced.
VPU hard-coded and VPU-encoded
The platform is RK3066 (Fuzhou ruixin microcompany), android 4.2.0, and its real-time VP8 hard code, which is different from software coding such as ffpmeg, x264, and xvid. Hard coding mainly depends onHardware.
Hard
Install the SAMBA server on CentOS7
Suppose we have such a scenario
Share Name path permission everyone DOC/smb/docs all personnel including guests can access RDDOCS/smb/tech only allow users in specific groups to read and write access
The group
Install mongodb in CentOS
1. Download the installation packageWgethttp: // fastdl.mongodb.org/linux/mongodb-linux-i686-1.8.2.tgzDownload
Wgethttp: // fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.0.4.tgz
Decompress the package after the download
Install php and memcache in linux
The installation environment is Ubuntu13.10 version i386. nginx and mysql servers have been installed. The task is to install php and memcache. Dry goods directly, not to mention anything.1. php installation and
Basic commands for viewing logs in linux1. cat command:
Function:1) display the entire file.
Example: $ cat fileName
2) connect the file string to the Basic output, for example, merge several files into one file or output them to the screen.
Example:
Set NFS server on CentOS/RHEL/ScientificLinux6.3/6.4/6.5Http://www.tecmint.com/how-to-setup-nfs-server-in-linux/ in this tutorial, let's see how to install and configure the NFS server and how to share files between the NFS server and the client.
Detailed setup process for preparing three identical Linux virtual machines for learning Hadoop using VMware
Introduction:VMware can run two or more Windows, DOS, and LINUX systems simultaneously on a local laptop. VMWare uses a completely different
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