rtop

0.5.0 • Public • Published

rtop

A light version of top for monitoring multiple servers in parallel.

Forked and heavily based on the cool vtop project.

Bundled as part of Lisa (a deploy/management tool).

Running

rtop host1 host2 host3

Options

-u [user]
-p [port]
-k [path/to/private.key]

For example, to log in using a specific user and port:

rtop -u user -p 24 a.domain.com b.domain.com c.domain.com

You can also pass hosts in the regular user@host:port notation:

rtop user@host1:21 deploy@host2:23 host3

You can use the two things together, of course. If a local user or port is present, it will override the globally defined one.

rtop -p 222 host1 host2:333 host3

In this case, rtop will connect hosts 1 and 3 via port 222, and use 333 for the second one.

Using rtop programatically

The API is rtop.start(hosts, options).

var rtop  = require('rtop');
   
var hosts = [ 'host1', 'someone@host2.com', 'host3.server.com:2222' ],
    opts  = { key_path: '/some/where/id_rsa' };

rtop.start(hosts, opts);

The same global vs local options apply as described above.

Install

npm install -g rtop

Who

(Over)written by Tomás Pollak, being the original code by James Hall.

Contributing

Of course. Fork, commit, create a pull request, you know the drill. Feature additions get a free cookie.

Copyright

(c) Fork, Ltd. MIT Licensed.

Readme

Keywords

none

Package Sidebar

Install

npm i rtop

Weekly Downloads

3

Version

0.5.0

License

MIT

Unpacked Size

815 kB

Total Files

20

Last publish

Collaborators

  • tomas