Re: Search of Text

From: Frank Chiavoni (Frank.Chiavoni_at_OIT.STATE.NJ.US)
Date: 12/22/04

  • Next message: Antonio Vázquez: "sed command to replace newlines with spaces"
    Date:         Wed, 22 Dec 2004 14:47:24 -0500
    To: aix-l@Princeton.EDU
    
    

    Something like....

    sed -n -e'/Average/p' -e '/^Total Paging Space/{N;p;q;}'
    dailylog200411011.log

    -----Original Message-----
    From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU]On Behalf Of
    Akash Jain
    Sent: 22 December, 2004 05:31
    To: aix-l@Princeton.EDU
    Subject: Re: Search of Text

    I am attaching the log file for your reference.

    Now I want to extract average of sar for first iteration and percent of
    paging space used.

    Thanks in advance.

    Regards
    Akash Jain

    -----Original Message-----
    From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU]On Behalf Of
    Green, Simon
    Sent: Tuesday, 21 December 2004 6:22 PM
    To: aix-l@Princeton.EDU
    Subject: Re: Search of Text

    I don't really understand that. Can you give an example of the data, and
    also all of the file names and types in the directory? Examples of the real
    data involved are always easier to deal with than descriptions, unless you
    give a very specific description, (like you'd used for a program
    specification).

    --
    Simon Green
    Altria ITSC Europe Ltd
    AIX-L Archive at https://new-lists.princeton.edu/listserv/aix-l.html
    New to AIX? http://publib-b.boulder.ibm.com/redbooks.nsf/portals/UNIX
    N.B. Unsolicited email from vendors will not be appreciated.
    Please post all follow-ups to the list.
    > -----Original Message-----
    > From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On
    > Behalf Of Akash Jain
    > Sent: 21 December 2004 12:16
    > To: aix-l@Princeton.EDU
    > Subject: Re: Search of Text
    >
    >
    > See I want to extract average field (date by date) along with
    > numeric values
    > from all month log files generated and kept in directory. The values
    > extracted will be used to generate graph.
    

  • Next message: Antonio Vázquez: "sed command to replace newlines with spaces"

    Relevant Pages

    • Re: Search of Text
      ... I am attaching the log file for your reference. ... Now I want to extract average of sar for first iteration and percent of ... paging space used. ...
      (AIX-L)
    • Re: Search of Text
      ... This you are specifying for single log file, what is to be added for bunch ... Regards ... I am attaching the log file for your reference. ... Now I want to extract average of sar for first iteration and percent of ...
      (AIX-L)