BES.cfg

Package: WA2L/WinTools 1.2.08
Section: Configuration Files (4)
Updated: 02 July 2017
Index Return to Main Contents

 

NAME

BES.cfg - configuration file for BES

 

SYNOPSIS

WA2LWinTools/etc/BES.cfg

 

AVAILABILITY

WA2L/WinTools

 

DESCRIPTION

This is the optional configuration file for the BES command.

 

FILEFORMAT

Rows starting with # are considered as comments.

The file format is OPTION=VALUE

Between the OPTION , the = and the VALUE are no spaces.

You can comment out any OPTION or completely remove the related setting line to use the default settings.

 

OPTIONS

BES_OPTIONS
set the command line options for the BES(1) command.

BES_OPTIONS="target" percentage

where target is the full path and filename to the executable (e.g. "c:\path_to\application.exe" ) you want to limit.

With percentage you throttle its CPU usage so that "target" will be only allowed to use CPU (100 - percentage) % at most.

You can use an integer between 1 and 99 as percentage. If percentage is omitted or invalid, the last known valid percentage for "target" is automatically used (if this is the first time to target a "target" , the default reduction 33% will be applied, unless percentage is specified).

You can specify multiple BES_OPTIONS lines, each BES_OPTIONS will result in a separate BES instance.

Example: BES_OPTIONS="C:\Program Files\AppXY\XY.exe" 90

Default: BES_OPTIONS=

 

EXAMPLES

1) Example configuration file

#
# WA2LWinTools/etc/BES.cfg - Configuration file for BES
#
# [00] 13.06.2017 CWa   Initial Version
#

# limit the CPU usage of XY.exe to 10% 
#
BES_OPTIONS="C:\Program Files\AppXY\XY.exe" 90

# limit the CPU usage of AB.exe to 20% 
#
BES_OPTIONS="C:\Program Files\AppAB\AB.exe" 20

 

SEE ALSO

wintoolsintro(1), bes(1), http://mion.faireal.net/BES/#commandline

 

NOTES

-

 

BUGS

-

 

AUTHOR

BES.cfg was developed by Christian Walther. Send suggestions and bug reports to wa2l@users.sourceforge.net .

 

COPYRIGHT

Copyright © 2020 Christian Walther

This is free software; see WA2LWinTools/man/COPYING for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


 

Index

NAME
SYNOPSIS
AVAILABILITY
DESCRIPTION
FILEFORMAT
OPTIONS
EXAMPLES
SEE ALSO
NOTES
BUGS
AUTHOR
COPYRIGHT

This document was created by man2html using the manual pages.
Time: 16:31:46 GMT, September 14, 2024