I am just wondering...what am I doing wrong here. Why isn't "$latest_CPU_load\n" printing the desired value like $top_output[2] Any help here? Thanks, Arijit vgamd127> cat test.pl#!/depot/qsc/VG1.0/bin/perl @top_output = `top -n1 -b -i | head -35`;print "$top_output[2]";$latest_CPU_l
Hi Arijit,
>I am just wondering...what am I doing wrong here.
Why isn't "$latest_CPU_load\n" printing the desired value like
$top_output[2]
grep returns an array which in scalar context evaluates
to the number of elements in there. (There is one line containing 'load
average')
>Any help her
Hi all,
Does anyone have an example of using Perl to populate an
excel spreadsheet with data from multiple files. I need to do this
automatically.
Best regards,
Craig Sharp
Quicken Loans | Unix Engineer | Direct:
734.805.7839 | Fax: 734.805.5513 | [EMAIL PROTECTED]
The c
Hi,
Not sure if that is what you want, but I did it once by retrieving information
from MySQL database and then writing it to .csv file.
When user clicks in .csv file link, it opens in Excel (IE only)
Worked for me,
Regards,
VM
-Original Message-
From: [EMAIL PROTECTED] o
[EMAIL PROTECTED] wrote:
> Hi,
> Not sure if that is what you want, but I did it once by retrieving
> information from MySQL database and then writing it to .csv file.
> When user clicks in .csv file link, it opens in Excel (IE only)
> Worked for me,
> Regards,
> VM
The real question is wh
Thanks a lot... Sometimes my head gets jammed like the traffic situation in SFO and these days in Bangalore:-) -Arijit[EMAIL PROTECTED] wrote: Hi Arijit, >I am just wondering...what am I doing wrong here. Why isn't "$latest_CPU_load\n" printing the desired value like $top_output[2]