~ubuntu-branches/ubuntu/quantal/ceph/quantal

« back to all changes in this revision

Viewing changes to src/test/cli/ceph/help.t

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2012-08-27 08:23:21 UTC
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: package-import@ubuntu.com-20120827082321-2cfej6ddvk63vsqq
Tags: upstream-0.48.1
ImportĀ upstreamĀ versionĀ 0.48.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# TODO help should not fail
2
2
  $ ceph --help
3
 
  usage: ceph [options] [commands]
 
3
  usage:
 
4
   ceph [options] [command]
 
5
   ceph -s     cluster status summary
 
6
   ceph -w     running cluster summary and events
 
7
  
4
8
  If no commands are specified, enter interactive mode.
5
 
  Commands:
6
 
     (osd|pg|mds) stat -- get monitor subsystem status
7
 
     ...
8
 
  Options:
9
 
     -i infile
10
 
     -o outfile
11
 
          specify input or output file (for certain commands)
12
 
     -s or --status
13
 
          print current system status
14
 
     -w or --watch
15
 
          watch system status changes in real time (push)
16
 
  --conf/-c        Read configuration from the given configuration file
17
 
  -d               Run in foreground, log to stderr.
18
 
  -f               Run in foreground, log to usual location.
19
 
  --id/-i          set ID portion of my name
20
 
  --name/-n        set name (TYPE.ID)
21
 
  --version        show version and quit
 
9
  
 
10
  CLUSTER COMMANDS
 
11
    ceph health [detail]
 
12
    ceph quorum_status
 
13
    ceph -m <mon-ip-or-host> mon_status
 
14
  
 
15
  AUTHENTICATION (AUTH) COMMANDS
 
16
    ceph auth get-or-create[-key] <name> [capsys1 capval1 [...]]
 
17
    ceph auth del <name>
 
18
    ceph auth list
 
19
  
 
20
  METADATA SERVER (MDS) COMMANDS
 
21
    ceph mds stat
 
22
    ceph mds tell <mds-id or *> injectargs '--<switch> <value> [--<switch> <value>...]'
 
23
  
 
24
  MONITOR (MON) COMMANDS
 
25
    ceph mon add <name> <ip>[:<port>]
 
26
    ceph mon delete <name>
 
27
    ceph mon stat
 
28
    ceph mon tell <mon-id or *> injectargs '--<switch> <value> [--<switch> <value>...]'
 
29
  
 
30
  OBJECT STORAGE DEVICE (OSD) COMMANDS
 
31
    ceph osd dump [--format=json]
 
32
    ceph osd tree
 
33
    ceph osd down <osd-id>
 
34
    ceph osd in <osd-id>
 
35
    ceph osd out <osd-id>
 
36
    ceph osd set <noout|noin|nodown|noup>
 
37
    ceph osd unset <noout|noin|nodown|noup>
 
38
    ceph osd pause
 
39
    ceph osd unpause
 
40
    ceph osd tell <osd-id or *> injectargs '--<switch> <value> [--<switch> <value>...]'
 
41
    ceph osd getcrushmap -o <file>
 
42
    ceph osd getmap -o <file>
 
43
    ceph osd crush set <osd-id> <name> <weight> [<loc1> [<loc2> ...]]
 
44
    ceph osd crush move <bucketname> <loc1> [<loc2> ...]
 
45
    ceph osd crush reweight <name> <weight>
 
46
    ceph osd create [<osd-id>]
 
47
    ceph osd rm <osd-id> [<osd-id>...]
 
48
    ceph osd lost [--yes-i-really-mean-it]
 
49
    ceph osd reweight <osd-id> <weight>
 
50
    ceph osd blacklist add <address>[:source_port] [time]
 
51
    ceph osd blacklist rm <address>[:source_port]
 
52
    ceph osd pool mksnap <pool> <snapname>
 
53
    ceph osd pool rmsnap <pool> <snapname>
 
54
    ceph osd pool create <pool> [<pg_num> [<pgp_num>]]
 
55
    ceph osd pool delete <pool>
 
56
    ceph osd pool rename <pool> <new pool name>
 
57
    ceph osd pool set <pool> <field> <value>
 
58
    ceph osd scrub <osd-id>
 
59
    ceph osd repair <osd-id>
 
60
    ceph osd tell N bench [bytes per write] [total bytes]
 
61
  
 
62
  PLACEMENT GROUP (PG) COMMANDS
 
63
    ceph pg dump
 
64
    ceph pg <pg-id> query
 
65
    ceph pg scrub <pg-id>
 
66
    ceph pg map <pg-id>
 
67
  
 
68
  OPTIONS
 
69
    -o <file>        Write out to <file>
 
70
    -i <file>        Read input from <file> (for some commands)
 
71
    --conf/-c        Read configuration from the given configuration file
 
72
    -d               Run in foreground, log to stderr.
 
73
    -f               Run in foreground, log to usual location.
 
74
    --id/-i          set ID portion of my name
 
75
    --name/-n        set name (TYPE.ID)
 
76
    --version        show version and quit
22
77
  
23
78
  [1]