Mercurial > p > roundup > code
view scripts/Docker/roundup_healthcheck @ 6799:1188bb423f92
Script dumps dbm files without marshalled data like _ids
Allow the _ids database to be dumped. The _ids db (when using the
anydbm backend) records the number last used for each object
type. E.G. if there were 8 statuses defined, it would have the entry:
status: 8
Allow other dbm databases (like the node or journal dbs) to be dumped.
Used argparse for command line options and added support for:
dump all keys in sorted order
dump specific key(s)
pretty print output
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 24 Jul 2022 01:31:45 -0400 |
| parents | a24ec63759f6 |
| children | 7b9bddda9d2d |
line wrap: on
line source
#! /bin/sh tracker=$(ps -ef | sed -ne '/roundup-server/s/^.*\s\(\w*\)=.*$/\1/p') wget -q -O /dev/null --no-verbose http://localhost:8080/$tracker/
