Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6260084

Fix exact swap size computation in TestTotalSwap.sh

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 6
    • 6
    • core-svc
    • None


      com/sun/management/OperatingSystemMXBeancom/TestTotalSwap.sh

      >swap -l
      swapfile dev swaplo blocks free
      /dev/dsk/c2t0d0s1 32,1 16 2097392 2052272
      /export/disk18/extraswap03 - 16 4194288 4150608
      /export/disk19/extraswap04 - 16 4194288 4151696
      /export/disk08/extraswap05 - 16 4194288 4149360


      The solaris_swap_size() computation script which total the
      swap computation greps for /dev. It is not right. On some
      machine swap may not be on /dev. Need to fix this problem
      in the test case.

      ###@###.### 2005-04-22 16:27:20 GMT

            swamyv Swamy Venkataramanappa (Inactive)
            swamyv Swamy Venkataramanappa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: