Browse Source

answer

master
zeus 4 years ago
parent
commit
410f56f2bd
  1. 29
      index_test
  2. 2
      test/0_netstat/codeanswer
  3. 4
      test/0_netstat/q-info

29
index_test

@ -1,29 +0,0 @@
--- # Programming language
name: "test"
author: "zeus"
intro: "netstat is available on all Unix-like Operating Systems and also available on Windows OS as well. It is very useful in terms of network troubleshooting and performance measurement. netstat is one of the most basic network service debugging tools, telling you what ports are open and whether any programs are listening on ports.
This tool is very important and much useful for Linux network administrators as well as system administrators to monitor and troubleshoot their network-related problems and determine network traffic performance. This article shows usages of netstat command with their examples which may be useful in daily operation.
"
0_netstat:
display_name: "netstat"
swarmlabservice: "os2"
info:
file: "0_netstat/info"
code:
lang: "bash"
exec: "/bin/bash"
file: "0_netstat/code"
options: "options"
mimetype: "bash"
output:
log: "ascii"
mimetype: "bash"
challenge:
question: "0_netstat/q-info"
codehelp: "0_netstat/codehelp"
codeanswer: "0_netstat/codeanswer"
mimetype: "bash"
points: "1" # ELO
output:
log: "ascii"

2
test/0_netstat/codeanswer

@ -0,0 +1,2 @@
netstat -l
netstat -s

4
test/0_netstat/q-info

@ -0,0 +1,4 @@
*List*
- all LISTENING Connections
- Showing Statistics by Protocol
Loading…
Cancel
Save