Re: Perl GD.pm Module

2001-08-02 Thread Mark Janssen

On Thu, Aug 02, 2001 at 09:37:51PM -0700, Kris Blackwood wrote:
> Hello,
> 
> I have tried several different apt-gets to install the
> above referenced module.

apt-get install libgd-perl 

apt-cache search gd | grep perl

-- 
Mark Janssen Unix Consultant @ SyConOS IT
E-mail: [EMAIL PROTECTED]  GnuPG Key Id: 357D2178
http: maniac.nl, unix-god.[net|org], markjanssen.[com|net|org|nl]


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




ISP status monitoring.

2001-08-02 Thread Robb Kidd

I'm giving this a whirl on debian-isp as I figure its subscribers have
the most experience with this. I'm looking into setuping up network
monitoring on one of my home boxes to keep my cable ISP (Cox/Road
Runner) honest.  I'd like to check basic connectivity and DNS service
up/down/speed at a minimum and bandwidth if possible.
I've read a bit about Big Brother and Spong.  I was wondering if any of
you have recommendations for either or others I'm not aware of.  Also,
some advice on configuring this to monitor nicely.


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Perl 5.6

2001-08-02 Thread Haim Dimermanas

Hi *,

 I need to get Perl 5.6 installed on Potato. Of course, I don't want to break
anything important. Any idea?

 Sorry if it's a little off-topic but this is the only debian mailing list I am
subscribed to.

Haim.
-- 
@o=qw(Nu Wjoepxt2l Mjdsptpgu);@p=("jt gvdlfe vq","jt tiju","tvdlt");
for($i=0;$i<@p;$i++){$o[$i]=~y/b-y/a-z/;$p[$i]=~y/b-y/a-z/;}
while(){print $o[((rand)*3)]." ".$p[((rand)*3)]."\n";}


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Perl GD.pm Module

2001-08-02 Thread Kris Blackwood

Hello,

I have tried several different apt-gets to install the
above referenced module.

Would greatly appreciate the knowledge.

Thank you.

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: scripting lynx

2001-08-02 Thread Craig Sanders

On Wed, Aug 01, 2001 at 06:08:29PM +0200, Russell Coker wrote:
> I tried both of them with no difference.

interesing.  either should have worked.

> > or use the LWP modules to make yourself a web-bot.
>
> I may have to do that.  Thanks for the suggestions.

you may need to set the Referer: header in the HTTP request. some cgi
scripts check the referer...(yes, that's pointless and stupid, but it's
quite common).

and set the user agent to something like:

$ua->agent('Mozilla/4.51 (Macintosh; I; PPC)');

i generally use netscape on mac as my user-agent in web robots because:

a) moronic sites generally don't block netscape on macintosh 
   (i have seen some sites that block netscape on linux with a stupid
   message like "sorry, we don't support your browser/operating-system".
   unfortunately, brain-dead web design is not yet a capital crime)

b) said moronic sites generally wont output moronic IE-specific junk
   if they detect netscape.  sometimes.  if you're lucky.



btw, the perl HTML::TokeParser module is excellent for extracting stuff
from web pages. i used this (plus LWP::UserAgent, HTTP::Cookies, and
HTTP::Request) to write a wrapper script for searching the Melbourne
Trading Post site, which is one of the most brain-dead cretinous sites
i've ever had the misfortune of having to use.

there's also HTML::TableExtract for getting data out of html tables.

these modules are all packaged for debian.


craig

-- 
craig sanders <[EMAIL PROTECTED]>

Fabricati Diem, PVNC.
 -- motto of the Ankh-Morpork City Watch


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: scripting lynx

2001-08-02 Thread Craig Sanders

On Thu, Aug 02, 2001 at 05:48:38PM -0700, Kris Blackwood wrote:
> I tried to install LWP and had no success. Is there a
> way to install it w/o using the tar ball?

apt-get install libwww-perl



please learn to quote properly. your reply goes UNDERNEATH the quoted
material, not above it. this allows the quoted message to be read in
sequential order rather than reverse chronological order.

top-posting screws up the chronological order of the replies making it a
jarring chore to make sense of them - you have to scroll backwards and
forwards trying to match who said what to whom and when.

the longer a thread goes on, the worse it gets.


you should also delete excess quoted material including headers and
signature lines - quote just enough to provide context for your reply,
and no more.

some useful URLs on the topic of correct quoting netiquette:

http://www.math.fu-berlin.de/~guckes/mail/edit.html
http://www.iwillfollow.com/email.htm
http://home.online.no/~vidaandr/news/FAQquoting.html

craig

--
craig sanders

-- 
craig sanders <[EMAIL PROTECTED]>

Fabricati Diem, PVNC.
 -- motto of the Ankh-Morpork City Watch


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Dual processors machines and process management

2001-08-02 Thread Andrew Lattis

http://www.gui.uva.es/linux/FAQ/SMP-FAQ-2.html#ss2.2
there is a link to a smp patch for procps..or if you don't mind it being X based
you can use xosview, i've used the stardard debian packaged xosview with ssh
forwarding before and it worked fine for showing utilization, not quite as
much info as ps though.

On Thu, 02 Aug 2001 11:49:05 Felipe Alvarez Harnecker wrote:
> 
> Hi,
> 
> how could i know in wich processor a given process is runnig ? or how
> loaded is every processor ?
> 
> the debian ps seems not to know about multiple CPUs
> 
> any hint appreciated.
> 
> 
> thanx.
> 
> -- 
> __
> 
> Felipe Alvarez Harnecker.  QlSoftware.
>   
> Tels. 665.99.41 - 09.874.60.17
> e-mail: [EMAIL PROTECTED]
> 
> http://qlsoft.cl/
> http://ql.cl/
> __
> 
> 
> --  
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 




--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




e2fsck error

2001-08-02 Thread Gene Grimm

A short while ago, my web server went offline and is now reporting a
superblock error on /dev/hdc1 (/var) and suggests using e2fsck -b 8193
option. I do not know enough about the ext2 system to know what super block
numbers to try. Can anyone suggest the correct numbers or how to find out?
This is a personal web server plus I use this to test configurations.


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: ISP status monitoring.

2001-08-02 Thread John Gonzalez/netMDC admin

MRTG with mods
pathchar
mon (the program)

On Thu, 2 Aug 2001, Robb Kidd wrote:

>   I'm giving this a whirl on debian-isp as I figure its subscribers have
> the most experience with this. I'm looking into setuping up network
> monitoring on one of my home boxes to keep my cable ISP (Cox/Road
> Runner) honest.  I'd like to check basic connectivity and DNS service
> up/down/speed at a minimum and bandwidth if possible.
>   I've read a bit about Big Brother and Spong.  I was wondering if any of
> you have recommendations for either or others I'm not aware of.  Also,
> some advice on configuring this to monitor nicely.

-- 
John Gonzalez / [EMAIL PROTECTED] / [EMAIL PROTECTED]
Tularosa Communications, Inc. (505) 439-0200 voice / (505) 443-1228 fax
http://www.tularosa.net / ASN 11711 / JG6416
[--[ sys info ]---]
  1:00pm  up 329 days, 18:29,  5 users,  load average: 0.22, 0.20, 0.12


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: ISP status monitoring.

2001-08-02 Thread Haim Dimermanas


I suggest taking a close look at Netsaint. http://www.netsaint.org

Haim.

Robb Kidd wrote:
> 
> I'm giving this a whirl on debian-isp as I figure its subscribers have
> the most experience with this. I'm looking into setuping up network
> monitoring on one of my home boxes to keep my cable ISP (Cox/Road

[...]


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Software RAID...

2001-08-02 Thread Roger Abrahamsson


On Wed, 1 Aug 2001, Russell Coker wrote:
> 
> The way RAID-5 works with 3 disks is to put blocks in the following order (X 
> is an XOR parity block):
> 
> 0 1 X
> X 2 3
> 4 X 5
> 6 7 X
> ...
> 
> With 4 disks it will be the following:
> 0 1 2 X
> X 3 4 5
> 6 X 7 8
> ...
> 
> So adding an extra disk would involve moving every block of data (apart from 
> the first two).  Now what happens if you experience a crash or power failure 
> while doing such a re-build?
> 

Well, moving the blocks of data should be pretty straightforward
then. You would have to recalculate every checksum block but as I see it,
it would be possible to do this on a row by row basis, and also keep a
working copy of every row + a counter on a different disk or possibly way
back on the new disk.

So if the old system looked like this

0 1 X
X 2 3
4 X 5
6 7 X
X 8 9
.

During rebuild you would have this:

0 1 2 X
X 3 4 5
6 X 7 8 <- row you are writing
6 7 X Z   Old raid + new empty blocks
X 8 9 Z
...

As soon as you have traversed more than in this case 2 rows you would
not even need a backup copy of the blocks, only a counter of how far you
have gone. This would have to be held on disk though, and all disk writes
mush be synchronous to ensure that the data is safe in case of powerfail
or system crash. It should really be possible to do this rebuild in a
running raid system (if the rebuild process is done from the raid5 driver) 
, as long as you keep track of how far the rebuild has gone and lock the
row in progress + in the beginning you need to lock the first rows from
access.

What I am worried more in this case is how the mke2fs optimisations for a
raid device will affect performance if you do this repeatedly, or will a
"defrag" of the raid device after this rebuid solve it?

/Roger


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]