TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Real-time server monitoring in your browser

346 点作者 acl大约 11 年前

29 条评论

jakejake大约 11 年前
They said they use it on their own production servers so of course I couldn&#x27;t resist... <a href="http://scoutapp.com:5555/" rel="nofollow">http:&#x2F;&#x2F;scoutapp.com:5555&#x2F;</a><p>Really nice looking monitoring, though. I think it&#x27;s fun to see the stats scrolling by.
评论 #7376642 未加载
评论 #7377400 未加载
评论 #7377126 未加载
nodesocket大约 11 年前
For all my fellow CentOS&#x2F;RHEL users here is a quick bash script for getting it running (assumes you don&#x27;t have ruby 1.9 installed).<p><pre><code> # Install RVM and Ruby 1.9.3 curl -sSL https:&#x2F;&#x2F;get.rvm.io | bash -s stable source &#x2F;etc&#x2F;profile.d&#x2F;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</code></pre>
评论 #7377413 未加载
评论 #7378965 未加载
wahnfrieden大约 11 年前
Sorry to be the one posting a tangent (looks like a nice tool!), but please rewrite &quot;for the modern man&quot; to something more gender neutral.
评论 #7376187 未加载
评论 #7376151 未加载
评论 #7376068 未加载
评论 #7376408 未加载
评论 #7377311 未加载
评论 #7376106 未加载
评论 #7376227 未加载
评论 #7376196 未加载
评论 #7377164 未加载
评论 #7376619 未加载
atmosx大约 11 年前
Can you guys add a if&#x2F;else clause in sinatra and add a FreeBSD logo?[1]<p>I see tux in my FreeBSD server and feels weird.<p>[1] <a href="https://github.com/scoutapp/scout_realtime/blob/master/lib/scout_realtime/web/images/linux.png" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;scoutapp&#x2F;scout_realtime&#x2F;blob&#x2F;master&#x2F;lib&#x2F;s...</a><p>ps. My photo-editing skills suck bigtime otherwise I&#x27;d do it.<p>EDIT: Doesn&#x27;t seem to work properly under FreeBSD-10. No data is displayed. Apparently (as expected) uses Linux ProcFS structure to get data. So FreeBSD for now is not supported, keep the icon for later :-)
评论 #7376222 未加载
评论 #7376639 未加载
sdesol大约 11 年前
This is cool. It looks like the developers are reading the comments so I&#x27;ll add a quick suggestion. Something that I found to be insanely helpful with my own product development was being able to track memory swapping.<p>I went to great lengths to tune my Java Virtual Machines so that they would work well in a minimum RAM environment. And being able to track swapping was critical for my decision making. Now I can run my product on a 512MB system with 1GB of swap space with no problem. Below is how I&#x27;m tracking swapping in real-time.<p><a href="http://screenshots.gitsense.com/track-swapping.html" rel="nofollow">http:&#x2F;&#x2F;screenshots.gitsense.com&#x2F;track-swapping.html</a><p>Since your solution is focused on capturing a period of time, you&#x27;ll be able to provide a better view than I am.<p>With SSD becoming more common for cloud hosting, using swap space in lieu of getting more RAM will probably become more common. And before anybody points out that SSD is still significantly slower than RAM, I know. Depending on your product, using swap on SSD may be practical. I know using swap on amazon&#x27;s infrastructure wasn&#x27;t.
评论 #7377417 未加载
steve02大约 11 年前
Nice, but it requires ruby :S<p>I been using this <a href="https://github.com/abimaelmartell/system_monitor" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;abimaelmartell&#x2F;system_monitor</a>, easy to install and dont eat too much ram :P
abimaelmartell大约 11 年前
[2014-03-10 15:04:45] ERROR TypeError: nil can&#x27;t be coerced into Fixnum server_metrics-1.2.0&#x2F;lib&#x2F;server_metrics&#x2F;collectors&#x2F;memory.rb:81:in `+&#x27;<p>Getting this error under OSX
评论 #7376096 未加载
qq66大约 11 年前
Nice. The play&#x2F;pause should be one button that changes icon -- the current setup is a little confusing.
评论 #7375973 未加载
评论 #7376411 未加载
flexd大约 11 年前
I like it, but why not use something like htop? [1]<p>Perhaps it&#x27;s not entirely comparable, but you do not need to open any extra ports or run any extra processes.<p>It looks really nice though! [1] <a href="https://en.wikipedia.org/wiki/Htop" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Htop</a>
评论 #7375931 未加载
评论 #7377332 未加载
jahaja大约 11 年前
I&#x27;ve recently released a similar tool for Python. Definitely not as pretty but with a focus on providing a lot of details: <a href="https://github.com/Jahaja/psdash" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Jahaja&#x2F;psdash</a><p>The more the merrier! :)
benjamincburns大约 11 年前
Did you roll your own SVG chart lib for this? If not, mind sharing which one you&#x27;re using? It&#x27;s very nice.<p>If you were to make it so I can open a socket or websocket to it (perhaps on a second, internal port) and publish whatever data I want, that&#x27;d be all kinds of nifty. That is, make it so I can just start spraying numbers at ws:&#x2F;&#x2F;myhost:5556&#x2F;Really%20Awesome%20Data and with that a nice auto-scaled chart magically appears in the dashboard.<p>Edit: Oh, I see a github ribbon. Maybe you&#x27;ll see a pull request sometime soon...<p>Edit 2: Anyone wondering about my original question - the charts are built using the D3 project.<p><a href="http://d3js.org/" rel="nofollow">http:&#x2F;&#x2F;d3js.org&#x2F;</a>
评论 #7377552 未加载
评论 #7381567 未加载
评论 #7376845 未加载
telot大约 11 年前
Noob to Ruby here...any thoughts on why gem_original_require is screwing me up? Thanks for the cool looking tool!<p>&#x2F;usr&#x2F;lib&#x2F;ruby&#x2F;vendor_ruby&#x2F;1.8&#x2F;rubygems&#x2F;custom_require.rb:36:in `gem_original_require&#x27;: no such file to load -- json (LoadError) from &#x2F;usr&#x2F;lib&#x2F;ruby&#x2F;vendor_ruby&#x2F;1.8&#x2F;rubygems&#x2F;custom_require.rb:36:in `require&#x27; from &#x2F;var&#x2F;lib&#x2F;gems&#x2F;1.8&#x2F;gems&#x2F;scout_realtime-1.0.1&#x2F;lib&#x2F;scout_realtime.rb:23 from &#x2F;var&#x2F;lib&#x2F;gems&#x2F;1.8&#x2F;gems&#x2F;scout_realtime-1.0.1&#x2F;bin&#x2F;scout_realtime:4:in `load&#x27; from &#x2F;var&#x2F;lib&#x2F;gems&#x2F;1.8&#x2F;gems&#x2F;scout_realtime-1.0.1&#x2F;bin&#x2F;scout_realtime:4 from &#x2F;usr&#x2F;local&#x2F;bin&#x2F;scout_realtime:19:in `load&#x27; from &#x2F;usr&#x2F;local&#x2F;bin&#x2F;scout_realtime:19
评论 #7380363 未加载
stock_toaster大约 11 年前
Looks nice, but it slowly turns my laptop into a fireball and pegs an entire core (older laptop).
评论 #7376660 未加载
keimoon大约 11 年前
It is burning my CPU (browser side, not server side) <a href="http://i.imgur.com/NgXi4LG.png" rel="nofollow">http:&#x2F;&#x2F;i.imgur.com&#x2F;NgXi4LG.png</a> The author should provide configuration so it does not get data from stats.json every second.
primo44大约 11 年前
And I should add that this thing is awesome! It wouldn&#x27;t install for me unless I was root, but that might be a ruby configuration thing, since this is also the first ruby app that I&#x27;ve ever touched. It would be nice to have an option to have scout_realtime only listen on 127.0.0.1, so (as someone else already mentioned) we could just proxy to it with another web server and then wrap controls around that.<p>With my 10 minutes of poking around in the scout_realtime source and a bit of googling, I think the option would go here, in main.rb:<p><pre><code> server = WEBrick::HTTPServer.new(:Port =&gt; 5555, :AccessLog =&gt; [])</code></pre>
tijs大约 11 年前
I just tried out the main product and while it&#x27;s easy to setup i ran into snags with the plugins right away. Both redis and postgres (the first two i tried) failed to install and it took a bit of searching to figure out they had their own dependencies. When trying to install those dependencies i ran into issues with compatibility for a fresh ruby install.<p>Maybe you should concentrate on fixing your own dependency issues before you start pounding on Nagios (<a href="https://scoutapp.com/info/nagios_alternative" rel="nofollow">https:&#x2F;&#x2F;scoutapp.com&#x2F;info&#x2F;nagios_alternative</a>) about the exact same issue.
rootuid大约 11 年前
Looks bloody nice, got it up and running <a href="http://www.coldfusion10.com/installing-scout-realtime-on-centos-6-4-64bit/" rel="nofollow">http:&#x2F;&#x2F;www.coldfusion10.com&#x2F;installing-scout-realtime-on-cen...</a>
k3oni大约 11 年前
This looks nice but that &#x2F;s refresh it might cause issues, maybe add a setting so refresh can be set by user?<p>Shameless plug - If anyone is looking for a python&#x2F;django alternative with refresh settings and remote access to the output data as json take a look at pyDash : <a href="https://github.com/k3oni/pydash" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;k3oni&#x2F;pydash</a> .<p>Posted about it a while ago <a href="https://news.ycombinator.com/item?id=7224710" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=7224710</a> .
mrcozz大约 11 年前
I&#x27;m working on a similar project, called dtop, check it out at <a href="https://github.com/ddierickx/dtop" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ddierickx&#x2F;dtop</a>!
评论 #7399546 未加载
lcfg大约 11 年前
Cool idea! The interface is a tad heavy (for me) though, the fans of my laptop spun up.<p>I noticed that by looking at the memory usage of the ssh daemon, one can determine how many people are connected with ssh. Every open connection (even if you&#x27;re just idling at the login phase) adds around three to five mb to memory use. I wonder what other information might be unintentionally relayed through these metrics.
garthk大约 11 年前
I&#x27;m glad to see the sparklines. I&#x27;m worried that the CPU sparklines in particular are likely to mislead due to the lack of a common vertical axis scale. I suspect Tufte might advise two graphs: one with a fixed 0…100 axis scale, one &quot;zoomed&quot;. The former would help you compare CPU history between apps, and sport a shaded background region to indicate the range of the latter.
评论 #7377542 未加载
primo44大约 11 年前
Regarding &quot;What operating systems are supported?&quot; and the answer of &quot;scout_realtime relies heavily on the proc file system to fetch metrics. procfs is supported on most Linux-based distributions with the exception of OSX and Debian.&quot;<p>procfs is available on my Debian 7 servers, so scout_realtime just installed and runs fine on the few that I&#x27;ve tried it on.
评论 #7379358 未加载
wazoox大约 11 年前
The web page makes firefox gobbles more and more RAM until it crashes. You&#x27;ve found a firefox bug :) (FF 27.1 Linux).
Therac20大约 11 年前
Any way of enforcing HTTPS and login&#x2F;password auth? I would love to be able to use this on a set of public servers...
评论 #7378835 未加载
72deluxe大约 11 年前
Looks good. If you want to monitor network throughput on the CLI, use nload. It&#x27;s great.
jonahx大约 11 年前
Does this solve the same problem that new relic does? If not, what is the difference?
hartator大约 11 年前
Anyone with a link to a live demo?
评论 #7376585 未加载
hnriot大约 11 年前
kills the cpu on my mac with Chrome Version 34.0.1847.11 beta
executive大约 11 年前
how to view multiple servers on one screen?