• 系统负载超预警 问题定位


    [root@node-155 ~]# w
    10:48:03 up 148 days, 13:48, 3 users, load average: 3.23, 5.50, 14.39
    USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
    root pts/18 10.254.3.2 10:13 5.00s 0.00s 0.00s -bash
    root pts/19 10.254.3.2 10:29 13:13 0.00s 0.00s -bash
    root pts/20 10.254.3.2 10:47 0.00s 0.01s 0.01s w


    [root@node-155 ~]# top
    top - 10:48:06 up 148 days, 13:48, 3 users, load average: 3.05, 5.43, 14.32
    Tasks: 716 total, 3 running, 713 sleeping, 0 stopped, 0 zombie
    Cpu(s): 2.2%us, 2.1%sy, 0.0%ni, 95.4%id, 0.3%wa, 0.0%hi, 0.0%si, 0.0%st
    Mem: 132128444k total, 131657860k used, 470584k free, 164012k buffers
    Swap: 4194296k total, 1307580k used, 2886716k free, 33643752k cached

    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    8124 root 20 0 9187m 3.9g 9680 S 112.3 3.1 14336:51 qemu-system-x86
    456 root 39 19 0 0 0 R 98.8 0.0 5125810h kipmi0
    8418 ceilomet 20 0 371m 51m 8000 R 79.4 0.0 918:47.79 ceilometer-agen
    23420 root 20 0 20.9g 16g 9580 S 9.7 12.7 394:25.54 qemu-system-x86
    8339 root 20 0 1601m 10m 4756 S 7.7 0.0 77:04.92 libvirtd
    25462 root 20 0 12.7g 7.9g 7280 S 7.7 6.3 11451:38 qemu-system-x86
    13650 root 20 0 6635m 864m 6856 S 3.9 0.7 816:02.25 qemu-system-x86
    30958 root 20 0 15568 1716 888 R 3.9 0.0 0:00.02 top
    31620 root 20 0 12.9g 1.9g 6920 S 3.9 1.5 8763:55 qemu-system-x86
    944 nova 20 0 1939m 58m 8748 S 1.9 0.0 129:46.74 nova-compute
    977 root 20 0 8960m 4.0g 9544 S 1.9 3.2 616:02.00 qemu-system-x86
    1487 root 20 0 8837m 2.0g 9540 S 1.9 1.6 565:56.94 qemu-system-x86
    10733 root 20 0 20.8g 15g 7032 S 1.9 12.6 3009:27 qemu-system-x86
    15728 root 20 0 8920m 4.0g 6892 S 1.9 3.2 933:04.93 qemu-system-x86
    17810 root 20 0 0 0 0 S 1.9 0.0 33:52.24 xfsaild/sdb4
    18286 root 20 0 1911m 390m 6064 S 1.9 0.3 2341:26 ceph-osd
    18451 root 10 -10 48524 15m 7220 S 1.9 0.0 3727:18 ovs-vswitchd
    30229 root 20 0 12.6g 7.7g 7084 S 1.9 6.1 27887:21 qemu-system-x86
    30548 root 20 0 6878m 2.0g 9516 S 1.9 1.6 1375:54 qemu-system-x86
    30933 root 20 0 19.3g 3.6g 9632 S 1.9 2.9 361:36.36 qemu-system-x86
    31696 root 20 0 8521m 2.3g 9548 S 1.9 1.8 530:27.04 qemu-system-x86
    32593 root 20 0 8971m 4.0g 9544 S 1.9 3.2 666:31.74 qemu-system-x86
    1 root 20 0 19232 1296 1092 S 0.0 0.0 0:06.15 init
    2 root 20 0 0 0 0 S 0.0 0.0 0:01.97 kthreadd
    3 root RT 0 0 0 0 S 0.0 0.0 44:05.99 migration/0
    4 root 20 0 0 0 0 S 0.0 0.0 16:45.41 ksoftirqd/0
    5 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
    6 root RT 0 0 0 0 S 0.0 0.0 0:21.10 watchdog/0
    7 root RT 0 0 0 0 S 0.0 0.0 0:23.15 migration/1


    [root@node-155 ~]# vmstat
    procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu-----
    r b swpd free buff cache si so bi bo in cs us sy id wa st
    5 1 1307580 472064 164012 33643756 0 0 10 14 0 0 2 2 95 0 0

  • 相关阅读:
    Linux 小知识点
    Nginx 源码安装
    MySQL user表详解
    Python 资源
    Python 迭代dict的value
    著作权和专利权的区别
    软件设计师05-信息安全基础知识
    记录一次服务器突然宕机的排查
    支付宝微信拉取账单到本地
    软件设计师04-计算机网络
  • 原文地址:https://www.cnblogs.com/cmss/p/4762636.html
Copyright © 2020-2023  润新知