You are not logged in.
GKrellm Daemon (gkrellmd) lets you export all your normal GKrellm stats to a remote box. I run gkrellmd on my server box and conect to it from my desktop or other remote location. Just run 'gkrellm -s <server>' to connect to the daemon.
Here is the PKGBUILD file:
# $Id: PKGBUILD,v 1.48 2004/07/18 23:46:15 judd Exp $
# Contributor: Matt Smith (Majik) <darkknight@helpdesk.zaz.net>
# Maintainer: dorphell <dorphell@archlinux.org>
pkgname=gkrellmd
pkgver=2.2.2
pkgrel=1
pkgdesc="System monitor package for GTK2"
depends=('openssl' 'glib2')
makedepends=('gettext' 'pkgconfig')
source=(http://web.wt.net/~billw/gkrellm/gkrellm-$pkgver.tar.bz2
gkrellmd)
url="http://web.wt.net/~billw/gkrellm/gkrellm.html"
md5sums=('a99b8d84036b199b5b318e26d97969f8' '8401411656e80d97afc077d0c39dd293')
build() {
cd $startdir/src/gkrellm-$pkgver/server
mkdir -p $startdir/pkg/usr/{bin,include}
make LOCALEDIR=/usr/share/locale || return 1
make install INSTALLROOT=$startdir/pkg/usr
install -D -m755 ../../../gkrellmd $startdir/pkg/etc/rc.d/gkrellmd
}
Here is an init script 'gkrellmd' for the rc.d directory installed by the PKGBUILD file:
#!/bin/bash
. /etc/rc.conf
. /etc/rc.d/functions
PID=`pidof -o %PPID /usr/bin/gkrellmd`
case "$1" in
start)
stat_busy "Starting Gkrellm Daemon"
[ -z "$PID" ] && /usr/bin/gkrellmd -d &>/dev/null
if [ $? -gt 0 ]; then
stat_fail
else
echo $PID > /var/run/gkrellmd.pid
add_daemon gkrellmd
stat_done
fi
;;
stop)
stat_busy "Stopping Gkrellm Daemon"
[ ! -z "$PID" ] && kill $PID &>/dev/null
if [ $? -gt 0 ]; then
stat_fail
else
rm_daemon gkrellmd
stat_done
fi
;;
restart)
$0 stop
sleep 1
$0 start
;;
*)
echo "usage: $0 {start|stop|restart}"
esac
exit 0
Offline
Gkrellmd is included in the gkrellm package...that is unless I am mistaken..but I don't think so.
mike182
[..save the penguins..]
Offline
You are correct! Sorry I missed that .... Anyway, what about adding the rc.d script to the package, I guess I was expecting one if gkrellmd was include with the real package.
Offline
I am having trouble installing gkrellm without X. I ran pacman -S -d gkrellm but then I get this when I run gkrellmd:
[root@stilletto ~]# gkrellmd
gkrellmd: error while loading shared libraries: libgmodule-2.0.so.0: cannot open shared object file: No such file or directory
I don't know which package that file comes from...
Offline
I am having trouble installing gkrellm without X. I ran pacman -S -d gkrellm but then I get this when I run gkrellmd:
[root@stilletto ~]# gkrellmd
gkrellmd: error while loading shared libraries: libgmodule-2.0.so.0: cannot open shared object file: No such file or directoryI don't know which package that file comes from...
pacman -S glib2
I don't know if it will work without X.
Offline
Thanks. How would I find out that file comes from that package on my own? I tried pacman -Ql dep_package but I didn't have dep_package installed so I couldn't check which of the long list of deps it had contained the needed file.
Offline
Thanks. How would I find out that file comes from that package on my own? I tried pacman -Ql dep_package but I didn't have dep_package installed so I couldn't check which of the long list of deps it had contained the needed file.
On Arch home page, do a package search. On that package specific page, there a "View Files" button.
You can also google the filename. A lot of RPM sites list the contents of the RPM, so it's a good way to get the package name.
Offline
I thought there might have been a qiuck and easy way to do it with pacman.
Offline