按W(大写的W),将top的配置写入配置文件,下次打开top的时候就能看见同样的配置了。
ps
查看进程当前运行在哪个cpu上,可以执行ps-eo pid,args,psr
[gluster@platform3 local]$ ps -eo pid,args,psr
PID COMMAND PSR
1 init [3] 0
。。。
7546 ssh-agent -s 3
8253 sshd: gluster [p 2
8255 sshd: gluster@pt 2
8256 -bash 0
8285 /home/gluster/lo 1
8334 ps -eo pid,args, 1
8403 /home/gluster/lo 2