add ports to lsof command
This commit is contained in:
parent
3859176a52
commit
905000670e
BIN
check-versions
BIN
check-versions
Binary file not shown.
@ -31,10 +31,9 @@ func execute(cmdstr string) {
|
||||
}
|
||||
|
||||
func main() {
|
||||
execute("/usr/sbin/lsof -iTCP -sTCP:LISTEN")
|
||||
execute("/usr/sbin/lsof -iTCP -sTCP:LISTEN -P")
|
||||
execute("gcc --version")
|
||||
execute("java -version")
|
||||
execute("python3 --version")
|
||||
execute("php --version")
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user