Detecting i2c port for pressure sensor

i want to identify the i2c port of pressure sensor connecting to pixhawk using mavlink on raspberry pi. how can i do that?