3 Replies Latest reply: Dec 21, 2011 7:39 AM by 906646 RSS

    How to check the disk and network I/O of non-global zones

    906646
      hello,

      How to check the disk and network I/O throughput of non-global zones?
        • 1. Re: How to check the disk and network I/O of non-global zones
          855105
          903643 wrote:
          How to check the disk and network I/O throughput of non-global zones?
          On Solaris 11 you can use: "zonestat -r network 10" to view network utilization. I do now know how to do this on Solaris 10.

          Disk I/O depends on how you have configured disk for non-global zones. If each zone is on separate LUN, then it is quite easy to check disk statistics with "iostat -xn 10". If zones are (for example) on single LUN, then I do not know how to view statistics per zone.
          • 2. Re: How to check the disk and network I/O of non-global zones
            Mgerdts-Oracle
            Additionally, there is fsstat that can be used to monitor logical I/O operations. Note that logical I/O reported by fsstat will not correspond directly to physical I/O reported by iostat. By comparing the two, you can see the effectiveness of caching.
            • 3. Re: How to check the disk and network I/O of non-global zones
              906646
              Yes, I am also trying to check the network I/O in non-global zone Solaris 11 and below is the result:

              Running in non-global zone:

              # zonestat -r network 10 1
              Collecting data for first interval...
              Interval: 1, Duration: 0:00:10


              Not giving any result.... please suggest

              # ifconfig -a
              lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
              inet 127.0.0.1 netmask ff000000
              net0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
              inet 10.0.7.32 netmask ffff8000 broadcast 10.0.127.255
              ether 2:8:20:88:cf:cf
              lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
              inet6 ::1/128
              net0: flags=20002004841<UP,RUNNING,MULTICAST,DHCP,IPv6> mtu 1500 index 2
              inet6 fe80::8:20ff:fe88:cfcf/10
              ether 2:8:20:88:cf:cf



              root@solaris:~# zonecfg -z testzone info
              zonename: testzone
              zonepath: /export/zones/testzone
              brand: solaris
              autoboot: true
              bootargs: -m verbose
              file-mac-profile:
              pool:
              limitpriv:
              scheduling-class:
              ip-type: exclusive
              hostid:
              fs-allowed:
              anet:
                   linkname: net0
                   lower-link: auto