Solved

show all remote users

Posted on 2002-07-03
14
1,289 Views
Last Modified: 2013-12-27
hi..how to see
all users connected to my solaris server
locally and remotely.

tq
0
Comment
Question by:maliksl4141
  • 4
  • 3
  • 2
  • +5
14 Comments
 
LVL 38

Expert Comment

by:yuzh
ID: 7128683
at your server type in:
who <enter>
0
 

Author Comment

by:maliksl4141
ID: 7129066
is that show all connected users
thru telnet,x11 etc.
what about users that connected
to my server thru application.

tq
0
 
LVL 38

Expert Comment

by:yuzh
ID: 7129154
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
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 
LVL 51

Expert Comment

by:ahoffmann
ID: 7129487
w, who, or rwho (if rhod is running) to show login sessions (telnet, rsh, ssh)
netstat -an|grep ESTABLISHED
  for any application
0
 
LVL 1

Expert Comment

by:msnr
ID: 7129517
what about if somebody is accessing my machine through nfs ..?


msnr
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7129534
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
 
LVL 38

Expert Comment

by:yuzh
ID: 7130864
It is very hard to tell who is using NFS.
0
 
LVL 1

Expert Comment

by:msnr
ID: 7131471
can fuser help us in this regard.?

msnr
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7131493
fuser will, if at all, only report local users
0
 
LVL 1

Expert Comment

by:m4rc
ID: 7150371
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
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7150533
question is about users, not hosts
0
 

Expert Comment

by:ismahwati
ID: 7158578
i think i'll use ahoffman suggestion
for the time being.

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

0
 
LVL 20

Expert Comment

by:tfewster
ID: 8003348
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
 

Accepted Solution

by:
SpideyMod earned 0 total points
ID: 8065959
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question