Live data from Hacker News

Show HN: Real-time server monitoring in your browser

scoutapp.github.io

31–40 of 117 posts

Re: Show HN: Real-time server monitoring in your browser

#31

Earlier quoted context omitted.

Here as well, running with Ruby 2.0.0.

Sorry - mind sharing the output of "top -l1 -n0 -u"? Looks like an issue parsing out the memory stats on OSX.

Processes: 180 total, 2 running, 7 stuck, 171 sleeping, 965 threads 2014/03/10 16:24:55 Load Avg: 1.28, 1.13, 1.06 CPU usage: 8.0% user, 20.0% sys, 72.0% idle SharedLibs: 12M resident, 12M data, 0B linkedit. MemRegions: 35120 total, 1588M resident, 121M private, 700M shared. PhysMem: 5020M used (853M wired), 2884M unused. VM: 401G vsize, 1065M framework vsize, 311(0) swapins, 1527(0) swapouts. Networks: packets: 14047540/18G in, 8183740/2177M out. Disks: 386988/26G read, 413161/25G written.

Re: Show HN: Real-time server monitoring in your browser

#32
For all my fellow CentOS/RHEL users here is a quick bash script for getting it running (assumes you don't have ruby 1.9 installed).

    # Install RVM and Ruby 1.9.3
    curl -sSL https://get.rvm.io | bash -s stable
    source /etc/profile.d/rvm.sh
    rvm install 1.9.3

    # Install JSON gem
    gem install json

    # Install Scout realtime
    gem install scout_realtime

    # Start Scout realtime
    scout_realtime

    # Punch a hole in iptables on port 5555 for Scout realtime
    iptables -A INPUT -p tcp --dport 5555 -j ACCEPT
    service iptables save
    service iptables restart

Re: Show HN: Real-time server monitoring in your browser

#33

Earlier quoted context omitted.

Error: [2014-03-10 15:38:12] ERROR TypeError: nil can't be coerced into Fixnum /usr/local/Cellar/ruby/2.1.1/lib/ruby/gems/2.1.0/gems/server_metrics-1.2.0/lib/server_metrics/collectors/memory.rb:81:in `+' Here's the output: [~] top -l1 -n0 -u Processes: 268 total, 3 running, 5 stuck, 260 sleeping, 2070 threads 2014/03/10 15:36:26 Load Avg: 1.92, 2.05, 2.08 CPU usage: 4.46% user, 12.50% sys, 83.3% idle SharedLibs: 60M…

Thanks - I can reproduce with that output. Opened an issue on github - we'll fix: https://github.com/scoutapp/server_metrics/issues/9

Thanks again for reporting - we've released version 1.0.1 to fix the issue:

gem install scout_realtime

Note that OSX support is limited as there is no "/proc" support.

Re: Show HN: Real-time server monitoring in your browser

#37
post #16

Sorry to be the one posting a tangent (looks like a nice tool!), but please rewrite "for the modern man" to something more gender neutral.

The landing page is on the gh-pages branch of the repo. I filed an issue for it here: https://github.com/scoutapp/scout_realtime/issues/6 Only reason I didn't file a PR myself was I wasn't sure what the best replacement would be (dev? sysadmin?), but this should be easy enough to fix if they're amenable. EDIT: "Developer" as an alternative was merged very quickly. https://github.com/scoutapp/scout_realtime/pull/7

Sorry to be the one posting a tangent looks like a nice patch! But please rewrite "for the modern developer" to something more career neutral.

I'm a systems architect. I feel like I am not invited to use the tool.

Re: Show HN: Real-time server monitoring in your browser

#39
post #37
post #16

Earlier quoted context omitted.

The landing page is on the gh-pages branch of the repo. I filed an issue for it here: https://github.com/scoutapp/scout_realtime/issues/6 Only reason I didn't file a PR myself was I wasn't sure what the best replacement would be (dev? sysadmin?), but this should be easy enough to fix if they're amenable. EDIT: "Developer" as an alternative was merged very quickly. https://github.com/scoutapp/scout_realtime/pull/7

Sorry to be the one posting a tangent looks like a nice patch! But please rewrite "for the modern developer" to something more career neutral. I'm a systems architect. I feel like I am not invited to use the tool.

Snark for any interested sentient entity.

Don't want to exclude luddites, transhumans, or extraterrestrials. I will settle for excluding moss and whatnot, though. Seriously, fuck moss.

Post reply on HN