Large File Test
Some systems in a target environment could be hosting files of large sizes; a few of these files might not be of any use to either the user or the system (eg., *.tmp). In order to locate these files and remove them so as to conserve disk space, the LargeFileTest comes in handy. This test reveals the number of files in a specific directory that are of or above a configured size. If such large-sized files exist, then the detailed diagnosis of this test, when enabled, provides the names of the large files and their respective sizes.
Target of the test : A host system
Agent deploying the test : An internal agent
Outputs of the test : One set of results for every Directory configured.
Parameter | Description |
---|---|
Test Period |
How often should the test be executed. |
Host |
The host for which the test is to be configured. |
Directories |
Specify a comma-separated list of directories to be searched and file sizes, in the following format:{FULL_PATH_TO_DIR}@{FILE_SIZE}. For example, to check whether the directory c:\documents\important consists of files that are of size 2 MB or above, specify the following in the Directories text box: c:\documents\important@2. Similarly, multiple {DIR}@{FILE_SIZE} combinations can be provided as a comma-separated list. For example: c:\documents\important@2,c:\letters\business@1. In case of Unix environments, this will be:/opt/docs@2,/opt/bin@3. |
Recursive |
Set the Recursive flag to Yes to ensure that the test searches even the sub-directories within the configured Directories for the files. By setting this flag to No, you can instruct the test to search for the files in the parent directory only. |
Detailed Diagnosis |
To make diagnosis more efficient and accurate, the eG Enterprise embeds an optional detailed diagnostic capability. With this capability, the eG agents can be configured to run detailed, more elaborate tests as and when specific problems are detected. To enable the detailed diagnosis capability of this test for a particular server, choose the On option. To disable the capability, click on the Off option. The option to selectively enable/disable the detailed diagnosis capability will be available only if the following conditions are fulfilled:
|
Measurement | Description | Measurement Unit | Interpretation |
---|---|---|---|
Largefiles count |
Indicates the number of files of or above a configured size in this directory. |
Number |
The detailed diagnosis of this test, if enabled, provides the names of the large files and their respective sizes. |