tools:scan_slices
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
tools:scan_slices [2024/05/09 16:21] – created vignesh | tools:scan_slices [2024/05/30 15:00] (current) – vignesh | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Scan Slices ====== | ====== Scan Slices ====== | ||
+ | {{ : | ||
** What is the use of the tools ? ** \\ | ** What is the use of the tools ? ** \\ | ||
- | | + | |
+ | |||
+ | ** How it works ? ** \\ | ||
+ | * First,it get the timestamp of given slices directory | ||
+ | * Then ,Checks the slice is present or not in the meta-slice | ||
+ | * If present | ||
+ | * The difference between the two timestamps should be below or equal to 10 min. | ||
+ | * And it also check the archive file is present in each slice directory and print the status in terminal | ||
+ | |||
** Options ** \\ | ** Options ** \\ | ||
- | ^ Syntax | + | ^ Syntax |
- | | ./scan_slices . | Print all slice details of current directory | | + | | scan_slices . | Print all slice details of current |
- | | ./scan_slice SLICE_NAME | + | | scan_slice SLICE_NAME |
- | | ./scan_slice / | + | | scan_slice / |
+ | |**Optional Arguments** | | ||
+ | | -d mismatched date | Prints slices which have date mismatch | ||
+ | | -s slice missing in db | Prints slices which are not present in db | You should provide -s as argument to any of the first 3 options | ||
- | ** Tuples | + | ** Description |
^ Parameters ^Info ^ | ^ Parameters ^Info ^ | ||
- | | Slice name | Represent the name of the slice given or directory | | + | | Slice name | Represent the name of the slice given or directory |
- | | Status | + | | Status |
- | | Instance | + | | Instance |
- | | Meta slice timestamp | It is present in the metaslice for a spefic slice | + | | Meta slice timestamp | Each and every slice timestamp |
- | | Topper timestamp | + | | Topper timestamp |
+ | | Slide date | A file that contains the date in the file name | | ||
+ | | Date-match | ||
+ | | Slice in db | Check the slice is present in meta-slice db or not | | ||
+ | | Archive | ||
+ | ** Example 1 ** \\ | ||
+ | / | ||
+ | {{: | ||
+ | < | ||
+ | ** Example 2 ** \\ | ||
+ | / | ||
+ | {{: | ||
tools/scan_slices.1715251860.txt.gz · Last modified: 2024/05/09 16:21 by vignesh