![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Show column names when access a table using perl | chriss_58 | Shell Programming and Scripting | 1 | 12-23-2008 04:26 PM |
| Extracting column names from a table.. SQL with UNIX | fmina | UNIX for Dummies Questions & Answers | 4 | 08-19-2008 02:52 AM |
| Print column names along with values from SQL | thana | Shell Programming and Scripting | 5 | 07-24-2008 03:33 AM |
| Process id's in file names | tekster757 | UNIX for Dummies Questions & Answers | 1 | 03-07-2008 12:29 PM |
| Column names in flat files | srivsn | Shell Programming and Scripting | 1 | 12-27-2005 06:47 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
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 |
|
||||
|
Idea:
See if your "ps" command has the "-H" (hierarchy) option . Beware: 1) unix does not necessarily allocate process IDs in numeric order. 2) I have not noticed a process hierarchy with Oracle. On my system the parent process PPID for all Oracle processes is ID 1 (init). Yours may be different. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|