Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

filebench(1) [centos man page]

filebench(1)							   USER COMMANDS						      filebench(1)

NAME
filebench - interprets WML script and generates appropriate filesystem workload SYNOPSIS
filebench [-f <filename>] [-h] DESCRIPTION
Filebench is a file system and storage benchmark that allows to generate a large variety of workloads. Unlike typical benchmarks it is very flexible and allows to minutely specify (any) applications' behaviour using extensive Workload Model Language (WML). Filebench uses load- able workload personalities to allow easy emulation of complex applications (e.g., mail, web, file, and database servers). Filebench is quick to set up and easy to use compared to deploying real applications. It is also a handy tool for micro-benchmarking. Filebench includes many features to facilitate file system benchmarking: o Multiple workload types support via loadable personalities o Ships with more than 40 pre-defined personalities, including the one that describe mail, web, file, and database servers behaviour o Easy to add new personalities using reach Workload Model Language (WML) o Multi-process and multi-thread workload support o Configurable directory hierarchies with depth, width, and file sizes set to given statistical distributions o Support of asynchronous I/O and process synchronization primitives o Integrated statistics for throughput, latency, and CPU cycle counts per system call OPTIONS
-f <filename> use specified file as an input instead of stdin -h Display verbose help EXAMPLES
Run filebench interactively: $ filebench Start filebench interactive shell, filebench prompt will appear after that. filebench> load fileserver Load fileserver personality using load command. filebench> set $dir=/mnt After personality is loaded, tunables of the workload personality can be set. Here we change the benchmark directory to /mnt where the file system we want to benchmark is presumably mounted. filebench> run 60 Start workload for 60 seconds. After 60 seconds of the run the statistics is printed and Filebench exits. Run filebench non-interactively: filebench -f /usr/share/filebench/workloads/fileserver.f Run filebench non-interactively, however, you need to add 'run <time>' to the end of the workload personality file before calling filebench. EXIT STATUS
0 if OK, 1 if workload file is not found. REPORTING BUGS
http://sourceforge.net/tracker/?group_id=133644&atid=727883 revision 01 Sep 1, 2011 filebench(1)

Check Out this Related Man Page

GEARMANCLIENT(3)							 1							  GEARMANCLIENT(3)

The GearmanClient class

INTRODUCTION
Represents a class for connecting to a Gearman job server and making requests to perform some function on provided data. The function per- formed must be one registered by a Gearman worker and the data passed is opaque to the job server. CLASS SYNOPSIS
GearmanClient GearmanClient Methods o public bool GearmanClient::addOptions (int $options) o public bool GearmanClient::addServer ([string $host = 127.0.0.1], [int $port = 4730]) o public bool GearmanClient::addServers ([string $servers = 127.0.0.1:4730]) o public GearmanTask GearmanClient::addTask (string $function_name, string $workload, [mixed &$context], [string $unique]) o public GearmanTask GearmanClient::addTaskBackground (string $function_name, string $workload, [mixed &$context], [string $unique]) o public GearmanTask GearmanClient::addTaskHigh (string $function_name, string $workload, [mixed &$context], [string $unique]) o public GearmanTask GearmanClient::addTaskHighBackground (string $function_name, string $workload, [mixed &$context], [string $unique]) o public GearmanTask GearmanClient::addTaskLow (string $function_name, string $workload, [mixed &$context], [string $unique]) o public GearmanTask GearmanClient::addTaskLowBackground (string $function_name, string $workload, [mixed &$context], [string $unique]) o public GearmanTask GearmanClient::addTaskStatus (string $job_handle, [string &$context]) o public bool GearmanClient::clearCallbacks (void ) o public GearmanClient GearmanClient::clone (void ) o public GearmanClient::__construct (void ) o public string GearmanClient::context (void ) o public string GearmanClient::data (void ) o public string GearmanClient::do (string $function_name, string $workload, [string $unique]) o public string GearmanClient::doBackground (string $function_name, string $workload, [string $unique]) o public string GearmanClient::doHigh (string $function_name, string $workload, [string $unique]) o public string GearmanClient::doHighBackground (string $function_name, string $workload, [string $unique]) o public string GearmanClient::doJobHandle (void ) o public string GearmanClient::doLow (string $function_name, string $workload, [string $unique]) o public string GearmanClient::doLowBackground (string $function_name, string $workload, [string $unique]) o public string GearmanClient::doNormal (string $function_name, string $workload, [string $unique]) o public array GearmanClient::doStatus (void ) o public bool GearmanClient::echo (string $workload) o public string GearmanClient::error (void ) o public int GearmanClient::getErrno (void ) o public array GearmanClient::jobStatus (string $job_handle) o public bool GearmanClient::ping (string $workload) o public bool GearmanClient::removeOptions (int $options) o public int GearmanClient::returnCode (void ) o public bool GearmanClient::runTasks (void ) o public void GearmanClient::setClientCallback (callable $callback) o public bool GearmanClient::setCompleteCallback (callable $callback) o public bool GearmanClient::setContext (string $context) o public bool GearmanClient::setCreatedCallback (string $callback) o public bool GearmanClient::setData (string $data) o public bool GearmanClient::setDataCallback (callable $callback) o public bool GearmanClient::setExceptionCallback (callable $callback) o public bool GearmanClient::setFailCallback (callable $callback) o public bool GearmanClient::setOptions (int $options) o public bool GearmanClient::setStatusCallback (callable $callback) o public bool GearmanClient::setTimeout (int $timeout) o public bool GearmanClient::setWarningCallback (callable $callback) o public bool GearmanClient::setWorkloadCallback (callable $callback) o public int GearmanClient::timeout (void ) PHP Documentation Group GEARMANCLIENT(3)
Man Page