home‎ > ‎utilities‎ > ‎

infx chunks

This command lists details about chunk files and devices

usage

infx chunks [ order clsss chunk path del sp ]
  optional
    order - change order of output
    class - limit to a specific class
    chunk - only show matching chunks
    path - only show chunks with matching path
    del - only show chunks that are not referenced and can be deleted
    sp - only show chunk files that are part of the storage pool

example

demo1@bobii:/home/informix>infx chunks

chkdir: /infx/inst/demo1/chks
no  class  chunk        path         last modified             #  size mb   free    used  used %   read  write  del  sp
11         blob01.000   blob01.000   Tue Mar 20 09:22:02 2012  1    25.00   0.00   25.00    100%   0.48   0.01
13         dat01.000    dat01.000    Tue Mar 20 09:22:02 2012  1   100.00   0.00  100.00    100%  16.60   0.00
7          dat02.000    dat02.000    Tue Mar 20 09:22:02 2012  1    25.00   0.00   25.00    100%   0.02   0.00
18         dat03.000    dat03.000    Tue Mar 20 09:22:02 2012  1    25.00   0.00   25.00    100%   0.02   0.00
17         dat04.000    dat04.000    Tue Mar 20 09:22:02 2012  1    25.00   0.00   25.00    100%   0.02   0.00

Only show chunks that match "dat".

demo1@bobii:/home/informix>infx chunks chunk=dat

chkdir: /infx/inst/demo1/chks
no  class  chunk      path       last modified             #  size mb  free    used  used %   read  write  del  sp
13         dat01.000  dat01.000  Tue Mar 20 09:22:02 2012  1   100.00  0.00  100.00    100%  16.60   0.00
7          dat02.000  dat02.000  Tue Mar 20 09:22:02 2012  1    25.00  0.00   25.00    100%   0.02   0.00
18         dat03.000  dat03.000  Tue Mar 20 09:22:02 2012  1    25.00  0.00   25.00    100%   0.02   0.00
17         dat04.000  dat04.000  Tue Mar 20 09:22:02 2012  1    25.00  0.00   25.00    100%   0.02   0.00

notes

  • out format is defined in /infx/template/infx-cli/infx-cli-chunk.htmlt, make a copy in /infx/local/template and change there
  • see space for a definition and full list of chunk information available