Re: Math::GMP

2006-01-31 Thread lgbarr
[EMAIL PROTECTED] wrote: >Did you verify it was actually there ?  Look in lib and site/lib >trees and see if it's there. $Bill, yes I did. Its there alright. I´ve uninstalled it, reinstalled it, maybe a dozen times already but to no avail. Suggestions? Should I migrate to Perl 5.8? Cheers,

Math::GMP

2006-01-31 Thread lgbarr
Maybe someone might be able to help me out. I´ve installed Net:SSH:Perl and Net::SSH:W32Perl so I can ssh an internal firewall. I´ve also installed Math::GMP.   From PPM you can see that its been installed: >D:\Fontes\SalvaConfigs\Pix>ppm >PPM interactive shell (2.2.0) - type 'help' for availabl

Re: FW: Cisco - Is it possible?

2003-12-16 Thread lgbarr
I just caught up with my mail and saw this posting. One way of knowing where a workstation is connected is to implement VLANs. I would suggest that for each floor and/or office location you may have, you assign it a VLAN. Then set up a W2k Advanced Server with a DHCP server on it, serving all the

Re: Newbie Help

2003-11-19 Thread lgbarr
Kevin, Try this piece of code. It returns all servers that are currently online. You'll need Win32::AdminMisc, Win32::NetAdmin and Win32::Lanman. You should edit the line "my @Domains" with your own list of NT Domains. Oh... BTW, you'll need Admin rightson all Domains. #-

RE: getting remote hard drive space

2003-10-17 Thread lgbarr
Never had any problems with it. Anyways, here's some code I use to monitor disk space on some servers. I should get the time to rewrite it ... BTW, it runs as a service off W2K server. #require 'subrotinas.pl'; use strict; use Win32::EventLog; use Win32::EventLog::Message; my $dolar = "\$"; my

RE: Win32::AdminMisc::GetMemoryInfo reporting unrealistic data

2003-07-15 Thread lgbarr
Tis been a very very hard day In my last msg I made a typo where its stated "The dynamic link library MSVCR80.DLL could not ..." it should read "The dynamic link library MSVCR70.DLL could not..." I apologize to all about that. Later, /Luiz George R. Barreiros ___

RE: Win32::AdminMisc::GetMemoryInfo reporting unrealistic data

2003-07-15 Thread lgbarr
First of all thanks to everyone that replied. Sorry for not responding earlier, had a small crisis going on here. I have plenty to go through now and do some more testing. Speaking of that, I just installed Dave's new version of Win32::AdminMisc. So the following might interest him... Alas, I got

Win32::AdminMisc::GetMemoryInfo reporting unrealistic data

2003-07-11 Thread lgbarr
Hi all, I've got a Dell server on hands and a Perl app which reports on the status of certain servers on my network. the following is the perl script: use Win32::AdminMisc; %Mem = Win32::AdminMisc::GetMemoryInfo(); %Processor = Win32::AdminMisc::GetProcessorInfo(); foreach (sort keys %Mem)

Re: Installed softwares on NT

2002-04-09 Thread lgbarr
I would suggest you use Win32::Registry, and look for the key "software\\microsoft\\windows\\currentversion\\uninstall" in Local Machine. Cheers, /LG

Re: enumerating machines...

2002-04-01 Thread lgbarr
I don't have much experience with W2K, but on NT I found that it usually returns only the machines that are powered on and connected to the network at the time you run the script. So you might get different number of machines depending on the time of day you run it. Cheers, /LG

Re: Can Win32::AdminMisc::UserGetMiscAttributes be used to pull Workstation/Domain Trust relationships?

2002-03-26 Thread lgbarr
I usually use "Win32::AdminMisc::GetMachines ($PDC,UF_SERVER_TRUST_ACCOUNTS,%hash)" Cheers, /LG