Advertisement
Guest User

Untitled

a guest
Jul 19th, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. $ time ss -nlp | grep -E ':8081|:8007|:8010'
  2. LISTEN 0 100 :::8081 :::* users:(("java",28681,47))
  3. LISTEN 0 1 ::ffff:127.0.0.1:8007 :::* users:(("java",28681,220))
  4. LISTEN 0 100 :::8010 :::* users:(("java",28681,48))
  5.  
  6. real 0m0.608s
  7. user 0m0.118s
  8. sys 0m0.475s
  9.  
  10. $ time netstat -nlp | grep -E ':8081|:8007|:8010'
  11. (Not all processes could be identified, non-owned process info
  12. will not be shown, you would have to be root to see it all.)
  13. tcp 0 0 :::8081 :::* LISTEN 28681/java
  14. tcp 0 0 ::ffff:127.0.0.1:8007 :::* LISTEN 28681/java
  15. tcp 0 0 :::8010 :::* LISTEN 28681/java
  16.  
  17. real 0m0.146s
  18. user 0m0.012s
  19. sys 0m0.129s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement