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 |
What is difference between Hard and Soft mount?
How to find the kernel bit version or architecture
How to add a group
How to unconfigure llt and gab
If /etc/system file is corrupted how will you recover it , if we dont have a CDROM then what is the procedure?
2 Answers IBM, ITC Infotech, Tech Mahindra,
Is it possible to create swap in new harddisk without format
how to stop the process using process name
Syntax for useradd commad
How to add a root dg?
In VERITAS How to recover the mirror disk with data. How to bring the existing data disk into VERITAS volume manger control.
How can you create mount points in solaris?
How can you search for commands at the boot prompt if you only know part of the command?