I don't think any good can come out of knowing other people's salary. You are going to feel worse about yourself, if salary is the only thing that you count in your life.
I probably am earning the least in my class of electrical engineering at IIT Delhi, so that means I should jump off a bridge or cry in a corner somewhere. Don't measure your life in terms of salary. Be happy with what you have. If you don't like the job, then change it. If you like the job, be happy.
Life is made up of more than just a salary.