1 Reply Latest reply: Nov 4, 2012 5:07 PM by rajeysh RSS

    sort in asmcmd

    Ora_83
      Hi,

      What is the best way to do sort in asmcmd ?
      i.e
      I want to see how much space is occupied by ASM,ORCL,ORCL_PRI,etc...
      ASMCMD> pwd
      +DATA
      
      ASMCMD> ls
      ASM/
      ORCL/
      ORCL_PRI/
      At the moment, I use du command for each of them one by one which is really time consuming

      i.e
      ASMCMD> du ASM/
      Used_MB      Mirror_used_MB
            1                   1
      ASMCMD> du ORCL/
      Used_MB      Mirror_used_MB
         1623                1623
      I am just wondering if there is an easy way to get this information ?
        • 1. Re: sort in asmcmd
          rajeysh
          AFAIK, it is not possible in asmcmd command.

          try using queries; refer the link for more information and sample queries;
          http://docs.oracle.com/cd/E16338_01/server.112/e10500/asmviews.htm

          I am also waiting for experts input.