Delphix Toolkits (dxToolkit and dxmToolkit)

 View Only
  • 1.  dxtoolkit to list vDBs >50 Gb

    Posted 10-11-2023 06:46:00 AM

    I am trying to get a toolkit command that will list me all my vDBs > 50 Gb only

    I see I can get vDB sizes from dx_get_capacity and dx_get_vdbsize ( and even an order by in later versions of the toolkit ), however there appears to be no way to filter the returned results so only to provide me the details of vDBs above a particular size 

    any suggestions ?

    thanks



    ------------------------------
    Jim Thompson
    Senior Data Engineer
    FWD View Limited
    ------------------------------


  • 2.  RE: dxtoolkit to list vDBs >50 Gb

    Posted 10-11-2023 08:41:00 AM

    Good Morning Jim,

         Nice to meet you.  You are using the right command with the dx_get_vdbsize but can add in the argument as well to direct the output to a CSV.  From there you can sort and filter out any sizes > 50GB for reporting purposes.  Let us know if you have any other questions.

    https://github.com/delphix/dxtoolkit/wiki/dx_get_vdbsize

    [-output_unit K|M|G|T]
    [-format csv|json ]



    ------------------------------
    Robert Henning
    Principal Solutions Engineer
    Delphix
    ------------------------------