On Thu, 2008-09-18 at 10:21 -0400, Aali Naser wrote:
> I still have no luck after trying your suggestions. I could use some
> more
> ideas if you guys dont mind. Please send them my way, I ll appreciate
> it.
>
#!/usr/bin/perl
use strict;
use warnings;
my $sep = "\t";
my @tags = (
'Server Nam
Gentlemen,
I still have no luck after trying your suggestions. I could use some more
ideas if you guys dont mind. Please send them my way, I ll appreciate it.
A
On Thu, Sep 18, 2008 at 3:03 AM, Dr.Ruud
<[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> wrote:
> "John W. Krahn" schreef:
>
> > #!/usr/bin/pe
"John W. Krahn" schreef:
> #!/usr/bin/perl
> use warnings;
> use strict;
>
> open SERVERS, '<', 'sample.txt' or die "Cannot open 'sample.txt' $!";
>
> # set the Input Record Separator
> $/ = "--\n";
>
> while ( ) {
> my $server_name = /^Server Name:\s+(.+)/m;
> m
Chris,
This information needs to be parsed and put it in a readable format for some
decision making. It has to be parsed either via a script or manually. I
thought script would be a better and faster way. And that is all I can say.
A
On Wed, Sep 17, 2008 at 5:04 PM, Chris Charley <[EMAIL PROTECT
Aali Naser wrote:
Hello All,
Hello,
I have a file with the info in the following format;
Start of File=
Server Name: ABCDEF
Manufacturer: Dell
Model: Some Model
Number Of Processors (Includes MultiThread): 2
Maximum Clock Speed: 3 - GHZ
Serial Number: 1234
On Wed, 2008-09-17 at 16:08 -0400, Aali Naser wrote:
> The code is listed below. I have not figured out how to capture
> multipe disk drive entries.
> Thanks
>
> ===
> #!perl
# Use strict as well as warnings
use strict;
> use warnings;
>
> my $server;
> my $fcode;
> my $i;
> m
- Original Message -
From: ""Aali Naser""
Hello All,
I have a file with the info in the following format;
Start of File=
Server Name: ABCDEF
Manufacturer: Dell
Model: Some Model
Number Of Processors (Includes MultiThread): 2
Maximum Clock Speed: 3
The code is listed below. I have not figured out how to capture multipe disk
drive entries.
Thanks
===
#!perl
use warnings;
my $server;
my $fcode;
my $i;
my $r;
my $k;
my $j;
my $ii;
my $a;
my $b;
my $c;
my $d;
my $e;
my $f;
my $g;
my $server_name;
my $manufac;
my $model;
my $num_
On Wed, 2008-09-17 at 15:21 -0400, Aali Naser wrote:
> Can any one help me with the logic for this type data processing?
Yes. What code do you have so far?
--
Just my 0.0002 million dollars worth,
Shawn
"Where there's duct tape, there's hope."
Cross Time Cafe
"Perl is the duct
Hello All,
I have a file with the info in the following format;
Start of File=
Server Name: ABCDEF
Manufacturer: Dell
Model: Some Model
Number Of Processors (Includes MultiThread): 2
Maximum Clock Speed: 3 - GHZ
Serial Number: 123456
Proc Usage: (1 Proc Sample
10 matches
Mail list logo