You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
881 B
31 lines
881 B
#!/bin/bash
|
|
# info: list system network status
|
|
# options:
|
|
#
|
|
# example: v-list-sys-network-status
|
|
#
|
|
# This function lists network status
|
|
|
|
#----------------------------------------------------------#
|
|
# Action #
|
|
#----------------------------------------------------------#
|
|
|
|
# Displaying network stats
|
|
ss -s
|
|
echo -en "\n---------------------------------------------"
|
|
echo -en "---------------------------------------------\n\n"
|
|
|
|
# Displaying network usage
|
|
lsof -iudp -itcp -n -P
|
|
echo -en "\n---------------------------------------------"
|
|
echo -en "---------------------------------------------\n\n"
|
|
|
|
# Displaying network interfaces
|
|
ip addr list
|
|
|
|
#----------------------------------------------------------#
|
|
# Hestia #
|
|
#----------------------------------------------------------#
|
|
|
|
exit
|