Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: How to get unique value using AWK?

RE: How to get unique value using AWK?

From: Jamadagni, Rajendra <Rajendra.Jamadagni_at_espn.com>
Date: Thu, 22 Jan 2004 08:39:33 -0800
Message-ID: <F001.005DDE5B.20040122083933@fatcity.com>


pipe it through uniq

Raj



Rajendra dot Jamadagni at nospamespn dot com All Views expressed in this email are strictly personal. QOTD: Any clod can have facts, having an opinion is an art !

-----Original Message-----
Sent: Thursday, January 22, 2004 11:09 AM To: Multiple recipients of list ORACLE-L

Hi All,

My manager wants to get all the unique wait events from the trace file. I tried the below but how do i get DISTICT wait event name?

Any help would be really appreciated.

$ grep -i WAIT devdb1_ora_989.trc_orig|awk '{print $3" " $4 " " $5 " "$6}'|more

nam='SQL*Net message to client'
nam='SQL*Net message from client'
nam='library cache lock' ela=
nam='SQL*Net message to client'
nam='SQL*Net message from client'
nam='SQL*Net message to client'
nam='SQL*Net message from client'
nam='SQL*Net message to client'
nam='SQL*Net message from client'
nam='SQL*Net message to client'
nam='SQL*Net message from client'
nam='SQL*Net message to client'
nam='SQL*Net message from client'
nam='SQL*Net message to client'


Thanks
Jay

--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author:
  INET: jaysingh1_at_optonline.net

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).

This e-mail message is confidential, intended only for the named recipient(s) above and may contain information that is privileged, attorney work product or exempt from disclosure under applicable law. If you have received this message in error, or are not the named recipient(s), please immediately notify corporate MIS at (860) 766-2000 and delete this e-mail message from your computer, Thank you.
**************************************************************************************4

--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Jamadagni, Rajendra
  INET: Rajendra.Jamadagni_at_espn.com
Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Thu Jan 22 2004 - 10:39:33 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US