ctdb-tools: Remove deprecated networking commands and replace with new commands
authorArchana <Archana.chidirala.chidirala@ibm.com>
Wed, 5 Jan 2022 04:38:06 +0000 (10:08 +0530)
committerVolker Lendecke <vl@samba.org>
Tue, 8 Mar 2022 12:30:53 +0000 (12:30 +0000)
The changes are made to replace the deprecated network commands
(ifconfig,netstat) with the new commands
(ip addr,ss) respectively

Signed-off-by: Archana Chidirala <archana.chidirala.chidirala@ibm.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Tue Mar  8 12:30:53 UTC 2022 on sn-devel-184

ctdb/tools/ctdb_diagnostics

index f86d14d389eaddc87c21cb44d7e307eb28ca9761..80a56575896877cdd52f60539f86757c8b7cae86 100755 (executable)
@@ -273,9 +273,10 @@ show_all "cat /proc/cpuinfo"
 show_all "cat /proc/scsi/scsi"
 show_all "/sbin/ifconfig -a"
 show_all "/sbin/ifconfig -a"
+show_all "cat /proc/net/dev"
 show_all "/sbin/ip addr list"
 show_all "/sbin/route -n"
-show_all "netstat -s"
+show_all "ss -s"
 show_all "free"
 show_all "crontab -l"
 show_all "sysctl -a"