https://github.com/wtsi-hgi/treeserve
https://github.com/wtsi-hgi/treeserve
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/wtsi-hgi/treeserve
- Owner: wtsi-hgi
- Created: 2015-02-05T10:22:38.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2018-03-16T16:09:05.000Z (about 7 years ago)
- Last Synced: 2025-01-26T18:48:16.085Z (3 months ago)
- Language: C++
- Size: 8.45 MB
- Stars: 2
- Watchers: 19
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Generate tree structure from the mpistat output and allow querying of it via a rest api.
Original C++ version
====================Dependencies (not complete):
* Needs facebooks proxygen http server library
* BoostUsing proxygen brings in the google logging and command-line options libraries.
These give a lot of extra command-line options. Use --help to list them.A good commandline to use would be something like...
bin/treeserve -lstat bin/114_1.dat.gz -dump=bin/tree.bin -logtostderr -gzip_buf 64 -port 8000
Format of fields in the data file are :
* a prefix (the lustre volume number)
* base64 encoding of the path (to handle unprintable characters in paths)
* size of the object
* owner
* group
* atime
* mtime
* ctime
* object type (dir, normal file, symlink etc.)
* inode #
* number of hardlinks
* device idPython version (using LMDB)
===========================###Requirements
python 3.4+
pip install -r requirements.txtFormat of fields in the data file are :
* base64 encoding of the path (to handle unprintable characters in paths)
* size of the object
* owner
* group
* atime
* mtime
* ctime
* object type (dir, normal file, symlink etc.)
* inode #
* number of hardlinks
* device idLMDB
----LMDB data persists between runs, to recalculate data remove the cache directory.
Go version (also using LMDB)
============================There is also a go version.