shell

# shell命令
# 查看某个进程在哪个cpu 上运行
ps -eLo ruser,pid,ppid,psr,args

# 查看cpu个数
cat /proc/cpuinfo |grep -c processor

# 调整进程所使用的CPU
taskset -cp 1  25718

 

相关文章:

  • 2021-12-26
  • 2022-12-23
  • 2021-07-27
  • 2021-11-11
  • 2021-10-29
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-05
  • 2021-12-08
  • 2022-02-10
  • 2021-11-21
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案