Skip to content

Instantly share code, notes, and snippets.

@ssinyagin
Created March 2, 2014 04:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ssinyagin/9302079 to your computer and use it in GitHub Desktop.
Save ssinyagin/9302079 to your computer and use it in GitHub Desktop.
FreeSWITCH CPU usage on Atom N570
root@atom02:~# top
top - 05:51:44 up 17:21, 1 user, load average: 0.05, 0.07, 0.05
Tasks: 77 total, 1 running, 76 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0.4 us, 0.2 sy, 0.0 ni, 99.5 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem: 2062460 total, 305540 used, 1756920 free, 57668 buffers
KiB Swap: 4167676 total, 0 used, 4167676 free, 197616 cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2285 freeswit -2 -10 44764 17m 5396 S 28.8 0.9 24:02.54 freeswitch
4005 root 20 0 4524 1396 1024 R 0.7 0.1 0:00.03 top
2176 root 20 0 6440 2980 2232 S 0.3 0.1 0:06.31 ssh
3856 root 20 0 9436 3412 2760 S 0.3 0.2 0:01.37 sshd
1 root 20 0 2284 744 644 S 0.0 0.0 0:02.52 init
root@atom02:~# mpstat -P ALL 1
Linux 3.2.0-4-686-pae (atom02) 03/02/2014 _i686_ (4 CPU)
05:52:19 AM CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle
05:52:20 AM all 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00
05:52:20 AM 0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00
05:52:20 AM 1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00
05:52:20 AM 2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00
05:52:20 AM 3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00
05:52:20 AM CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle
05:52:21 AM all 0.27 0.00 0.27 0.00 0.00 0.00 0.00 0.00 99.46
05:52:21 AM 0 1.08 0.00 1.08 0.00 0.00 0.00 0.00 0.00 97.85
05:52:21 AM 1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00
05:52:21 AM 2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00
05:52:21 AM 3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00
05:52:21 AM CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle
05:52:22 AM all 0.00 0.00 0.27 0.00 0.00 0.00 0.00 0.00 99.73
05:52:22 AM 0 0.00 0.00 1.08 0.00 0.00 0.00 0.00 0.00 98.92
05:52:22 AM 1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00
05:52:22 AM 2 0.00 0.00 1.06 0.00 0.00 0.00 0.00 0.00 98.94
05:52:22 AM 3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00
05:52:22 AM CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle
05:52:23 AM all 0.54 0.00 0.27 0.00 0.00 0.00 0.00 0.00 99.19
05:52:23 AM 0 1.10 0.00 0.00 0.00 0.00 0.00 0.00 0.00 98.90
05:52:23 AM 1 1.08 0.00 1.08 0.00 0.00 0.00 0.00 0.00 97.85
05:52:23 AM 2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00
05:52:23 AM 3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00
root@atom02:~# uname -a
Linux atom02 3.2.0-4-686-pae #1 SMP Debian 3.2.54-2 i686 GNU/Linux
root@atom02:~# cat /etc/debian_version
7.4
root@atom02:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 28
model name : Intel(R) Atom(TM) CPU N570 @ 1.66GHz
stepping : 10
microcode : 0x107
cpu MHz : 1000.000
cache size : 512 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm dtherm tpr_shadow vnmi flexpriority
bogomips : 3325.85
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 28
model name : Intel(R) Atom(TM) CPU N570 @ 1.66GHz
stepping : 10
microcode : 0x107
cpu MHz : 1000.000
cache size : 512 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 2
apicid : 1
initial apicid : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm dtherm tpr_shadow vnmi flexpriority
bogomips : 3325.29
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 2
vendor_id : GenuineIntel
cpu family : 6
model : 28
model name : Intel(R) Atom(TM) CPU N570 @ 1.66GHz
stepping : 10
microcode : 0x107
cpu MHz : 1000.000
cache size : 512 KB
physical id : 0
siblings : 4
core id : 1
cpu cores : 2
apicid : 2
initial apicid : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm dtherm tpr_shadow vnmi flexpriority
bogomips : 3325.37
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 28
model name : Intel(R) Atom(TM) CPU N570 @ 1.66GHz
stepping : 10
microcode : 0x107
cpu MHz : 1000.000
cache size : 512 KB
physical id : 0
siblings : 4
core id : 1
cpu cores : 2
apicid : 3
initial apicid : 3
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm dtherm tpr_shadow vnmi flexpriority
bogomips : 3325.39
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
root@atom02:~#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment