Leo Charre > FileArchiveIndexer-1.29 > faistatus

Download:
FileArchiveIndexer-1.29.tar.gz

Annotate this POD

CPAN RT

Open  0
Report a bug
Source  

NAME ^

faistatus - stop indexers, get indexing status, clean out tmp cache, etc

DESCRIPTION ^

View some status data about the archive indexer, how many files are awaiting indexing, estimate until all done, etc. You can also clear failed indexing locks, etc

OPTION FLAGS ^

   -d debug
   -D show md5sum table dupe count and exit
   -C cleanout, stop indexers and cleanout temp
   -R cleanout and restart indexers
   -S stop all indexers
   -L reset indexing locks table

PARAMETERS ^

   -c config file, by default we use /etc/faindex.conf
   -p page number
   -l line number
   -i get indexing run status on host machine, cpu load, etc
   -s seconds ammount, use in conjuction with -L   

EXAMPLE USAGE ^

If you instead want to see data for a file:

   faistatus ./path/to/file.pdf

If you want to see page 1 of file

   faistatus -p 1 ./path/to/file.pdf

If you want to see page 1 line 4

   faistatus -p 1 -l 4 ./path/to/file.pdf

If you want to see all indexed text for file

   faistatus -a ./path/to/file.pdf

CLEARING OLD LOCKS, EXAMPLE USAGE: ^

Only clear locks older then 600 seconds (10 mins)

        faistatus -L -s 600

Reset indexing lock table, drop and create

   faistatus -L

AUTHOR ^

Leo Charre lcharre at cpan dot org