Name | Synopsis | Description | Options | Operands | Examples | Exit Status | See Also
get-file-cache-prop <connect_options> [--echo|-e] [--no-prompt|-Q] [--verbose|-v] --config|-c config-name (property-name)*
Use this command to view the file cache properties. Sun Java System Web Server 7.0 uses a file cache to serve static information faster. The properties that you can view are as follows:
enabled - Indicates whether the server caches the file content and meta information. The default value is true.
max-age - The maximum amount of time (in seconds) to cache the file content and/or meta information. The range of values is 0.001–3600.
max-entries - The maximum number of paths for which the file content and/or meta information should be cached. The range of values is 1–1048576.
max-open-files - The maximum number of file descriptors the file cache will keep open. The range of values is 1–1048576. The default value is default.
sendfile - Indicates whether the server will attempt to use the operating system's sendfile, sendfilev, send_file, or TransmitFile system call. The default value is true on Windows and false on other platforms.
copy-files - Indicates whether the server copies the cached files to a temporary directory. The default value is true on Windows and false on other platforms.
copy-path - The name of the temporary directory that the server uses when copy-files is true.
replacement - The cache entry replacement algorithm. The values can be false,lru, or lfu.
cache-content - Indicates whether the server caches the file content. The default value is true.
max-heap-file-size - The maximum size (in bytes) of files to cache on the heap. The range of values is 0–2147483647.
max-heap-space - The maximum amount (in bytes) of heap to use for caching files. The range of values is between 0– 9223372036854775807.
max-mmap-file-size - The maximum size (in bytes) of files to mmap. The range of values is 0-2147483647.
max-mmap-space - The maximum amount (in bytes) of mmap address space to use for caching files. The range of value is 0– 9223372036854775807.
For connect_options description, see help(1).
Specify this option to print this command on the standard output before executing. This option also prints the default value for all the non-mandatory options that you do not provide in the command.
If you specify this option, wadm will not prompt you for passwords while executing this command. Use this option if you have defined all passwords in a password file and specified the file using the --password-file connect_option.
Specify this option to display a verbose output.
Specify the name of the configuration.
wadm get-file-cache-prop --user=admin --host=serverhost --password-file=../admin.passwd --port=8989 --ssl=true --no-prompt --rcfile=null --config=config1 |
The following exit values are returned:
command executed successfully
error in executing the command
Name | Synopsis | Description | Options | Operands | Examples | Exit Status | See Also