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() {
 | 
					func main() {
 | 
				
			||||||
	execute("/usr/sbin/lsof -iTCP -sTCP:LISTEN")
 | 
						execute("/usr/sbin/lsof -iTCP -sTCP:LISTEN -P")
 | 
				
			||||||
	execute("gcc --version")
 | 
						execute("gcc --version")
 | 
				
			||||||
	execute("java -version")
 | 
						execute("java -version")
 | 
				
			||||||
	execute("python3 --version")
 | 
						execute("python3 --version")
 | 
				
			||||||
	execute("php --version")
 | 
						execute("php --version")
 | 
				
			||||||
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user