How to check active connection in linux
Linux command to check all active connection
As oracle Apps DBA sometime i nned to know the active connection in my server. Or who are working as system administrator they have a common requirement like same.
So follow bellow info to find active connection in your linux system
By Using last command
[root@ebs ~]# last -a | grep -i still
Aply this command and you will get information like below image.
By using ss command
[root@ebs ~]# ss | grep ssh
Aply this command and you will get information like below image.
By using w command
[root@ebs ~]# w
Aply this command and you will get information like below image.
By using who command
[root@ebs ~]# who
By using ps command
[root@ebs ~]# ps auxwww | grep sshd: | grep -v grep
By using netstat command
[root@ebs ~]# netstat -tnpa | grep 'ESTABLISHED.*sshd'
I hope this topic will be helpful for both Oracle Apps DBA and Linux System Administrator.
You can find me on Fiverr & LinkedIn