Do this via rsh command to a Filer, or on the Filer itself.
Displaying CIFS session information
BM_1288165 CIFS session information you can display
BM_1263345You can display information about connected users and the number of shares and open files for each user. You can also display information about a specific connected user.
BM_1263347 Displaying information with the cifs sessions command
BM_1263348The cifs sessions command syntax is as follows:
BM_1263349cifs sessions <username>
BM_1263351 Displaying information about all connected users
BM_1263352To display information about all connected users, use the following command syntax:
BM_1263354cifs sessions
BM_1263355Sample output is
BM_1263356Server Registers as 'TOASTER` in group WNT-DOMAIN
BM_1263357WINS Server: 272.320.0.4
BM_1263358PC style Access Control is being used
BM_1263359Using domain controller WNT-DOMAIN-PDC for authentication
BM_1263360========================================
BM_1263361PC (user) #shares #files
BM_1263362SMITHPC (qsmith) 1 1
BM_1263363PETERSPC (zpeters) 2 3
BM_1263364 Displaying information about one user
BM_1263365To display the information for a particular user, specify the user name in the command; for example:
BM_1263366cifs sessions ghopper
BM_1263367users
BM_1263368 shares/files opened
BM_1263369BM_1263370 HALEY-HOME1 (ghopper)
BM_1263371 ENG-USERS
BM_1263372 Read-denyW -
\GHOPPER\SRC\PROD\COMMON\HTTPD\httpd_fast.c
BM_1263373BM_1263374BM_1263375 HALEY-PC (ghopper)
BM_1263376 ENG-USERS
BM_1263377 Displaying connected user security information
BM_1263378To display security information for each connected user, use cifs sessions with the -s option. After the first two lines, detailed information for each connected user is displayed. The following example lists only one user.
BM_1263379cifs sessions -s
BM_1263380users
BM_1263381 Security Information
BM_1263382
BM_1263383HOLARD-PC (root)
BM_1263384 ***************
BM_1263385 UNIX uid = 0
BM_1263386 user is a member of group daemon (1)
BM_1263387 user is a member of group www (204)
BM_1263388 user is a member of group well (0)
BM_1263389 user is a member of group http (500)
BM_1263390
BM_1263391 NT membership
BM_1263392 WNT-DOMAIN\root
BM_1263393 WNT-DOMAIN\Domain Users
BM_1263394 WNT-DOMAIN\Domain Admins
BM_1263395 WNT-DOMAIN\SU Users
BM_1263396 WNT-DOMAIN\Installers
BM_1263397 BUILTIN\Users
BM_1263398 BUILTIN\Administrators
BM_1263399 User is also a member of Everyone, Network Users,
BM_1263400 Authenticated Users
BM_1263401 ***************
-----Original Message----- From: Monica Lam [mailto:Monica.Lam@cosinecom.com] Sent: Tuesday, March 06, 2001 10:29 AM To: 'toasters@mathworks.com' Subject: Is there a way to tell who is mapping specific filer cifs shares?
Hi,
We want to intermittantly capture data on which users are mapping which cifs shares off of our filers. Any one familiar with a command line way of doing this, either from NT or solaris or the Network Appliance itself?
(The information shows up in the NT server manager, but it is not very useful in terms of capturing trends...)
Thanks!
rsh toaster cifs sessions *
will give open sessions and files for all connected users. Good for finding who is holding an open file.
Moshe
"White, Lance" wrote:
Do this via rsh command to a Filer, or on the Filer itself.
Displaying CIFS session information
CIFS session information you can display
You can display information about connected users and the number of shares and open files for each user. You can also display information about a specific connected user.
Displaying information with the cifs sessions command
The cifs sessions command syntax is as follows:
cifs sessions <username>
Displaying information about all connected users
To display information about all connected users, use the following command syntax:
cifs sessions
Sample output is
Server Registers as 'TOASTER` in group WNT-DOMAIN
WINS Server: 272.320.0.4
PC style Access Control is being used
Using domain controller WNT-DOMAIN-PDC for authentication
========================================
PC (user) #shares #files
SMITHPC (qsmith) 1 1
PETERSPC (zpeters) 2 3
Displaying information about one user
To display the information for a particular user, specify the user name in the command; for example:
cifs sessions ghopper
users
shares/files opened
HALEY-HOME1 (ghopper)
ENG-USERS Read-denyW -
\GHOPPER\SRC\PROD\COMMON\HTTPD\httpd_fast.c
HALEY-PC (ghopper)
ENG-USERS
Displaying connected user security information
To display security information for each connected user, use cifs sessions with the -s option. After the first two lines, detailed information for each connected user is displayed. The following example lists only one user.
cifs sessions -s
users
Security Information
HOLARD-PC (root)
*************** UNIX uid = 0 user is a member of group daemon (1) user is a member of group www (204) user is a member of group well (0) user is a member of group http (500) NT membership WNT-DOMAIN\root WNT-DOMAIN\Domain Users WNT-DOMAIN\Domain Admins WNT-DOMAIN\SU Users WNT-DOMAIN\Installers BUILTIN\Users BUILTIN\Administrators User is also a member of Everyone, Network Users, Authenticated Users *************** -----Original Message----- From: Monica Lam [mailto:Monica.Lam@cosinecom.com] Sent: Tuesday, March 06, 2001 10:29 AM To: 'toasters@mathworks.com' Subject: Is there a way to tell who is mapping specific filer cifs shares? Hi, We want to intermittantly capture data on which users are mapping which cifs shares off of our filers. Any one familiar with a command line way of doing this, either from NT or solaris or the Network Appliance itself? (The information shows up in the NT server manager, but it is not very useful in terms of capturing trends...) Thanks!