This can be used to ensure that a large folder structure is fully read before other actions are taken. Parent measure options FinishActionĪction to execute when the plugin has completed reading the folders and files. In a child measure, defines the parent measure to read values from. Note: While #Variables# can be used in the parent Path option, cannot, as this is ambiguous with the parent definition in a child measure. By default, the This PC (formerly My Computer) folder is used. In a parent measure, defines the path of the folder to read. OnUpdateAction=!CommandMeasure MeasureFolder UpdateĪll general measure options are valid. Be aware that having the plugin physically access the disk has a performance cost, and care should be taken to use an appropriate UpdateDivider. If it is desired that a folder be monitored for new or changed files, the Update plugin command should be used in conjunction with an OnUpdateAction statement to keep the measure current with changing disk information. If the options on the parent measure are changed dynamically with !SetVariable or !SetOption, the Update plugin command will need to be used to update the values. Important Note: A FileView measure will not re-read the disk information on a normal update cycle or using UpdateDivider on the measure, nor when the !Update / !UpdateMeasure bangs are used. This will allow a skin to "scroll" through the files and / or folders in a dynamic way. However, the information for all files and / or folders are obtained by the plugin, and subsequent or previous entries can be assigned to the three indexes by using !CommandMeasure statements described below. In these examples, three indexes are created due to the Count=3 option on the parent measure. The values of the three child measures are now the FileName, FileSize and FileDate information from the first file (Index 1) of the parent measure. These can then be used with MeasureName and other options in meters.Īnother way to use the information in child measures is: The values of the three child measures are now the FileName information parsed into Indexes 1 through 3 by the parent measure. The information is used in subsequent "child" FileView measures: In this example, this "parent" measure will obtain name, size, date and icon information about all files in the selected folder, then create three Index values for the first three files. A main "parent" FileView measure is used to obtain all the information for a selected folder, and then "child" measures are used to read individual entries from the parent using the Path= option.įileView measures take the form: It can also search recursively through all the subfolders of the selected folder to obtain the totals for count and size.įileView operates with a "parent / child" approach. It counts the number of files and folders and obtains the combined size. The plugin gathers all the folder and file names, sizes, dates and icons in the selected folder. Run cmd.exe, being sure to run "As administrator".Plugin=FileView retrieves information about folders and files. In many cases, this can be corrected by "rebuilding" the database from the Windows command line. While rare, it is possible for the database of "counters" that is maintained by Performance Monitor in Windows to become damaged, which will cause the Perfmon plugin to stop functioning correctly. Measures the number of processes running. This is useful as many of the performance values are counters and you usually want to know how much the counter has increased since last update. If set to 1, the difference between the current and previous counter value is used instead. If set to 0, the current value of the counter is used as the measure value. Can be left unspecified if the counter does not have any instances.Įxample: _Total PerfMonDifference Default: 1 Options General measure optionsĮxamples: Memory, Processor PerfMonCounterĮxamples: % Processor Time, Disk Read Bytes/sec PerfMonInstance Note: The names of the objects, counters and instances must be in English. To open it, either run PerfMon.msc or type it in the Start menu. All available counters can be viewed using the Performance Monitor application. The Performance Monitor exposes several counters, which track various information. The UsageMonitor plugin should be used in place of this. This plugin has been deprecated, and should not be used in new skins. Plugin=PerfMon retrieves infromation from the Windows Performance Monitor.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |