To configure Server for NFS Logging:
- Log on to the Server for NFS computer by using an administrative level account.
- Click Start, point to Programs, point to Windows Services for UNIX, and then click Services for UNIX Administration.
- Click the Server for NFS pane.
- Click to select the Log events to event log check box to turn on logging to the Windows Event Log.
- Click to select the Log events in this file check box, and then type a destination file name to turn on logging to an external file.
- Type the maximum file size for the logging file.
- Click any of the following settings to configure the type of events that you want to log:
- Mount: Mount and unmount requests
- Locking: File locking and unlocking
- Read: Requests to read files
- Write: Requests to write to a file
- Create: File creation requests
- Delete: File deletion requests
- All: All of the logging types
NOTE: If you click All events, the log file may grow rapidly.
- Click Apply.
- Log on to the Windows-based server by using an administrative level account.
- Click Start, click Run, type cmd, and then click OK.
- From the command prompt, type the following command to turn on logging to both the event log and a file and to set the maximum size of the file:nfsadmin server config auditlocation=both fname=c:\temp\nfsserv.log fsize=10
- From the command prompt, type the following command to turn on logging of mount events and to turn off logging of file reads.nfsadmin server config audit = +mount audit= -read
- Type the following command to get a listing of the available NFSAdmin parameters that you can use with Server for NFS:nfsadmin server /?
ID do Artigo: 324072 - Última Revisão: 30 de out de 2006 - Revisão: 1