.\" Process this file with .\" groff -man -Tascii rozodiag.8 .\" .TH ROZODIAG 8 "FEBRUARY 2015" RozoFS "User Manuals" .SH NAME rozodiag \- RozoFS diagnostic tool .SH SYNOPSIS .B rozodiag TARGET... [ OPTIONS ] .B .SH DESCRIPTION .B rozodiag is the diagnostic interface to the RozoFS processes. .SH TARGET .P Several diagnostic targets can be specified. .P .RS .B TARGET = [ -i ] { -p | -T } .RE .P Each target names one or several node (-i) and their numeric (-p) or logical (-T) diagnostic ports. can be a hostname or an IP address or a range or a list of hostnames or IP addresses. When the is omitted in a TARGET, it takes the value of the previous TARGET. When no previous target, local address 127.0.0.1 is used as . At least one -p or -T option must be set. .P .RS .B = { | } .RE .RS .B = { | :-

| :,..,

} .RE .RS .B = { ... | ...:-

| ...:,..,

} .RE .P The numeric port is either one single numeric value or a list of numeric values or a range of numeric values. .P .RS .B = { | ,.., | - } .RE .P The logical port is a logical naming of the destination process diagnostic port. .P .RS .B = { .RE .RS .B | export | export:0 (master exportd) .RE .RS .B | export: (a slave exportd) .RE .RS .B | export:,.., (a list of slave exportd) .RE .RS .B | export:- (a range of slave exportd) .RE .RS .B | storaged | storio:0 (a storaged) .RE .RS .B | storio: (the storio of cluster ) .RE .RS .B | storio:,..., (storios of a list of cluster) .RE .RS .B | storio:- (storios of a range of cluster) .RE .RS .B | mount: | mount::0 (a rozofsmount instance) .RE .RS .B | mount:,.., (a list of rozofsmount instances) .RE .RS .B | mount:- (a range of rozofsmount instances) .RE .RS .B | mount:: (instance of storcli of rozofsmount instance ) .RE .RS .B | mount::,... (a list of instances of storcli of rozofsmount instance ) .RE .RS .B | mount::- (a range of instances of storcli of rozofsmount instance ) .RE .RS .B | rebalancer[:] (rebalancer) .RE .RS .B } .RE .SH OPTIONS .IP "-h, --help" .RS Print help. .RE .IP "-c cmdline" .RS .I cmdline is the optional diagnostic command line. Several -c options can be set in order to run several diagnostic commands in a run. When neither -c nor -f is set in the command, the rozodiag tools connects to the target in interactive mode. .RE .IP "-f cmdfile" .RS .I cmdfile is a file containing a diagnostic command per file line that the rozodiag tool will run. When neither -c nor -f is set in the command, the rozodiag tools connects to the target in interactive mode. .RE .IP "-period seconds" .RS .I seconds gives the periodicity in seconds to run the diagnostic commands given either through the -c or the -f option. .SH EXAMPLES .P Interrogating procedure statistics of export slave 1 on node 192.168.2.1 .RS rozodiag -i 192.168.2.21 -T export:1 -c profiler .RE .P Getting disk statuses from the storaged of 4 nodes .RS rozodiag -i 192.168.2.:21-24 -T storaged -c dstatus .RE .P Getting periodicaly storios throughput for the 6 clusters of one node .RS rozodiag -i 192.168.2.21 -T storio:1-6 -c throughput -period 30 .RE .P Getting the uptime of rozofsmount instance 2 and its 4 STORCLIs on 2 nodes .RS rozodiag -i 192.168.2.:21,23 -T mount:2:0-4 -c uptime .RE .\".SH ENVIRONMENT .\".SH DIAGNOSTICS .SH "REPORTING BUGS" Report bugs to . .SH COPYRIGHT Copyright (c) 2013 Fizians SAS. RozoFS is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2. RozoFS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . .SH AUTHOR Fizians .SH "SEE ALSO" .BR rozofs (7),