From 529102b2dcd7d9a45b475741e411d8ae6a8c085f Mon Sep 17 00:00:00 2001 From: Isaac Hermida Date: Tue, 12 Jul 2016 12:09:32 +0200 Subject: [PATCH] meta-digi-dey: sysinfo: extend report information with more details Extend the report with more details about: - memory usage - all network ports (-a) with their related PIDs (-p) - network link details (to determine if interface is up) Signed-off-by: Isaac Hermida --- meta-digi-dey/recipes-digi/sysinfo/sysinfo/sysinfo | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta-digi-dey/recipes-digi/sysinfo/sysinfo/sysinfo b/meta-digi-dey/recipes-digi/sysinfo/sysinfo/sysinfo index a9b5c565c..b0561f374 100755 --- a/meta-digi-dey/recipes-digi/sysinfo/sysinfo/sysinfo +++ b/meta-digi-dey/recipes-digi/sysinfo/sysinfo/sysinfo @@ -131,6 +131,8 @@ make_report(){ echo "--------------------------------------" echo "" free + printf "\n" + cat /proc/meminfo printf "\n\n" echo "--------------------------------------" @@ -157,7 +159,7 @@ make_report(){ echo "- -" echo "--------------------------------------" echo "" - netstat -n -l + netstat -n -a -p printf "\n\n" echo "--------------------------------------" @@ -177,6 +179,8 @@ make_report(){ echo "" ifconfig -a printf "\n" + ip link show + printf "\n" echo "-------------End of report------------" }