comparing PID values of 2 Files in shell

Hi,

There is a file having a list of running PIDs and another file having
a list of registered PIDs. How can we check if each value of running
PIDs are less or more than the registered PIDs i.e. comparing the
value of each PID in both the files.

Request you to pls give your inputs.

Thanks a lot in advance.
marconi [ Mi, 19 Dezember 2007 16:29 ] [ ID #1889980 ]

Re: comparing PID values of 2 Files in shell

In article
<a2d84811-4900-49be-ba59-264f887c7b15 [at] b1g2000pra.googlegroups.com>,
marconi <kirankumar.techy [at] gmail.com> wrote:

> Hi,
>
> There is a file having a list of running PIDs and another file having
> a list of registered PIDs. How can we check if each value of running
> PIDs are less or more than the registered PIDs i.e. comparing the
> value of each PID in both the files.
>
> Request you to pls give your inputs.
>
> Thanks a lot in advance.

See the answers given in the thread titled "Comparing PIDs in shell".
Why did you post the same question twice?

--
Barry Margolin, barmar [at] alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
Barry Margolin [ Do, 20 Dezember 2007 01:31 ] [ ID #1891048 ]
Linux » comp.unix.shell » comparing PID values of 2 Files in shell

Vorheriges Thema: Why does not tail exit here?
Nächstes Thema: I dont see the error!