server_cifs
331
The server Commands
$ server_cifs server_2 -Replace ufs1 -acl :nb=dm112-cge0:if=cge0
server_2 : done
EXAMPLE #31 To configure a standalone CIFS server on server_2 with a NetBIOS
name of dm112-cge0, in the workgroup NASDOCS, with a NetBIOS
alias of dm112-cge0a1, hiding the NetBIOS name in the Network
Neighborhood, with the interface for CIFS service as cge0, the WINS
servers as 172.24.102.25 and 172.24.103.25, and with enabled local
users support, type:
$ server_cifs server_2 -add
standalone=dm112-cge0,workgroup=NASDOCS,alias=dm112-cge0a1,hidden=y,interface
=cge0,wins=172.24.102.25:172.24.103.25,local_users
server_2 : Enter Password:********
Enter Password Again:********
done
EXAMPLE #32 To delete the standalone CIFS server, dm112-cge0, type:
$ server_cifs server_2 -delete standalone=dm112-cge0
server_2 : done
EXAMPLE #33 To display a summary of SMB statistics, type:
$ server_cifs server_2 -stats -summary
server_2 :
State info:
Open connection Open files
2 2
SMB total requests:
totalAllSmb totalSmb totalTrans2Smb totalTransNTSmb
10038 6593 3437 8
EXAMPLE #34 To display all non-zero CIFS statistics, type:
$ server_cifs server_2 -stats
server_2 :
SMB statistics:
proc ncalls %totcalls maxTime ms/call
Close 1305 7.96 46.21 2.16
Rename 2 0.01 0.81 0.50
Trans 314 1.91 0.77 0.08
Echo 21 0.13 0.01 0.00
ReadX 231 1.41 0.03 0.00
WriteX 3697 22.54 39.96 0.98
Trans2Prim 9375 57.16 34.27 0.46
TreeDisco 10 0.06 0.06 0.00
NegProt 29 0.18 0.42 0.24
SessSetupX 47 0.29 60.55 5.81
UserLogoffX 9 0.05 0.01 0.00
TreeConnectX 13 0.08 0.39 0.23