There was a temporary network glitch and all user terminal ssh sessions were broken. Upon logging in to the CentOS server again and running the "w" command lists a higher number of users logged in than they actually. It adds up the users whose session was broken. Manually killed the earlier "pts" sessions. However the number of logged in users is still higher than the actual number now.
Is there any way I can properly kill these disconnected "ssh" sessions to get correct number of logged in users in "w" output?