list process in port linux code example Example 1: ubuntu check process on port sudo lsof -i:22 Example 2: process runninng on particular port sudo ss -lptn 'sport = :80'