|
|
wmpiki
You are not the owner of this file version
User Comments
has issue with ping..had to edit source to make it work. maybe its just my box and its permissions was all..overall i liked it..=))
R
ping -s SuperUser only
man ping reports that the "-s" setting used to select the ping packet size can only be used by root. I had to remove the "-s" setting that is given to the ping command in wmpiki.c to allow normal users to use wmpiki.
man ping
I know, know.. wmpiki uses extremaly crappy method to determine host activity... Actually I don't have enough time to fix it. If you can do it better please do :)
in my linux box 'man ping' says:
-s packetsize Specifies the number of data bytes to be sent. The default is 56,which translates into 64 ICMP data bytes when combined with the 8 bytes of ICMP header data.
so, It seems to be user-friendly option ;D
how do u fixit
Where should u edit wmpiki.c to remove the -s option
?
re: how do u fixit
here is the patch :)
--- wmpiki-0.1.0-old/wmpiki.c Sun Sep 22 02:30:14 2002
+++ wmpiki-0.1.0/wmpiki.c Fri Dec 13 17:27:14 2002
@@ -89,7 +89,7 @@
strcpy(commandbuffer, "ping ");
strcat(commandbuffer, hostname);
- strcat(commandbuffer, " -c 1 -w 1 -s 0 | grep 'bytes from'");
+ strcat(commandbuffer, " -c 1 -w 1 | grep 'bytes from'");
if (!(cmdpipe = popen(commandbuffer, "r"))) return 0;
just remove '-s 0' string at line 92 (wmpiki.c)
good luck!
8-)
Great WMapp
I like it. Much easier to read than wmNetmon when you only have a few host to monitor. One thing though, I don't really understand the different lamp settings. Anynoe have a clue?
re: Great WMapp
different lamp settings means different lamp colors :)
as follows:
0 - yellow
1 - green
2 - sky-blue
3 - red
4 - blue
Problems with wmpiki
Hi, can you help me please? I think wmpiki is really nice and I use it all the time.
Unfortunately after some time all lamps go out although the clients are still here. (After killing and restarting wmpiki everything is fine again.) And they do not come back ..
Did I something wrong? (This happened before and after applying the patch above) Or what do you think?
Does wmpiki work in RH9?
I've just installed RH9 (using kde 3.1) and I've not been able to get some dockapps to work, and wmpiki is one of them. Checking >man ping shows that the ping options of -c 1 -w 1 | grep 'bytes from' should work, and indeed they do from the terminal prompt... I've set up the config file with network ip's, but invoking the program results in no dockapp on screen. Does this dockapp run under kde?
Hi, I installed it on my Linux system and it does not work. I only see 4 Local Host and nothing else. Where is the config file ? I the README there is no description wher to put it. The install directory is /usr/local/bin. Do I have to create a directory .clay and put the config file there ?
Any help is welcome.
Best regards Andreas
idea
Here's an idea if you're interested:
Make the leds change color according to the ping times. It would come in handy determining if some of the pinged hosts had become laggy.
broaaf
|
|
|
|