Linux learning (that's what Linux should learn) 7

Source: Internet
Author: User

  • Manage Service Commands

    In RHEL7, the operation of the service command is not the same as CENTOS7 and Rhel6, RHEL6 uses the service, Chkconfig, and so on, while the RHEL7 command is systemctl.

    650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M00/96/80/wKiom1kikIzDR0atAACo8AazrOw449.jpg "title=" 1495437210.jpg "alt=" wkiom1kikizdr0ataaco8aazrow449.jpg "style=" float:left; "/>650" this.width=650; "src=" https ://s4.51cto.com/wyfs02/m00/96/80/wkiom1kiksjby1klaac6cbjwxcw205.jpg "title=" 1495437542.jpg "alt=" Wkiom1kiksjby1klaac6cbjwxcw205.jpg "/>

  • Managing resources and monitoring processes

    This function is similar to the task manager of the win system. Linux also has a variety of processes that keep the computer running. The process has a total of five states:

    650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M02/96/81/wKioL1kikr6jdzGGAABxeQg7GLk656.png "title=" QQ Browser screenshot is not named. png "alt=" wkiol1kikr6jdzggaabxeqg7glk656.png "/>PS for viewing processes in Ps-aux format (ps-aux|grep a process name or process ID)

    The top command is used to monitor the activity and system load of a process, which is equivalent to a hardened version of task management

650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M00/96/84/wKioL1kipTfBG-JIAAEjhYNZ1l4561.jpg "title=" 1495442670.jpg "width=" height= "321" border= "0" hspace= "0" vspace= "0" style= "width:500px;height:321px;" alt= " Wkiol1kiptfbg-jiaaejhynz1l4561.jpg "/>

650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M02/96/84/wKiom1kipbyhP4-aAADvl-khuF0106.png "title=" QQ Browser screenshot is not named. png "Width=" 550 "height=" "border=" 0 "hspace=" 0 "vspace=" 0 "style=" float:left;width:550px;height:264px ; "alt=" Wkiom1kipbyhp4-aaadvl-khuf0106.png "/>













pidof user queries the ID of a process, for example: P idof sshd

Killall the process used to end a particular ID Killoff 1299

    • View NIC Information nmcli

NMCLI Connection Show view network card configuration information

NMCLI Device Status View online connection status





This article is from "Deast's Nest" blog, please make sure to keep this source http://xudongdong.blog.51cto.com/1889083/1928313

Linux learning (that's what Linux should learn) 7

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.