Copyright (c) 2007, Sun Microsystems Inc. All Rights Reserved.
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
/usr/benchmarks/filebench/bin/filebench profile
/usr/benchmarks/filebench/bin/filebench -c stats_dir...
filebench runs workloads to measure and compare filesystem performance.
Full documentation can be found at the performance community at: http://www.opensolaris.org
The following options are supported:
-c stats_dir...
Generates a HTML file (index.html) that is a comparison of the specified directories. stats_dir specifies the directory or directories in which the results are stored.
The following operands are supported:
profile
Specifies the name of the configuration file ending in .prof. The configuration file specifies:
what workloads to run,
what parameters to run,
the directory path on which to operate, and
the directory path in which to store the results.
The following exit values are returned:
0
Successful completion.
1
An error occurred.
2
Invalid command line options were specified.
Example 1 Running the Multi-stream Sequential Read Workload
The following example runs the workloads described in the configuration file named sqread.prof:
# filebench sqread
Example 2 Comparing Multiple Runs
The following example compares the results of two previous runs.
This example assumes that the results from the two previous filebench runs were located in the directories: /stats/wombat-zfs-noel-Jun_27_2007-15h_45m_33s and /stats/wombat-ufs-noel-Jun_27_2007-15h_52m_11s.
This example generates a HTML file named index.html in your current working directory.
# filebench -c /stats/wombat-zfs-noel-Jun_27_2007-15h_45m_33s \e /stats/wombat-ufs-noel-Jun_27_2007-15h_52m_11s
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
Interface Stability | Uncommitted |
attributes(5)