Last active
November 22, 2017 10:40
-
-
Save frayos/ccee2ac9247475daaa61e5e2958099b9 to your computer and use it in GitHub Desktop.
Linux commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
lsof -i -P | grep LISTEN | |
ps auxwwww | grep <PID> | |
ps --no-headers -p <PID> -o pid,rss,cmd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment