Meng New Linux Learning Path (vi)

Source: Internet
Author: User

I. Process definition

To go to the city is the unfinished work of the CPU

Second, PA command

650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M01/8F/99/wKiom1jmBY6zMgkwAACSCAz7RSI940.png "title=" Screenshot from 2017-04-05 20-08-58.png "alt=" Wkiom1jmby6zmgkwaacscaz7rsi940.png "/>

PS A # #关于当前环境的所有进程

650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M01/8F/99/wKiom1jmBc2x1Vs6AADDY34QVjE284.png "title=" Screenshot from 2017-04-05 20-09-21.png "alt=" Wkiom1jmbc2x1vs6aaddy34qvje284.png "/>

PS X # #与当前环境无关的所有进程

650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M01/8F/97/wKioL1jmBgXi8YqJAACWWd9Mn2k744.png "title=" Screenshot from 2017-04-05 20-09-31.png "alt=" Wkiol1jmbgxi8yqjaacwwd9mn2k744.png "/>

PS F # #显示进程从属关系

650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M02/8F/99/wKiom1jmBi6C05oiAACyS5GlRlg341.png "title=" Screenshot from 2017-04-05 20-10-12.png "alt=" Wkiom1jmbi6c05oiaacys5glrlg341.png "/>

PS L # #长列表显示进程的详细信息

650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M02/8F/97/wKioL1jmBmbAFbAJAAC5VUtBb40223.png "title=" Screenshot from 2017-04-05 20-09-54.png "alt=" Wkiol1jmbmbafbajaac5vutbb40223.png "/>

PS E # #显示进程调用环境工具的详细信息

650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M00/8F/99/wKiom1jmBpfSFG6RAAC7qLs0JLw424.png "title=" Screenshot from 2017-04-05 20-10-27.png "alt=" Wkiom1jmbpfsfg6raac7qls0jlw424.png "/>

PS U # #显示进程用户信息

650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M02/8F/97/wKioL1jmBtLCi-HgAAC5GIG_OYg747.png "title=" Screenshot from 2017-04-05 20-16-42.png "alt=" Wkiol1jmbtlci-hgaac5gig_oyg747.png "/>

PS Ax-o%cpu,%mem,user,group,comm,nice,pid

%CPU # #显示进程cpu负载

%mem # #显示进程内存负载

User # #进程用户

Group # #进程组

Nice # #进程优先级

Comm # #进程名称

PID # #进程的id

650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M01/8F/97/wKioL1jmB33Sue58AABVueOa9MU031.png "title=" Screenshot from 2017-04-05 20-18-37.png "alt=" Wkiol1jmb33sue58aabvueoa9mu031.png "/>

PS ax-o%cpu,comm,--sort <+|-%cpu> <+|-%mem> # #按照进程信息排序

+ # #正序

-# #倒序

Third, process priority

1. Priority scope of the process

-20--19

2. Priority view

650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M00/8F/97/wKioL1jmCHrR8VRmAABZqEd4h-M882.png "title=" Screenshot from 2017-04-05 20-19-37.png "alt=" Wkiol1jmchrr8vrmaabzqed4h-m882.png "/>

3. Specify a priority to open the process

NICE-N Priority Digital Process information

Nice-n-5 Vim & # #开启vim并制定程序优先级-5

4. Change the process priority

Renice-n Priority numeric Process ID

650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M02/8F/97/wKioL1jmCSrTehSLAAA3_Oxy3CM980.png "title=" Screenshot from 2017-04-05 20-24-53.png "alt=" Wkiol1jmcsrtehslaaa3_oxy3cm980.png "/>

Iv. pre-and post-platform calls to processes in the environment

Jobs # #查看被打入后台的进程

CTRL +z # #把占用终端的进程打入后台

FG # #把后台进程调回前台

BG # #把后台暂停的进程运行

Comm & # #让命令直接在后台运行

V. Process signals

1. Common signal levels

650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M02/8F/99/wKiom1jmCfay4ADhAABCfh9ttMM753.png "style=" float : none; "title=" screenshot from 2017-04-05 20-30-47.png "alt=" Wkiom1jmcfay4adhaabcfh9ttmm753.png "/>

650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M01/8F/99/wKiom1jmCfbz4TCGAABdk9EWM4E309.png "style=" float : none; "title=" screenshot from 2017-04-05 20-41-21.png "alt=" Wkiom1jmcfbz4tcgaabdk9ewm4e309.png "/>

1 # #进程重新加载配置

2 # #删除进程在内存中的数据

3 # #删除鼠标在内存中的数据

9 # #强行借书单个进程 (cannot be blocked)

# #正常关闭进程 (may be blocked)

# #运行暂停的进程

# #暂停某个进程 (cannot be blocked)

# #把进程打入后台 (can be blocked)

Man 7 signal View signal details

Kill-Signal Process PID

Killall-Signal Process name # #批量执行

650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M02/8F/99/wKiom1jmDBOwky1GAAB5BSYVd08372.png "style=" float : none; "title=" screenshot from 2017-04-05 20-45-23.png "alt=" Wkiom1jmdbowky1gaab5bsyvd08372.png "/>

650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M01/8F/97/wKioL1jmDBOyV_LuAABVYfvX0oY531.png "style=" float : none; "title=" screenshot from 2017-04-05 20-45-30.png "alt=" Wkiol1jmdboyv_luaabvyfvx0oy531.png "/>

Pkill-u Student-Signal

Six, user login audit

1.

W # #查看使用系统的当前用户有哪些

W-f ##-f see where to use

650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M00/8F/97/wKioL1jmDP3hNi0MAAEbKBwFwfg745.png "title=" Screenshot from 2017-04-05 20-49-12.png "alt=" Wkiol1jmdp3hni0maaebkbwfwfg745.png "/>

2.

Last # #查看用户登陆成功历史

650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M01/8F/97/wKioL1jmDR2zRaczAAFOBk_tHGA771.png "title=" Screenshot from 2017-04-05 20-49-25.png "alt=" Wkiol1jmdr2zraczaafobk_thga771.png "/>

3.LASTB # #查看用户登陆未成功历史

Seven, top command

Top # #监控系统负载工具

650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M02/8F/97/wKioL1jmDXDhyNDeAAFYFUBoHGc588.png "title=" Screenshot from 2017-04-05 20-49-55.png "alt=" Wkiol1jmdxdhyndeaafyfubohgc588.png "/>

Eight, virtual machine remote file transfer

Open Nm-connection-editor Delete System Etho, add a new configuration

650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M00/8F/9B/wKiom1jmSgLyGQFOAABZ3pURj-s732.png "style=" float : none; "title=" screenshot from 2017-04-06 21-18-21.png "alt=" Wkiom1jmsglygqfoaabz3purj-s732.png "/>

Select Etho

650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M02/8F/9A/wKioL1jmSgKRfHBjAACMZXSbFKs749.png "style=" float : none; "title=" screenshot from 2017-04-06 21-18-45.png "alt=" Wkiol1jmsgkrfhbjaacmzxsbfks749.png "/>

Configure a new IP address

650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M00/8F/9A/wKioL1jmSgOyzXfDAACnYaOWw40735.png "style=" float : none; "title=" screenshot from 2017-04-06 21-19-05.png "alt=" Wkiol1jmsgoyzxfdaacnyaoww40735.png "/>

Configure IP Save

Enter ping + IP to see if the network is connected

650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M02/8F/9A/wKioL1jmSuWDDoS7AADe94L-26g637.png "title=" Screenshot from 2017-04-06 21-26-11.png "alt=" Wkiol1jmsuwddos7aade94l-26g637.png "/>

The file has 172.25.254.200 Transfer to 172.25.254.200


Meng New Linux Learning Path (vi)

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.