📃 main: update documentation
This commit is contained in:
parent
ca5404f3a8
commit
bcd5b5d4ae
2 changed files with 6 additions and 2 deletions
|
|
@ -1,9 +1,11 @@
|
||||||
# JanusXR cli
|
# JanusXR cli
|
||||||
|
|
||||||
Swiss-army knife to automate janusXR / JML things.
|
Swiss-army knife to automate janusXR / JML things on a server
|
||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
|
|
||||||
|
> check for broken links
|
||||||
|
|
||||||
```
|
```
|
||||||
$ ./janusxr --health http://localhost:8790/models/m5gr26w0wqqs
|
$ ./janusxr --health http://localhost:8790/models/m5gr26w0wqqs
|
||||||
|
|
||||||
|
|
@ -28,4 +30,5 @@ $ ./janusxr --health http://localhost:8790/models/m5gr26w0wqqs
|
||||||
Why not some superfancy scripting for this task?
|
Why not some superfancy scripting for this task?
|
||||||
|
|
||||||
* awk is great for all things text and templating usecases
|
* awk is great for all things text and templating usecases
|
||||||
* lightweight
|
* dependencyfree
|
||||||
|
* lightweight to add to docker-image for automation
|
||||||
|
|
|
||||||
1
janusxr
1
janusxr
|
|
@ -58,5 +58,6 @@ function health( tmpfile, line, attr, check, u) {
|
||||||
nlinks+=1
|
nlinks+=1
|
||||||
}
|
}
|
||||||
print "⚕️ health: "(( 100/nlinks )*nlinksok)"%"
|
print "⚕️ health: "(( 100/nlinks )*nlinksok)"%"
|
||||||
|
if( nlinks != nlinksok ) exit(1)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue