• openStack 主机流量计运行状态 随笔记录


    root@ruiy-controller:~# ifconfig
    eth0      Link encap:Ethernet  HWaddr 0c:c4:7a:0d:97:2c
              inet addr:192.168.3.5  Bcast:192.168.3.255  Mask:255.255.255.0
              inet6 addr: fe80::ec4:7aff:fe0d:972c/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:3566242 errors:0 dropped:0 overruns:0 frame:0
              TX packets:2854582 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:1110677818 (1.1 GB)  TX bytes:805105769 (805.1 MB)
              Interrupt:16 Memory:dfc00000-dfc20000

    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:22454891 errors:0 dropped:0 overruns:0 frame:0
              TX packets:22454891 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:5845934619 (5.8 GB)  TX bytes:5845934619 (5.8 GB)

    root@ruiy-controller:~# w
     22:25:49 up 5 days,  6:56,  1 user,  load average: 0.06, 0.12, 0.15
    USER     TTY      FROM             LOGIN@   IDLE   JCPU   PCPU WHAT
    root     pts/2    60.168.51.211    22:21    5.00s  0.11s  0.01s w

    root@ruiy-controller:~# cat /etc/hosts
    #127.0.0.1      localhost

    # The following lines are desirable for IPv6 capable hosts
    ::1     localhost ip6-localhost ip6-loopback
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters

    #yrzl-cloud ploatform hosts conf by ruiy
    192.168.3.5     ruiy-controller
    192.168.3.6     ruiy-network
    192.168.3.7     ruiy-compute01
    root@ruiy-controller:~# ssh ruiy-compute01
    root@ruiy-compute01's password:
    Welcome to Ubuntu 14.04.4 LTS (GNU/Linux 4.2.0-34-generic x86_64)

     * Documentation:  https://help.ubuntu.com/

      System information as of Tue Mar 29 18:11:49 CST 2016

      System load:  2.85             Users logged in:       0
      Usage of /:   4.9% of 1.22TB   IP address for eth0:   192.168.3.7
      Memory usage: 32%              IP address for eth1:   192.168.3.9
      Swap usage:   0%               IP address for virbr0: 192.168.122.1
      Processes:    340

      Graph this data and manage this system at:
        https://landscape.canonical.com/

    3 packages can be updated.
    0 updates are security updates.

    Last login: Tue Mar 29 18:11:49 2016 from 192.168.3.5
    root@ruiy-compute01:~# w
     22:26:23 up 16 days, 17 min,  1 user,  load average: 1.42, 1.68, 1.84
    USER     TTY      FROM             LOGIN@   IDLE   JCPU   PCPU WHAT
    root     pts/17   192.168.3.5      22:26    0.00s  0.04s  0.00s w

  • 相关阅读:
    正则表达式的总结
    网络搭建的四种方式
    argparse的总结详情
    错误记录
    8x8点阵的原理及代码实现
    __pycache__的认识记录
    浏览器渲染原理及流程
    javascript 中 async/await 的用法
    浏览器的进程和线程
    JS 对象toString 和 valueof 方法
  • 原文地址:https://www.cnblogs.com/ruiy/p/5361450.html
Copyright © 2020-2023  润新知