Unix Shell - comparing PID values of 2 Files in shell

This is Interesting: Free IT Magazines  
Home > Archive > Unix Shell > December 2007 > comparing PID values of 2 Files in shell





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author comparing PID values of 2 Files in shell
marconi

2007-12-19, 1:23 pm

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.

Barry Margolin

2007-12-19, 7:27 pm

In article
<a2d84811-4900-49be-ba59-264f887c7b15@b1g2000pra.googlegroups.com>,
marconi <kirankumar.techy@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@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 ***
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com