Page 11 of 14
The stats/ directory contains some special read-only files useful to get an idea of how Tagsistant is working. Let's see its content:
$ ls ~/myfiles/stats/
configuration connections objects relations tags
The configuration file contains the whole configuration Tagsistant is using, both compiled and runtime choosen:
$ cat ~/myfiles/stats/configuration
--> Command line options:
mountpoint: /home/tx0/myfiles
repository path: /home/tx0/.tagsistant
database options: mysql
run in foreground: 0
single threaded: 0
mount read-only: 0
debug: -
[ ] boot
[ ] cache
[ ] file tree (readdir)
[ ] FUSE operations (open, read, write, symlink, ...)
[ ] low level
[ ] plugin
[ ] query parsing
[ ] reasoning
[ ] SQL queries
[ ] deduplication
--> Compile flags:
TAGSISTANT_ENABLE_QUERYTREE_CACHE: 0
TAGSISTANT_ENABLE_TAG_ID_CACHE: 1
TAGSISTANT_ENABLE_AND_SET_CACHE: 1
TAGSISTANT_ENABLE_REASONER_CACHE: 1
TAGSISTANT_RETAG_INTERNAL_SYMLINKS: 0
TAGSISTANT_VERBOSE_LOGGING: 0
TAGSISTANT_QUERY_DELIMITER: @
TAGSISTANT_ANDSET_DELIMITER: +
TAGSISTANT_INODE_DELIMITER: '___'
The objects, tags and relations files contain the total number of entities in the database:
$ cat ~/myfiles/stats/objects
# of objects: 1744
$ cat ~/myfiles/stats/tags
# of tags: 46
$ cat ~/myfiles/stats/relations
# of relations: 39
Finally, the connections file contains a the total number of active database connections:
$ cat ~/myfiles/stats/connections
# of MySQL open connections: 1