- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to see ip of connected users
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2005 07:38 PM
тАО02-28-2005 07:38 PM
I have seen with w command users connected at the server but I would like see other information. In which log or in which other way is possible see ip address of users connected to the server?
The syslog show the ip address for ftp login but for telnet connection only the terminal
Is possible to see which samba users are connected by windows to the shared folder in the server ?
Thanks in advance
Attilio
and which command they use ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2005 07:49 PM
тАО02-28-2005 07:49 PM
Re: how to see ip of connected users
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2005 07:51 PM
тАО02-28-2005 07:51 PM
Re: how to see ip of connected users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2005 07:58 PM
тАО02-28-2005 07:58 PM
Re: how to see ip of connected users
or
lsof |more
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2005 08:08 PM
тАО02-28-2005 08:08 PM
Re: how to see ip of connected users
try with "finger -R".
Bye
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2005 08:20 PM
тАО02-28-2005 08:20 PM
Re: how to see ip of connected users
use
#who -T
regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2005 08:48 PM
тАО02-28-2005 08:48 PM
Re: how to see ip of connected users
last command gives login informtion as,
last | grep 'still'
it will report currently logged users.
Simply use,
who -T
HTH.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2005 09:29 PM
тАО02-28-2005 09:29 PM
Re: how to see ip of connected users
I think the command that you are looking for is smbstatus. Normal users (e.g. connected by telnet session) you can view by
who -R
or
who -Hu
but in order to view samba connected users you have to use smbstatus.
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2005 03:13 AM
тАО03-02-2005 03:13 AM
SolutionBuilding on the who command I submit the following script for your review
for i in `who -u|awk '{ print $8 }'`
do
ping -I 2 $i -n 2
done
This will priovide output like:
PING PC-NAME.DOMAIN.local: 64 byte packets
64 bytes from AAA.BBB.CCC.DDD: icmp_seq=0. time=0. ms
64 bytes from AAA.BBB.CCC.DDD: icmp_seq=1. time=0. ms
----PC-NAMW.DOMAIN.local PING Statistics----
2 packets transmitted, 2 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/0/0
Please NOTE: If a user is logged into the system more than once, such as once as root and again as user ABC you will get two pings back because it is two physical connections.
For your Samba users I would suggest using smbstatus as suggested and use the -S option to provide a simple one line type report... just a suggestion.
Points for answers.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2005 04:51 AM
тАО03-02-2005 04:51 AM
Re: how to see ip of connected users
Charles and Fabio,
about samba I see the logged users, but there is a way to control users command ?
Best regards
Attilio