当前位置:网站首页>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 .
边栏推荐
猜你喜欢

Senior developers tell you, how to write excellent code?

Wechat official account infinite callback authorization system source code

分布式系统:what、why、how

Redis:有序集合zset类型数据操作命令

资深开发人员告诉你,怎样编写出优秀的代码?
![[Logitech] m720](/img/bb/44144a1c3907808398c05b3b36962c.png)
[Logitech] m720

Graduation project: design seckill e-commerce system

Leetcode brush questions: binary tree 05 (flip binary tree)

dried food! Generation of rare samples based on GaN

普源DS1000Z系列数字示波器在通信原理实验中的应用方案
随机推荐
How to add custom API objects in kubernetes (1)
Touch and take you to implement an EventEmitter
微信公众号无限回调授权系统源码
透过JVM-SANDBOX源码,了解字节码增强技术原理
【微服务|openfeign】使用openfeign远程调用文件上传接口
Select function variable column name in dplyr of R language
Lnk2038 detected a mismatch of "runtimelibrary": the value "md_dynamicrelease" does not match the value "mdd_dynamicdebug" (in main.obj)
02 specific implementation of LS command
Leader: who uses redis expired monitoring to close orders and get out of here!
Pointer array and array pointer
Flink学习7:应用程序结构
How to add custom API objects in kubernetes (1)
UnicodeDecodeError: ‘gbk‘ codec can‘t decode byte 0x98 in position 1093: illegal multibyte sequence
Leetcode 121 best time to buy and sell stock (simple)
Flink learning 7: application structure
Talking about what a high-quality little red book copy needs to have
I.MX6U-ALPHA开发板(C语言版本LED驱动实验)
VIM add interval annotation correctly
北漂程序员,月薪20K,一年攒15W,正常吗?
Graduation project: design seckill e-commerce system