Skip to content

Commit

Permalink
Tweak logs and stats display (#162)
Browse files Browse the repository at this point in the history
* stats display tweak
* maximize dialog prgbox views for logs
  • Loading branch information
openoms authored Nov 23, 2024
1 parent 18d28be commit 7800d63
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion scripts/_commands.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function torthistx() {
# command: stats
# shows the uptime and the fees earned as a Maker
function stats() {
/home/joinmarket/info.stats.sh
/home/joinmarket/info.stats.sh showAllEarned
}

# command: qtgui
Expand Down
2 changes: 1 addition & 1 deletion scripts/_functions.menu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function menu_MAKER() {
sleep 3
dialog \
--title "Monitoring the Yield Generator - press CTRL+C to exit" \
--prgbox "sudo journalctl -fn20 -u yg-privacyenhanced" 30 200
--prgbox "sudo journalctl -fn100 -u yg-privacyenhanced" -1 -1
echo "# returning to the menu..."
sleep 1
/home/joinmarket/menu.yg.sh
Expand Down
2 changes: 1 addition & 1 deletion scripts/menu.orderbook.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ function startOrderBook() {
sleep 3
dialog \
--title "Monitoring the ob-watcher - press CTRL+C to exit" \
--prgbox "sudo journalctl -fn20 -u ob-watcher" 30 200
--prgbox "sudo journalctl -fn100 -u ob-watcher" -1 -1
}

if [ "$1" = startOrderBookService ]; then
Expand Down
2 changes: 1 addition & 1 deletion scripts/menu.yg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ There are no stats because the Yield Generator was never run.
Start with the menu option: MAKER" 10 50
else
dialog --prgbox "/home/joinmarket/info.stats.sh showAllEarned" 9 55
dialog --prgbox "/home/joinmarket/info.stats.sh showAllEarned" 9 67
fi;;
NICKNAME)
name=$(YGnickname)
Expand Down

0 comments on commit 7800d63

Please sign in to comment.