Total number of users logged in a server from uptime

how to find out total number of users logged in a server from uptime . i mean to say i need the total output of [ who ] unix command . who gives the out put at a particular time . I need at all time from which machine who has connected ,

did you try last (and lastb) command

# last |wc -l
1 Like

thanks . it gives me the all users logged in from system up time .

On my system's version of "last", "last -R" gives the source machine of the login.