How to monitor Windows CPU usage in Linux Server

2011-01-23 Thread sync
Hello, guys: is there any information in the MIB about the CPU-usage. I am monitoring Windows-machines using whatsup and the goal is to raise an alarm if the usage passes a certain threshold. By the way , I want to monitor them in Linux Server (CentOS), and the Windows is Windows XP . Thanks

Re: Dereference Links

2011-01-23 Thread shawn wilson
You also might want to look into Data::Dumper to see exactly what you're working with. Off the top though: map {@$_} @$arr might be a start.

Re: Dereference Links

2011-01-23 Thread Peter Scott
On Fri, 21 Jan 2011 08:01:03 -0600, Mike Flannigan wrote: > I'm trying to dereference the @{$links} produced by WWW::SimpleRobot and > am having a heck of a time getting it done. Can anybody help? You can > see some of the things I have tried below. That module hasn't been updated since 2001. Yo

Music Tagging Modules.

2011-01-23 Thread Sean Murphy
Hi all. I am starting a new project to expand my Perl skills. I am seeking for a module that will read Mp3 and Apple Audio files tags. If the file does not have any tags at all. I am hoping for a module that will take a sample and send it to a server on the net to identify the song/artist/etc.

Re: array like split of string

2011-01-23 Thread John W. Krahn
Peter K. Michie wrote: I have this regex expression in a script that appears to do an array like split of a string but I cannot figure out how it does so. Any help appreciated $fname = ($0 =~ m[(.*/)?([^/]+)$])[1] ; print "7 $errlog\n"; $fpath = ($0 =~ m[(.*/)?([^/]+)$])[0] ; print "8 $errlog\n

Re: Reading a value from a hash using a variable for the key

2011-01-23 Thread Eyal B.
On Jan 21, 4:30 pm, rob.di...@gmx.com (Rob Dixon) wrote: > On 21/01/2011 05:50, Erez Schatz wrote: > > > > > On 20 January 2011 15:38, Eyal B.  wrote: > > >> I'm getting an error on the line where I should use the TTL variable - > >> and take the right value from the hash (%list) :Use of uninitiali

array like split of string

2011-01-23 Thread Peter K. Michie
I have this regex expression in a script that appears to do an array like split of a string but I cannot figure out how it does so. Any help appreciated $fname = ($0 =~ m[(.*/)?([^/]+)$])[1] ; print "7 $errlog\n"; $fpath = ($0 =~ m[(.*/)?([^/]+)$])[0] ; print "8 $errlog\n"; The array elements 0