Gunthy

GUNBOT: The automatic profit generator => Beginners & Help => Topic started by: nate16 on June 30, 2017, 12:35:12 AM

Title: Gmon Web Console using GoTTY - linux only for now
Post by: nate16 on June 30, 2017, 12:35:12 AM
This will give you a web console of your gmon!! Tested on ubuntu. Windows possibly to follow. If root is your only account, make a non-root user. This assumes your gunbot install is in /opt/gunbot

(https://i.imgur.com/V2LQobS.jpg)

sudo apt-get install linuxbrew-wrapper

brew install yudai/gotty/gotty

cd ~/.linuxbrew/Cellar/gotty/v1.0.0/bin

./gotty -p 6969 gmon -p /opt/gunbot -r 20 -cs

then in a webbrowser go to http://yourserverip:6969

Enjoy!!

-Nate

Tips happily accepted!
ZEC: t1NkAgGvJqzyXptgvL7Rok32YqLrerxhGDa
BTC: 1F21xekEDbZwgCRqPNywhVn9ffpFs87Nan

Title: Re: Gmon Web Console using GoTTY - linux only for now
Post by: Diesel on June 30, 2017, 04:04:28 AM
Does this mean gmon is always running, or is it firing when you connect?
Are you able to drop to a command prompt at all, or are you just displaying gmon?

I've been using Secure Shell for Chrome, and running it as an app.... basically a TTY connection in the browser, but with the same result....  and the benefit of having full TTY access and secure access.

Nice job!

Title: Re: Gmon Web Console using GoTTY - linux only for now
Post by: nate16 on June 30, 2017, 05:43:38 AM
This is running gmon on the server at all times. You can't drop to a prompt for security reasons.

SSH extension is a good alternative but I personally wanted to make it easy to get a read-only report from gmon at a web url.