tools:scan_slices
This is an old revision of the document!
Scan Slices
What is the use of the tools ?
Scans a slice directory and checks it is present in the Metaslice or not and also it compares the timestamp of the slice directory with the slice timestamp present in metaslice .
Options
| Syntax | Info |
|---|---|
| ./scan_slices . | Print all slice details of current directory |
| ./scan_slice SLICE_NAME | Print details of specific slice |
| ./scan_slice /path/of/slice/directory | Print all slice details in a given directory |
Tuples of details
| Parameters | Info |
|---|---|
| Slice name | Represent the name of the slice given or directory |
| Status | Directory name of slices like oper,archive,ref |
| Instance | |
| Meta slice timestamp | It is present in the meta-slice for a specific slice |
| Topper timestamp | It is present in the slice directory itself |
| Slide date | A file that contains the date in the file name |
| Date-match | compare the date between topper and meta-slice timestamp & check the difference is below 10 min or not |
| Slice in db | Check the slice is present in meta-slice db or not |
| Archive | check if archive file is present or not |
tools/scan_slices.1715254911.txt.gz · Last modified: 2024/05/09 17:11 by vignesh