Username: Password:

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - PeWi

Pages: [1]
1
Hi beer-k0in,

one problem:

Since a few days I also have ETH_xxx pairs running also. GMON seems to interpret the ETH values as BTC values and writes them in the column 'in BTC' and sums them up with the values of BTC_xxx pairs without difference.

Therefore my total amount is about double as in reality. ;-)

I am not sure whether GMON has any chance to convert the ETH values to BTC values because it would need to get current currency exchange rates, wouldn't it?

Handling as seperated columns breaks the layout. (Perhaps someone uses XMR_xxx and USDT_xxx pairs, too?)

So I currently have no idea how to solve this problem ...

Kind regards, PeWi

2
So removing the symlinks in /usr folder did the trick?

Can't say, I have only executed all of your commands step by step.
And I don't know nothing about node.js and it's programs to check it by myself.

Fine that it's running now!

(And I will keep the 'rm ..' in mind for the next update.)

Kind regards, PeWi

3
Hi BK,

sorry - didn't work also ...

V0.0.41 again didn't come up ...

... but V0.0.42 :-))

Thanks a lot!

Kind regards, PeWi

4
Code: [Select]
npm uninstall -g gunbot-monitor
sudo npm uninstall -g gunbot-monitor
npm install -g gunbot-monitor

and because of

Code: [Select]
npm ERR! Linux 4.4.0-83-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "gunbot-monitor"
npm ERR! node v6.11.0
npm ERR! npm  v3.10.10
npm ERR! path /usr/lib/node_modules
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access

npm ERR! Error: EACCES: permission denied, access '/usr/lib/node_modules'
npm ERR!     at Error (native)
npm ERR!  { Error: EACCES: permission denied, access '/usr/lib/node_modules'
npm ERR!     at Error (native)
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'access',
npm ERR!   path: '/usr/lib/node_modules' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

sudo npm install -g gunbot-monitor


Didn't help -same gmon 0.0.40 :-(

Another idea?

Kind regards, PeWi

5
Hi BK,

sudo gmon also showed V0.40

The output of your commands line:

NAME="Ubuntu"
VERSION="16.04 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
UBUNTU_CODENAME=xenial
-#- nodejs -#-
v6.11.0
-#- modules -#-
/usr/lib
└── gunbot-monitor@0.0.41

-#- gmon -#-
lrwxrwxrwx 1 root root 47 Jul 12 08:55 /usr/bin/gmon -> ../lib/node_modules/gunbot-monitor/src/index.js
-#- version -#-
0.0.40
  "version": "0.0.41"


Seems like V0.0.41 installed. but V0.0.40 started?!?

Additionally

pewi@pewi ~ $ whereis gmon
gmon: /usr/bin/gmon /usr/local/bin/gmon
pewi@pewi ~ $ ls -la /usr/bin/gmon
lrwxrwxrwx 1 root root 47 Jul 12 08:55 /usr/bin/gmon -> ../lib/node_modules/gunbot-monitor/src/index.js
pewi@pewi ~ $ ls -la /usr/local/bin/gmon
lrwxrwxrwx 1 root root 47 Jul 11 07:13 /usr/local/bin/gmon -> ../lib/node_modules/gunbot-monitor/src/index.js

Any idea?

Kind regards, PeWi

6
gmon update
- Added a option to --compact mode to set a groupSize to draw lines.

Thanks a lot!

Run
Code: [Select]
npm install -g gunbot-monitor to update/install it on your server.


I did this update, got an error with the hint to use root, did the update with sudo again.
Message after update looks as if V0.41 is installed now:

npm WARN deprecated fs-promise@0.5.0: Use mz or fs-extra^3.0 with Promise Support
/usr/bin/gmon -> /usr/lib/node_modules/gunbot-monitor/src/index.js
/usr/lib
└─┬ gunbot-monitor@0.0.41
  ├─┬ chalk@1.1.3
  │ ├── ansi-styles@2.2.1
[...]

But if I call gmon, then gmon V0.40 comes up.

Is there still something to do? Change a link or something other?

Kind regards, PeWi

7
Small screens

You can run the monitor on small screens now with the parameters '-c' or '-s' or both '-c -s'.

Code: [Select]
gmon -c

A minor suggestion for the compact mode (-c):

It's not as easy to follow the lines at 20 currencies without the lines.

It would be very helpful, if GMON had a second compact option, which prints a line every 5 or 7 currencies. This would still be a very compact screen, but the eye would have a few helper lines to keep right.

PeWi

Pages: [1]