How to install Linux Socket Monitor (LSM)
What is LSM ?
LSM is a bash scripted network socket monitor. It is designed to track changes to Network sockets and Unix domain sockets.
Installation
Download the tar file usign the below link:
wget http://rfxnetworks.com/downloads/lsm-current.tar.gz
Untar the file
tar -zxvf lsm-current.tar.gz
go inside the extracted folder
cd lsm-0.*
run the below command to install it
./install.sh
LSM Testing
/usr/local/sbin/lsm -c
/usr/local/sbin/lsm -g