I would like to find something like gkrellm for the Mac - macos

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.

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.

If you still want to test Gkrellm on Mac, you can follow this procedure
# 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.
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.
Do this
# sudo port clean gtk-doc
# sudo port install gtk-doc
And last
# sudo port install gkrellm
To start gkrellm
# gkrellm

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).

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

Related

zendesk zcli gives error Error: Cannot autolaunch D-Bus without X11 $DISPLAY

I have followed all instruction given here
https://developer.zendesk.com/documentation/developer-tools/getting-started/setting-up-your-development-environment/
and
https://developer.zendesk.com/documentation/apps/app-developer-guide/zcli/
I am running Ununtu22.04 LTS on windows 10 wsl.
when i give a command
zcli login -i
Subdomain: xyz
Email: user#mydomain.com
Password: ***
Gives below error
Error: Cannot autolaunch D-Bus without X11 $DISPLAY
Am i doing anything wrong here?
Does this post help you ?
By default, Docker looks for the native binary on each of the platforms; i.e., “osxkeychain” on macOS, “wincred” on windows, and “pass” on Linux. A special case is that on Linux, Docker will fall back to the “secretservice” binary if it cannot find the “pass” binary.
The simplest solution to fix the “Cannot autolaunch D-Bus without X11 $DISPLAY” error is to install pass—the standard UNIX password manager. You do not need to remove docker-compose! However, the pass depends on gpg, so you will need to install two applications.
Cheers

Failed to connect to the bus: Address does not contain a colon

I'm getting this error when my circleci job is building my cypress test:
[432:0312/154643.301773:ERROR:bus.cc(392)] Failed to connect to the
bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No
such file or directory [432:0312/154643.303582:ERROR:bus.cc(392)]
Failed to connect to the bus: Address does not contain a colon
[432:0312/154643.303623:ERROR:bus.cc(392)] Failed to connect to the
bus: Address does not contain a colon
[619:0312/154643.361540:ERROR:gpu_init.cc(453)] Passthrough is not
supported, GL is swiftshader, ANGLE is
Does anyone know how I fix this?
Try these steps below:
Install dbus if it's not installed
# UBUNTU:
apt update && apt install -y dbus
# MAC:
brew update && brew install dbus
Then run the commands below
# UBUNTU:
mkdir -p /var/run/dbus
dbus-daemon --config-file=/usr/share/dbus-1/system.conf --print-address
# MAC:
mkdir -p /var/run/dbus
dbus-daemon --config-file=/opt/homebrew/share/dbus-1/system.conf --print-address
Source: https://georgik.rocks/how-to-start-d-bus-in-docker-container/
It seems like this is a known Cypress issue. See this issue from the official GitHub repo for more details.
These errors will still persist even if all the tests pass properly. I'm also getting similar errors with GitHub Actions. It seems like most users just ignore them. A user suggested a fix in April 2021 but there isn't consensus if it works or may cause other complications.
It seems like these errors are not helpful for troubleshooting because they happen even with the official Cypress actions when all specs are passing. If your tests are failing, these errors are likely not the reason.

Apache Homebrew does not start on MacOS: No Path for Address

I'm having an issue with Homebrew Apache after using TimeMachine to transfer my system to another computer.
When I terminal "sudo apachectl start" I get this notification in the system.log:
httpd[4212]: no path for address 0x10ed15000
When I terminal "brew services start httpd24" I get:
com.apple.xpc.launchd[1] (homebrew.mxcl.httpd24[4370]): Service exited
with abnormal code: 1
When I terminal "sudo apachectl configtest" I get:
Syntax OK
There are no apache logs because it doesn't start. Homebrew tells me Httpd24 is running, however, it doesn't show in the Activity Monitor.
I'm not quite sure where to go from here, suggestions would be greatly appreciated
Tried a million things, the only way I was able to get Apache back up and running was to:
Remove Homebrew
Install Homebrew

RabbitMmq on Mac can't start

I've installed rabbitmq on Mac OS X via homebrew, just a simple command:
$ brew install rabbitmq
but, when I start the server via rabbitmq-server, it occurs:
ERROR: distribution port 25672 in use on localhost (by non-Erlang process?)
I want to find some process that uses port 25672, but I can't find that really strange
anyone knows the reason, thx a lot :)
Use sudo lsof -i :25672 to find the process. sudo may or may not be needed depending on user permissions.

Can't list and install xemacs packages under cygwin on windows7

I have a fresh install of cygwin and xemacs on my home laptop. I'm trying to get to the packages list in xemacs, but not having much luck.
First of all I was getting an error message telling me "ftp.XXX.com seems not a pty". Following the instructions here I was able to tell efs to use lftp, and got past that error.
Now I get told:
Process not open for writing: #<process "*ftp yyy#ftp.xxx.org*" pid 9999 state:exit>
Any idea what's going on there?
The problem has to do with which ftp you are using. From the message, I believe you are trying to use the ftp that comes with Windows. It won't work as the native Windows ftp does not act like a pty.
The best solution I can suggest is to install the Cygwin port of ftp.

Resources