comparing PIDs 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 the number of running PIDs are less or more than the registered PIDs, comparing the total no. in each and also each value.

Request you to pls give your inputs.

Thanks a lot in advance.

what about this post ?

pls refrain from multi-posting - read the rules
Thread closed!