当前位置:网站首页>Rhcsa 04 - process management
Rhcsa 04 - process management
2022-07-04 04:28:00 【Wangwanlin Ben】
Run the process
Background running process
[[email protected] ~]# dd if=/dev/zero of=/dev/null & # Run the process in the background
[1] 10125
[[email protected] ~]# jobs # View background processes
[1]+ Running dd if=/dev/zero of=/dev/null &
[[email protected] ~]# fg 1 # Put the specified background process into the foreground
dd if=/dev/zero of=/dev/null
recovery stop The process of
[[email protected] ~]# dd if=/dev/zero of=/dev/null
^Z
[1]+ Stopped dd if=/dev/zero of=/dev/null
[[email protected] ~]# bg
[1]+ dd if=/dev/zero of=/dev/null &Monitor progress
top command

ps command

Change process priority
By default , All processes have the same priority . The value of priority is from -19( Highest priority ) To 20( Lowest priority ).
[[email protected] ~]# nice -n -10 dd if=/dev/zero of=/dev/null &
[1] 10270
stay top Display page , Press r, Then input 10270, Then input nice value -15, You can change the priority value to -15,

Kill the process
killall dd Kill all dd process

You can also use kill <PID> A separate kill A process .
边栏推荐
- (指針)自己寫一個比較字符串大小的函數,功能與strcmp類似。
- Operation of ES6
- 领导:谁再用redis过期监听实现关闭订单,立马滚蛋!
- leetcode 121 Best Time to Buy and Sell Stock 买卖股票的最佳时机(简单)
- 【云原生】那些看起来很牛X,原理却很简单的一行代码
- Touch your hand and bring you a commonjs specification
- 普源DS1000Z系列数字示波器在通信原理实验中的应用方案
- [Logitech] m720
- Boutique website navigation theme whole station source code WordPress template adaptive mobile terminal
- Redis:集合Set类型数据的操作命令
猜你喜欢

【愚公系列】2022年7月 Go教学课程 002-Go语言环境安装

Boutique website navigation theme whole station source code WordPress template adaptive mobile terminal

分布式CAP理论

What does software testing do? Find defects and improve the quality of software

Graduation project: design seckill e-commerce system
![[csrf-01] basic principle and attack and defense of Cross Site Request Forgery vulnerability](/img/46/cb5a10ffe3fcdffb7da68dbaef5b1f.png)
[csrf-01] basic principle and attack and defense of Cross Site Request Forgery vulnerability

什么是上下文?

leetcode刷题:二叉树09(二叉树的最小深度)

软件测试是干什么的 发现缺陷错误,提高软件的质量

ctf-pikachu-XSS
随机推荐
Leetcode skimming: binary tree 08 (maximum depth of n-ary tree)
RHCSA 01 - 创建分区与文件系统
y55.第三章 Kubernetes从入门到精通 -- HPA控制器及metrics-server(二八)
B. All Distinct
Programmers' telecommuting is mixed | community essay solicitation
UnicodeDecodeError: ‘gbk‘ codec can‘t decode byte 0x98 in position 1093: illegal multibyte sequence
Krypton saikr daily question - CTF
C language bidirectional linked list first edition
User defined path and file name of Baidu editor in laravel admin
96% of the collected traffic is prevented by bubble mart of cloud hosting
Leader: who uses redis expired monitoring to close orders and get out of here!
How to add custom API objects in kubernetes (1)
Emlog user registration plug-in is worth 80 yuan
Pytest basic self-study series (I)
多位科技公司创始人向Entrepreneur First提供高达1.58亿美元的C轮融资,协助其投资下一代全球创新者
NFT new opportunity, multimedia NFT aggregation platform okaleido will be launched soon
2021 RSC | Drug–target affinity prediction using graph neural network and contact maps
一个漂亮的API文档生成工具
Three years of graduation, half a year of distance | community essay solicitation
[microservice openfeign] @feignclient detailed explanation