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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

VnStat – A network traffic monitor for Linux and BSD

70 点作者 merah将近 10 年前

3 条评论

tux将近 10 年前
You can also use vnstat with vnstati to generate nice graphs.<p>I use it something like this with cron.<p>Bash - <a href="https:&#x2F;&#x2F;github.com&#x2F;tuxy&#x2F;bash&#x2F;blob&#x2F;master&#x2F;vnstat.sh" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tuxy&#x2F;bash&#x2F;blob&#x2F;master&#x2F;vnstat.sh</a><p>HTML - <a href="https:&#x2F;&#x2F;github.com&#x2F;tuxy&#x2F;static&#x2F;blob&#x2F;master&#x2F;vnstat.html" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tuxy&#x2F;static&#x2F;blob&#x2F;master&#x2F;vnstat.html</a>
mrpippy将近 10 年前
I&#x27;ve used vnstat for traffic monitoring on Linux&#x2F;BSD routers for years, simple and does the job. The on-disk format is <i>not</i> machine-independent though, I had to start my records over when OpenBSD went to 64-bit time_t.
评论 #9913304 未加载
Cieplak将近 10 年前
Been looking for a tool like iptraf or nethogs for OSX. nettop is ok. My favorite thus far are these two dtrace scripts for tracing network connections:<p>soconnect.d: <a href="http:&#x2F;&#x2F;dtracebook.com&#x2F;index.php&#x2F;Network_Lower_Level_Protocols:soconnect.d#Mac_OS_X" rel="nofollow">http:&#x2F;&#x2F;dtracebook.com&#x2F;index.php&#x2F;Network_Lower_Level_Protocol...</a><p>soaccept.d: <a href="http:&#x2F;&#x2F;dtracebook.com&#x2F;index.php&#x2F;Network_Lower_Level_Protocols:soaccept.d#Mac_OS_X" rel="nofollow">http:&#x2F;&#x2F;dtracebook.com&#x2F;index.php&#x2F;Network_Lower_Level_Protocol...</a><p>If you&#x27;re on OSX and want to play around with dtrace, there are a bunch of really cool built-in scripts:<p><pre><code> man -k dtrace</code></pre>
评论 #9913928 未加载