From 013cbb7e55105c704b1b90f7ac7292c469a10c1d Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Sun, 5 Feb 2017 02:33:24 +0000 Subject: [PATCH] etc/profile.d/sys.sh --- etc/profile.d/sys.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/profile.d/sys.sh b/etc/profile.d/sys.sh index f5f9149d..14960365 100644 --- a/etc/profile.d/sys.sh +++ b/etc/profile.d/sys.sh @@ -26,6 +26,7 @@ sys_activity() { [ -d /dev/shm/ ] && tmp=/dev/shm/ tmp="$tmp/$FUNCNAME.$$" netstat -autpn > $tmp.netstat + w|head -1|sed 's/^ *//' case "$OSTYPE" in linux*) -- 2.47.3