IPhone Process Management helper: 91 Process Management
Of course, we also need to have a certain understanding of the iPhone process. The following are common iPhone Process projects and hope to help you use the iPhone.
The process is described as follows:
Launchd: Integrates the unified architecture of inetd, init, mach_init, system starter, and related services through a startup, stop, and management background program to provide faster startup (do not close)
Tqserver: Netlong's PC suit daemo
When writing a Shell filter process, most people use grep to search for the specified process in the output result of ps aux. However, the grep process is also displayed, for example, the pptpd process, two matching items are displayed:
Copy codeThe Code is as follows: [root @ selboo ~] # Ps aux | grep pptp
Root 20191 0.0 0.2 5108 704 pts/2 R + grep pptp
Root 22054 0.0 0.1 1952 608? Ss Oct22 0: 00/usr/sbin/pptpd
A common method to prevent grep processes is to filter grep-v grep by adding a pipe
CentOS7.0 VPN setupBefore CentOS7.0, the iptables firewall was used, and firewalld was used by default after 7.0. The VPN settings were also different: 1. check if pptpd: modprobe ppp-compress-18 is supported echo yes returns yes indicates Support 2. check whether tun: cat/dev/net/tun is enabled. If cat:/dev/net/tun: File descriptor in bad state is returned, it is supported. Otherwise, you must manually enable tun. install pptpd and ppp: yum-y install ppp pptpd Note: If you are prompted that pp
Most people use grep to find the specified process in the PS aux output when they write the shell filtering process, but they also display the grep process, such as finding the pptpd process, which matches two:
Copy Code code as follows:
[Root@selboo ~]# ps aux | grep PPTP
Root 20191 0.0 0.2 5108 704 pts/2 r+ 16:58 0:00 grep PPTP
Root 22054 0.0 0.1 1952 608? Ss Oct22 0:00/usr/sbin/pptpd
A common way to prevent the grep process from appearing is to filter the additio
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.