F
F
fokin_nikolay19892016-03-02 18:41:15
Processors
fokin_nikolay1989, 2016-03-02 18:41:15

How to determine whether centos is using two processors or one?

Good day!
I installed a second processor in the server, guys, tell me how to look at centos 6.6, does it use two processors or one? How is the load distributed? (Dell server)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexey Cheremisin, 2016-03-02
@leahch

You can just run top
Then press the key 1 (one)
Get something like the following picture

top - 19:56:47 up 70 days, 22:17,  1 user,  load average: 1.06, 0.78, 0.54
Tasks: 313 total,   1 running, 312 sleeping,   0 stopped,   0 zombie
Cpu0  :  0.3%us,  0.7%sy,  0.0%ni, 98.0%id,  0.0%wa,  1.0%hi,  0.0%si,  0.0%st
Cpu1  :  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu2  :  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu3  :  3.0%us,  0.3%sy,  0.0%ni, 96.7%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu4  :  0.3%us,  0.0%sy,  0.0%ni, 99.7%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu5  :  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu6  :  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu7  :  2.3%us,  0.3%sy,  0.0%ni, 95.4%id,  0.0%wa,  2.0%hi,  0.0%si,  0.0%st
Cpu8  :  0.0%us,  0.3%sy,  0.0%ni, 99.7%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu9  :  0.0%us,  0.0%sy,  0.0%ni, 99.7%id,  0.0%wa,  0.3%hi,  0.0%si,  0.0%st
Cpu10 :  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu11 :  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:  16391940k total, 16131308k used,   260632k free,   256568k buffers
Swap: 16732028k total,   283700k used, 16448328k free, 13885680k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
21055 www-data  20   0  367m  86m  44m S    3  0.5  11:36.53 php5-fpm
25425 davfs2    20   0 62632 5408 1744 S    2  0.0  10:05.34 mount.davfs
27192 root      20   0 17472 1480  972 R    1  0.0   0:00.07 top
    8 root      20   0     0    0    0 S    0  0.0 100:22.51 rcuos/0
 9367 redis     20   0 11232 1436  688 S    0  0.0  46:09.99 redis-server
18792 www-data  20   0  121m 4192 1120 S    0  0.0  17:43.58 nginx
    1 root      20   0 24340 1848 1020 S    0  0.0   0:11.06 init
    2 root      20   0     0    0    0 S    0  0.0   0:01.67 kthreadd
    3 root      20   0     0    0    0 S    0  0.0   4:23.58 ksoftirqd/0
    5 root       0 -20     0    0    0 S    0  0.0   0:00.00 kworker/0:0H
    7 root      20   0     0    0    0 S    0  0.0  89:01.35 rcu_sched
    9 root      20   0     0    0    0 S    0  0.0  21:43.56 rcuos/1
   10 root      20   0     0    0    0 S    0  0.0  17:40.52 rcuos/2
   11 root      20   0     0    0    0 S    0  0.0  17:40.02 rcuos/3
   12 root      20   0     0    0    0 S    0  0.0  16:00.85 rcuos/4
   13 root      20   0     0    0    0 S    0  0.0  14:39.94 rcuos/5

A
Armenian Radio, 2016-03-02
@gbg

Put htop and look at the processor load.

A
AntonMZ, 2016-03-03
@AntonMZ

Is the process in use or present on the system (is Linux Centos visible)?
Perhaps you need to look at
It will be clear.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question