Ritesh
#1
How to find out - how many user’s are login at login portal successfully.
if i have apache,mysql based database.
this command gives only hitting the output :
netstat -plan | grep :80 | wc -l
Normal logging page on the server
please help me out on this .
You can try “who” command
[ec2-user@ip-172-31-2-154 ~]$ who
ec2-user pts/0 2016-06-28 06:20 (182.75.127.222)
ec2-user pts/1 2016-06-28 06:49 (182.75.127.222)
[ec2-user@ip-172-31-2-154 ~]$
Ritesh
#3
@rajput2time we need to login apache,mysql session logim not server logiin session
“ac -p” may work for you it shows time spend buy a user in multi user environment.