Mac OS 10.x Check Port Usage

the command for check port usage, in Mac OS 10.x system