Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ time ss -nlp | grep -E ':8081|:8007|:8010'
- LISTEN 0 100 :::8081 :::* users:(("java",28681,47))
- LISTEN 0 1 ::ffff:127.0.0.1:8007 :::* users:(("java",28681,220))
- LISTEN 0 100 :::8010 :::* users:(("java",28681,48))
- real 0m0.608s
- user 0m0.118s
- sys 0m0.475s
- $ time netstat -nlp | grep -E ':8081|:8007|:8010'
- (Not all processes could be identified, non-owned process info
- will not be shown, you would have to be root to see it all.)
- tcp 0 0 :::8081 :::* LISTEN 28681/java
- tcp 0 0 ::ffff:127.0.0.1:8007 :::* LISTEN 28681/java
- tcp 0 0 :::8010 :::* LISTEN 28681/java
- real 0m0.146s
- user 0m0.012s
- sys 0m0.129s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement