replace netstat by ss on Linux
This commit is contained in:
parent
93f55bfbb8
commit
ad82cc7b7a
|
@ -236,8 +236,8 @@ done
|
||||||
ps auwwx >${LOCAL_BACKUP_DIR}/ps.out
|
ps auwwx >${LOCAL_BACKUP_DIR}/ps.out
|
||||||
|
|
||||||
if [ "${SYSTEM}" = "linux" ]; then
|
if [ "${SYSTEM}" = "linux" ]; then
|
||||||
## Dump network connections with netstat
|
## Dump network connections with ss
|
||||||
netstat -taupen > ${LOCAL_BACKUP_DIR}/netstat.out
|
ss -taupen > ${LOCAL_BACKUP_DIR}/netstat.out
|
||||||
|
|
||||||
## List Debian packages
|
## List Debian packages
|
||||||
dpkg -l > ${LOCAL_BACKUP_DIR}/packages
|
dpkg -l > ${LOCAL_BACKUP_DIR}/packages
|
||||||
|
|
Loading…
Reference in a new issue