Re: EM reports error "tail +2" in $OH/sysman/admin/scripts/osCpuUsage.pl

From: Woody Ling <woodyling_at_gmail.com>
Date: Wed, 16 Apr 2008 22:25:04 -0700 (PDT)
Message-ID: <04c62678-df91-4f6f-8a24-7c0c3717624d@x41g2000hsb.googlegroups.com>


On 4$B7n(B17$BF|(B, $B>e8a(B11$B;~(B43$BJ,(B, Woody Ling <woodyl..._at_gmail.com> wrote:
> There was an error message in the EM said that cannot open "tail +2"
> in line 33 of $OH/sysman/admin/scripts/osCpuUsage.pl".
>
> I find that "tail +2" is not supported in linux RHEL5 but can work in
> AIX.
>
> Is there any way to fix it because there are so many perl scripts used
> "tail +"?
>
> Thanks.
> Woody Ling
> Hong Kong

Sorry that I just get the solution:

modify "tail +2" to "tail -n +2" Received on Thu Apr 17 2008 - 00:25:04 CDT

Original text of this message