当前位置:网站首页>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 .
边栏推荐
- 网络 - VXLAN
- 微信公众号无限回调授权系统源码
- “找工作不要太在意工资”,这是我听过最大的谎言
- UnicodeDecodeError: ‘gbk‘ codec can‘t decode byte 0x98 in position 1093: illegal multibyte sequence
- 【云原生】那些看起来很牛X,原理却很简单的一行代码
- 西部数据绿盘、蓝盘、黑盘、红盘和紫盘有什么区别
- Common methods of threads
- Select function variable column name in dplyr of R language
- 5张图告诉你:同样是职场人,差距怎么这么大?
- Interpretation of leveldb source code skiplist
猜你喜欢
Leetcode skimming: binary tree 07 (maximum depth of binary tree)
【愚公系列】2022年7月 Go教学课程 001-Go语言前提简介
dried food! Generation of rare samples based on GaN
FT2000+下LPC中断绑核使用说明
Redis:集合Set类型数据的操作命令
Keysight N9320B射频频谱分析仪解决轮胎压力监测方案
Restore the subtlety of window position
Emlog user registration plug-in is worth 80 yuan
Emlog用户注册插件 价值80元
旭化成首次参展第五届中国国际进口博览会(5th CIIE)
随机推荐
leetcode 121 Best Time to Buy and Sell Stock 买卖股票的最佳时机(简单)
NFT新的契机,多媒体NFT聚合平台OKALEIDO即将上线
Small record of thinking
Emlog用户注册插件 价值80元
【云原生】那些看起来很牛X,原理却很简单的一行代码
Graduation project: design seckill e-commerce system
Why use node
[Logitech] m720
Unity draws the trajectory of pinball and billiards
B. All Distinct
Wechat official account infinite callback authorization system source code
Main applications of TDK lambda power supply
微信公众号无限回调授权系统源码
Modstartblog modern personal blog system v5.2.0 source code download
RHCSA 07 - 用户与群组管理
NFT new opportunity, multimedia NFT aggregation platform okaleido will be launched soon
One click compilation and deployment of MySQL
Wechat brain competition answer applet_ Support the flow main belt with the latest question bank file
UnicodeDecodeError: ‘gbk‘ codec can‘t decode byte 0x98 in position 1093: illegal multibyte sequence
EIG在智利推出可再生能源平台Grupo Cerro