我想为Mac找到像gkrellm这样的东西

时间:2021-02-25 02:44:11

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.

我有一个我看过的linux开发服务器,最近它在某些方面很忙,所以我想更好地关注它。我曾经使用Gkrellm,但尝试让Gkrellm在我的Mac上构建是一件痛苦的事。

Besides servering X remotely (which would not be optimal), I guess i'm looking for alternatives to Gkrellm.

除了远程服务X(这不是最佳),我想我正在寻找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.

我想要一个程序让我看一下运行Linux的远程服务器的I / O CPU,内存,进程等。我在Mac上。

4 个解决方案

#1


1  

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.

如果你正在寻找简单的东西,几乎肯定已经安装在Linux机器上,你可以通过SSH连接到Linux机器并使用top,vmstat和lsof等工具来查看它的功能。

#2


1  

If you still want to test Gkrellm on Mac, you can follow this procedure

如果您仍想在Mac上测试Gkrellm,可以按照此过程操作

# sudo port install gkrellm

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.

错误:返回目标org.macports.activate:注册表错误:xorg-xproto 7.0.16_0未注册为已安装。 [...]错误:处理期间遇到状态1。

Do this

# sudo port clean xorg-xproto
# sudo port install xorg-xproto

And continue install

并继续安装

# sudo port install gkrellm

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.

错误:返回目标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。

Do this

# sudo port clean gtk-doc
# sudo port install gtk-doc

And last

# sudo port install gkrellm

To start gkrellm

开始gkrellm

# gkrellm

#3


0  

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.

您可以将Growl用于此目的。可以使用netgrowl.py从unix机器发送Growl消息,netgrowl.py伪装成growlnotify程序,但都是用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 :)

这将是一个手动编码的解决方案,但我们在Stack Overflow,所以与编程相关的东西是去:)

(Oh, and the netgrowl.py page has a few links to similar projects in other languages, if that's your thing, too).

(哦,netgrowl.py页面有一些链接到其他语言的类似项目,如果这也是你的事情)。

#4


0  

You are propably looking for a more rigid monitoring tool like zabbix. https://zabbix.org

您正在寻找像zabbix这样更严格的监控工具。 https://zabbix.org

#1


1  

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.

如果你正在寻找简单的东西,几乎肯定已经安装在Linux机器上,你可以通过SSH连接到Linux机器并使用top,vmstat和lsof等工具来查看它的功能。

#2


1  

If you still want to test Gkrellm on Mac, you can follow this procedure

如果您仍想在Mac上测试Gkrellm,可以按照此过程操作

# sudo port install gkrellm

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.

错误:返回目标org.macports.activate:注册表错误:xorg-xproto 7.0.16_0未注册为已安装。 [...]错误:处理期间遇到状态1。

Do this

# sudo port clean xorg-xproto
# sudo port install xorg-xproto

And continue install

并继续安装

# sudo port install gkrellm

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.

错误:返回目标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。

Do this

# sudo port clean gtk-doc
# sudo port install gtk-doc

And last

# sudo port install gkrellm

To start gkrellm

开始gkrellm

# gkrellm

#3


0  

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.

您可以将Growl用于此目的。可以使用netgrowl.py从unix机器发送Growl消息,netgrowl.py伪装成growlnotify程序,但都是用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 :)

这将是一个手动编码的解决方案,但我们在Stack Overflow,所以与编程相关的东西是去:)

(Oh, and the netgrowl.py page has a few links to similar projects in other languages, if that's your thing, too).

(哦,netgrowl.py页面有一些链接到其他语言的类似项目,如果这也是你的事情)。

#4


0  

You are propably looking for a more rigid monitoring tool like zabbix. https://zabbix.org

您正在寻找像zabbix这样更严格的监控工具。 https://zabbix.org