monitoring network stats and user stats

Issues related to applications and software problems
robertw
Posts: 156
Joined: 2012/04/25 13:26:59

monitoring network stats and user stats

Postby robertw » 2017/11/21 19:12:56

hi all,

made a sftp server and added a few users and they can upload/download to thier home folder but now i want to monitor the network traffic ie upload /download speed from each individual connections ie the host/ip of the users if not just a total upload/download and also what user is connected to the sftp server, what folder they have access to ie uploading to or downloading to

thanks,

rob

robertw
Posts: 156
Joined: 2012/04/25 13:26:59

Re: monitoring network stats and user stats

Postby robertw » 2017/11/22 08:25:23

found two good ones, still looking -

the below monitors traffic on port 22 plus the username connected -
watch -n 0.5 lsof -n -i :22

this one monitors total rx/tx -
bwm-ng