how to chk who r the users currently ogged in to the system..?

Answer Posted / arun

we can use any one of four commands (who, finger, rusers -l,
or whodo) to find out who is logged on to a system. Each
command gives you different additional information.

#who
The who command displays a list of the users logged on to a
system, with the login TTY port and the date and time. When
a user is logged on remotely, the remote system name for
that user is also displayed.

#finger

The finger command displays a list of the login names of
users logged on to a system, along with the user's complete
name .The TTY port, the day of the week, the login time, and
the remote system name if the user is logged in remotely.

#rusers -l

Itlist of login names of users who are logged in on remote
systems, along with the name of the system a user is logged
in to, the TTY port, the month, date, login time, and idle
time. If the host is not idle, no time is displayed in the
last field.

#whodo
It displays date time and system name,
The list includes the device name, PID, CPU minutes and
seconds used, and process name.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Local zone in shutting down state.how to bring state of zone to installed?

1626


hi to all,, i need few real time issues please provide me,, if you have any,,,

1753


What is cachefs?

1935


how can u give space garentee for volume in netapp storage

2817


Hi, I need information regarding LDOMS.Like What is LDOMS ,Creation of LDOMS, errors on LDOMS, troubleshooting LDOMS...etc.... pls post the info. Regards, Naresh

2748






In a two node cluster i have typed #hastart command in one node.The cluster is starting in second node also,what is going in background?

1752


What is the zone in DNS?

1904


How to create a gateway?

6350


what is mean by netfmd in sun cluster what is the use of netfmd and what is the relation between ccd and netfmd?

2257


when i am starting solaris10 with 'fail safe mode' on intel machine it is asking "#starting shell".what is it and how to solve this problem?

2032


What is the use of Sam utility in solaris

2366


How do u know that,what patch can be applicable on the system?

1804