The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 01-01-2009
siddiqui siddiqui is offline
Registered User
  
 

Join Date: Jan 2009
Posts: 1
Lightbulb eleminate repated process names and get second column value

i want shell script who can eliminate those repeated process and get value of top process of second column.

Mark with red one only i want other repeated process should be eliminate but how? Help me out guys.


oracle 496094
oracle 471572
oracle 471497
oracle 470561
ko9coll 96157
kuxagent 91252
shlap64 90914
koragent 90591
koragent 90450
ko9coll 90372
tnslsnr 90203
stat_daemon 90196
kux_vmstat 89484
ifstat 89436
nfs_stat 89402
kddsignl 88875
kddsignl 88875
ibmdiradmn 88437