dfstrace setlog(8dfs)

Sets the size of the indicated log

Synopsis

dfstrace setlog -log log_name -buffersize 4-kilobyte_units [-cdsentry server_entry_in_CDS]
[-help]

Options

-log log_name
Specifies the name of the kernel or server process log whose size you want to set.

-buffersize 4_kilobyte_units
Defines the size of the log in 4-kilobyte units (kwords).

-cdsentry server_entry_in_CDS
Specifies the full DCE path name (/.:/hosts/machine/process_name) of a server process whose log size you want to set. Omit this option to set the size of a kernel log.

-help
Prints the online help for this command. All other valid options specified with this option are ignored.

Description
The dfstrace setlog command sets the size of a server process or kernel log. The size of the log is set in kwords. To set the size of a server process log, specify the server process with the -cdsentry option; to set the size of a kernel log, omit the -cdsentry option.

If a specified log is already allocated, it is cleared and freed when this command is run, and a new log of the desired size is created. Otherwise, a log of the desired size is created when the log is allocated.

To display the current size and allocated status of a log, issue the dfstrace lslog command.

Privilege Required
To set the size of a kernel log, the issuer must be logged in as root on the local machine. To set the size of a server process log, the issuer must be listed in the admin list associated with that process on the machine specified by the -cdsentry option (for example, admin.fl for the flserver process and admin.ft for the ftserver process).

Examples
The following command sets the size of the cmfx kernel log to 64 kilobytes (16 kwords):

# dfstrace setl cmfx 16

The following command sets the size of the ubikvote server process log on the machine dewitt to 120 kilobytes (30 kwords):

$ dfstrace setl ubikvote 30 -cdsentry /.:/hosts/dewitt/flserver

Related Information
Commands: dfstrace lslog(8dfs)