show all remote users

hi..how to see
all users connected to my solaris server
locally and remotely.

tq
maliksl4141Asked:
Who is Participating?
 
SpideyModConnect With a Mentor Commented:
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0
 
yuzhCommented:
at your server type in:
who <enter>
0
 
maliksl4141Author Commented:
is that show all connected users
thru telnet,x11 etc.
what about users that connected
to my server thru application.

tq
0
Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

 
yuzhCommented:
Well, you can use the following command to see the connetion between you server and the other machine:

netstat -a | grep `uname -n` | sort

This will give you an idea what machine is connet to your server and what ports are used. Some time is hard to tell who is using the application.

0
 
ahoffmannCommented:
w, who, or rwho (if rhod is running) to show login sessions (telnet, rsh, ssh)
netstat -an|grep ESTABLISHED
  for any application
0
 
msnrCommented:
what about if somebody is accessing my machine through nfs ..?


msnr
0
 
ahoffmannCommented:
msnr, NFS:
as long as the connection (means traffic) is established, you see connects to port 2049 (or whatever is configured).
The same problem applies to any connection controlled by the portmapper, you need to use tcp_wrapper to control it.
0
 
yuzhCommented:
It is very hard to tell who is using NFS.
0
 
msnrCommented:
can fuser help us in this regard.?

msnr
0
 
ahoffmannCommented:
fuser will, if at all, only report local users
0
 
m4rcCommented:
another good tool for listing network connections to your machine is lsof.

show all (i)nternet network connections
lsof -i

show all ssh(port 22) connections
lsof -i :22

you can get it as a package from http://www.sunfreeware.com/
0
 
ahoffmannCommented:
question is about users, not hosts
0
 
ismahwatiCommented:
i think i'll use ahoffman suggestion
for the time being.

netstat -an|grep ESTABLISHED
 
(how to give points here)

0
 
tfewsterCommented:
No comment has been added lately, so it's time to clean up this Topic Area.
I will leave a recommendation for this question in the Cleanup topic area as follows:

- PAQ, no points refunded

Please leave any comments here within the next 7 days

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

tfewster
Cleanup Volunteer
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.