我想找到类似于 Mac 版 gkrellm 的东西
我有一个我关注的 Linux 开发服务器,最近它在某些时候出现异常,所以我想更好地关注它。 我曾经使用 Gkrellm,但尝试在我的 Mac 上构建 Gkrellm 是一件痛苦的事情。
除了远程服务器 X(这不是最佳的)之外,我想我正在寻找 Gkrellm 的替代品。
我想要一个程序,可以让我监视运行 Linux 的远程服务器的 I/O CPU、内存、进程等。 我在 Mac 上。
I have a linux dev server I watch, and lately its chugging at some points so I'd like to keep a better eye on it. I used to use Gkrellm, but its been a pain to try get Gkrellm to build on my Mac.
Besides servering X remotely (which would not be optimal), I guess i'm looking for alternatives to Gkrellm.
I would like a program that will let me watch the I/O CPU, Memory, processes, etc of a remote server running Linux. I am on a Mac.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
如果您正在寻找简单的东西,并且几乎肯定已经安装在 Linux 机器上,您可以通过 SSH 进入 Linux 机器并使用诸如 顶部, vmstat 和 lsof 查看它的用途。
If you're looking for something simple, and almost certainly already installed on the Linux box, you could SSH into the Linux machine and use tools like top, vmstat, and lsof to see what it's up to.
如果您仍想在 Mac 上测试 Gkrellm,则可以按照此过程进行操作。
如果出现以下错误:
错误:目标 org.macports.activate 返回:注册表错误:xorg-xproto 7.0.16_0 未注册为已安装。
[...]
错误:处理过程中遇到状态 1。
请执行此操作
并继续安装
如果出现以下错误,
: 错误:目标 org.macports.configure 返回:配置失败:shell 命令“ cd ”/opt/local/ var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gtk-doc/work/gtk-doc-1.11" && ./configure --prefix=/opt/local --with-xml-catalog=/opt/local/ etc/xml/catalog " 返回错误 1
[...]
错误:处理过程中遇到状态 1。
执行此操作
并最后
启动 gkrellm
If you still want to test Gkrellm on Mac, you can follow this procedure
If you have this error :
Error: Target org.macports.activate returned: Registry error: xorg-xproto 7.0.16_0 not registered as installed.
[...]
Error: Status 1 encountered during processing.
Do this
And continue install
Now if you have this error :
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gtk-doc/work/gtk-doc-1.11" && ./configure --prefix=/opt/local --with-xml-catalog=/opt/local/etc/xml/catalog " returned error 1
[...]
Error: Status 1 encountered during processing.
Do this
And last
To start gkrellm
您可以使用 Growl 来实现此目的。 可以使用 netgrowl.py 从 unix 机器发送 Growl 消息,该消息伪装成与growlnotify 程序一样,但全部用Python 编写。
然后,您可以在服务器上运行一个进程来监视其他位,并在超出限制或其他情况时发布通知。
这将是一个手动编码的解决方案,但我们在 Stack Overflow 上,所以与编程相关的东西是可行的:)
(哦,netgrowl.py 页面有一些其他语言的类似项目的链接,如果那是你的事, 也)。
You could use Growl for this purpose. It's possible to send Growl messages from a unix machine by using netgrowl.py, which masquerades as the growlnotify program, but all written in python.
You could then have a process running on the server that monitors the other bits, and posts notifications when limits are exceeded, or whatever.
It would be a hand-coded solution, but we are on Stack Overflow, so programming-related stuff is the go :)
(Oh, and the netgrowl.py page has a few links to similar projects in other languages, if that's your thing, too).
您可能正在寻找像 zabbix 这样更严格的监控工具。 https://zabbix.org
You are propably looking for a more rigid monitoring tool like zabbix. https://zabbix.org