In Solaris, how to check the number of Users currently
logged in ?
Answers were Sorted based on User's Feedback
Answer / swamy naidu kollu
#who
Command list the users that are currently logged in.
For listing the remote users as well
#who -r or #rusers -l
| Is This Answer Correct ? | 11 Yes | 4 No |
Answer / gopinadh
#ps -ef | awk '{print $1}'|sort |uniq | wc -l
the result of above command - 1 = total users
| Is This Answer Correct ? | 0 Yes | 0 No |
how to configure ethernet card.
What is the purpose of ha daemons in VCS servers?
Explain setuid, setgid and stickybit
What is environmental? How to add environmental variables in run level 3 & how to edit?
Why copied file permission is changed in destination. When i give all permission i.e 777 to file and copy that to other location in destination the permission is 755. But if give permission 555 in destination that file permission is 755 and if give permission 444 to file after copy in destination the file permission is 444. These all are happening in normal user. How the umask value is calculate here really i am not understand. Please every body and wite the proper answer. Thanks in Advance
If the /var file system is full then what you will do.
Which command to lock the user Account?
where we find bp.conf file? which path?
what is the back up software we r using in solaris 8,9,10
How will you view the packages?
how to view how many samba user in solaris
How to Freeze svcgroup, (disable onl. & offl.)