summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2009-03-10 16:49:23 -0700
committerSage Weil <sage@newdream.net>2009-03-10 16:49:23 -0700
commit3214a01ed4087c987477793e5a9b2ce93cf25613 (patch)
tree051aee5d9f8ae33eb52c2dd4a96f1f8c445c2697 /man
parentebd9a942e1fff0d12b3a1d59c1bd39b357535592 (diff)
downloadceph-3214a01ed4087c987477793e5a9b2ce93cf25613.tar.gz
man: csyn, crun man pages
Diffstat (limited to 'man')
-rw-r--r--man/Makefile.am4
-rw-r--r--man/crun.825
-rw-r--r--man/csyn.875
3 files changed, 102 insertions, 2 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index 3693319bf09..bb8e7a21a07 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -1,4 +1,4 @@
AUTOMAKE_OPTIONS = gnu
-man_MANS = cosd.8 cmds.8 cmon.8 mkcephfs.8 cfuse.8
-dist_man_MANS = cosd.8 cmds.8 cmon.8 mkcephfs.8 cfuse.8 \ No newline at end of file
+man_MANS = cosd.8 cmds.8 cmon.8 mkcephfs.8 cfuse.8 csyn.8
+dist_man_MANS = cosd.8 cmds.8 cmon.8 mkcephfs.8 cfuse.8 csyn.8 \ No newline at end of file
diff --git a/man/crun.8 b/man/crun.8
new file mode 100644
index 00000000000..a031d60ad5a
--- /dev/null
+++ b/man/crun.8
@@ -0,0 +1,25 @@
+.TH CRUN 8
+.SH NAME
+crun \- restart daemon on core dump
+.SH SYNOPSIS
+.B crun
+\fIcommand ...\fP
+.SH DESCRIPTION
+.B crun
+is a simple wrapper that will restart a daemon if it exits with
+a signal indicating it crashed and possibly core dumped (that is,
+signals 3, 4, 5, 6, 8, or 11).
+.PP
+The \fIcommand\fP should run the daemon in the foreground. For
+Ceph daemons, that means the \fB-f\fP option.
+.SH OPTIONS
+None
+.SH AVAILABILITY
+.B crun
+is part of the Ceph distributed file system. Please refer to the Ceph wiki at
+http://ceph.newdream.net/wiki for more information.
+.SH SEE ALSO
+.BR ceph (8),
+.BR cmon (8),
+.BR cmds (8),
+.BR cosd (8)
diff --git a/man/csyn.8 b/man/csyn.8
new file mode 100644
index 00000000000..5bcd6d18269
--- /dev/null
+++ b/man/csyn.8
@@ -0,0 +1,75 @@
+.TH CSYN 8
+.SH NAME
+csyn \- ceph synthetic workload generator
+.SH SYNOPSIS
+.B csyn
+[ \fB\-m monaddr:port\fP ]
+\fB--syn\fI command ...\fP
+.SH DESCRIPTION
+.B csyn
+is a simple synthetic workload generator for the Ceph distributed file system.
+It uses the userspace client library to generate simple workloads against
+a currently running file system. The file system need not be mounted via
+.BR cfuse (8)
+or the kernel client.
+.PP
+One or more \fB--syn\fI command\fR arguments specify the particular workload,
+as documented below.
+.SH OPTIONS
+.TP
+\fB\-d\fP
+Detach from console and daemonize after startup.
+.TP
+\fB\-c\fI ceph.conf\fR, \fB\-\-conf=\fIceph.conf\fR
+Use \fIceph.conf\fP configuration file instead of the default \fI/etc/ceph/ceph.conf\fP
+for runtime configuration options.
+.TP
+\fB\-C\fI cluster.conf\fR, \fB\-\-cluster-conf=\fIcluster.conf\fR
+Use \fIcluster.conf\fP cluster configuration file instead of the default \fI/etc/ceph/cluster.conf\fP
+to determine monitor addresses during startup.
+.TP
+\fB\-m\fI monaddress[:port]\fR
+Connect to specified monitor (instead of looking through \fIcluster.conf\fR).
+.TP
+\fB\-\-num_client\fI num\fR
+Run \fInum\fR different clients, each in a separate thread.
+.TP
+\fB\-\-syn\fI workloadspec\fR
+Run the given workload. May be specified as many times as needed. Workloads will
+normally run sequentially.
+.SH WORKLOADS
+Each workload should be preceeded by \fB--syn\fP on the command line. This is not a
+complete list.
+.TP
+\fBmknap\fI path snapname\fP
+Create a snapshot called \fIsnapname\fP on \fIpath\fP.
+.TP
+\fBrmsnap\fI path snapname\fP
+Delete snapshot called \fIsnapname\fP on \fIpath\fP.
+.TP
+\fBrmfile\fI path\fP
+Delete/unlink \fIpath\fP.
+.TP
+\fBwritefile\fI sizeinmb blocksize\fP
+Create a file, named after our client id, that is \fIsizeinmb\fP MB by writing \fIblocksize\fP chunks.
+.TP
+\fBreadfile\fI sizeinmb blocksize\fP
+Read file, named after our client id, that is \fIsizeinmb\fP MB by writing \fIblocksize\fP chunks.
+.TP
+\fBrw\fI sizeinmb blocksize\fP
+Write file, then read it back, as above.
+.TP
+\fBmakedirs\fI numsubdirs numfiles depth\fP
+Create a hierarchy of directories that is \fIdepth\fP levels deep. Give each
+directory \fInumsubdirs\fP subdirectories and \fInumfiles\fP files.
+.TP
+\fBwalk\fP
+Recursively walk the file system (like \fBfind\fP).
+
+.SH AVAILABILITY
+.B csyn
+is part of the Ceph distributed file system. Please refer to the Ceph wiki at
+http://ceph.newdream.net/wiki for more information.
+.SH SEE ALSO
+.BR ceph (8),
+.BR cfuse (8)