sausage-binary/fe0cac5550afnext
sausage-binary/
fe0cac5550afnext
next vs master
next vs master
Commit | Author | Details | Committed | ||||
---|---|---|---|---|---|---|---|
fe0cac5550af | ncoudene | Remove debug print | Oct 17 2022 | ||||
c06af82667b3 | ncoudene | Better handle apikey | Oct 17 2022 | ||||
d87d2f074fde | ncoudene | update | Oct 10 2022 | ||||
8a182adf79cc | ncoudene | Add a script to convert .slurm_* indexes to a sqlite table | Aug 22 2022 | ||||
90a0cf9b5304 | ncoudene | sausest: init cost estimation | Jun 10 2022 | ||||
444495d4b771 | ncoudene | appargs: introduce cost arguments and limit acces of billing to a group | Jun 9 2022 | ||||
706fffc1ffb1 | ncoudene | esquery: increase size of aggragations to catch the fist 1000 instead of 10 | Jun 8 2022 | ||||
fa9aaa1e14dc | ncoudene | update_es.py: now use pricing field | Jun 8 2022 | ||||
74ab8c542934 | ncoudene | various fixes | Jun 8 2022 | ||||
1f39716e3bdb | ncoudene | pep8 fixes | Jun 7 2022 |
/
/
README.rst
README.rst
SLURM account usage (Sausage)
=============================
This project implements a Command-line interface to query a database containing slurm job accounting.
Databse supported :
* elasticsearch indexes from created by the jobcomp/elasticsearch
plugin provided by SchedMD.
Setting up Sausage
------------------
````
git clone https://c4science.ch/source/sausage-binary.git
cd sausage-binary
edit the file sausage.cfg
python3 setup.py
````
Setting up ES
-------------
Create an apikey with this role :
````
{
"viewer": {
"cluster": [
"monitor"
],
"indices": [
{
"names": [
"slurm_*"
],
"privileges": [
"read",
"view_index_metadata"
],
"allow_restricted_indices": false
}
],
"run_as": [
"*"
]
}
}
````
and copy the generated id and api_key in sausage.cfg :
````
[...]
apikey = <id>,<api_key>
[...]
`````
=============================
This project implements a Command-line interface to query a database containing slurm job accounting.
Databse supported :
* elasticsearch indexes from created by the jobcomp/elasticsearch
plugin provided by SchedMD.
Setting up Sausage
------------------
````
git clone https://c4science.ch/source/sausage-binary.git
cd sausage-binary
edit the file sausage.cfg
python3 setup.py
````
Setting up ES
-------------
Create an apikey with this role :
````
{
"viewer": {
"cluster": [
"monitor"
],
"indices": [
{
"names": [
"slurm_*"
],
"privileges": [
"read",
"view_index_metadata"
],
"allow_restricted_indices": false
}
],
"run_as": [
"*"
]
}
}
````
and copy the generated id and api_key in sausage.cfg :
````
[...]
apikey = <id>,<api_key>
[...]
`````
c4science · Help