DOKK / manpages / debian 11 / moosefs-chunkserver / mfscsstatsdump.8.en
mfscsstatsdump(8) This is part of MooseFS mfscsstatsdump(8)

mfscsstatsdump - dump usage data from chunkserver stats file in csv or png format

mfscsstatsdump -f fields [-i stats_file] [-r range][-s separator] [-p png_filename [-x chart_width] [-y chart_height]] [-hHd]

mfscsstatsdump dumps usage data from chunkserver stats file. These are the same data sets that are used to make CGI charts. Output can be either in text format (csv) or in graphical format (png). That means -p, -x and -y options are mutually exclusive with -h, -H and -d options.

MooseFS chunkserver saves the stats file in the DATA_PATH directory - see mfschunkserver.cfg(5)

field names separated by ',' (see FIELDS section); at least one field is mandatory; if an asterisk (*) is used, all fields are dumped
name of mfs binary stats file (default: default_data_path/csstats.mfs)
range type: 0 - short range (minute) 1 - medium range (6 minutes) 2 - long range (30 minutes) 3 - very long range (day)
specify column separator (default: tabulator)
optional PNG filename (field name will be added before .png; YYYY -> YYYY_FIELD.png, YYYY.png -> YYYY_FIELD.png)
PNG chart width (default: 1600)
PNG chart height (should be divisible by 20 - if not then it will be adjusted; default:320)
"human-readable" numbers using base 2 prefixes (IEC 60027)
"human-readable" numbers using base 10 prefixes (SI)
show timestamps in YYYY-MM-DD HH:MM format

User cpu usage
System cpu usage
Total cpu usage (in csv sum of scpu and ucpu, in png shows both in different colors)
Data received from master
Data sent to master
Data received by replicator
Data sent by replicator
Data received by csserv
Data sent by csserv
Data bandwidth in (in csv sum of csrepin and csservin, in png shows both in different colors)
Data bandwidth out (in csv sum of csrepout and csservout, in png shows both in different colors)
Bytes read (headers)
Bytes written (headers)
Low level reads (headers)
Low level writes (headers)
Bytes read (data)
Bytes written (data)
Low level reads (data)
Low level writes (data)
HDD read (in csv sum of hdrbytesr and databytesr, in png shows both in different colors)
HDD write (in csv sum of hdrbytesw and databytesw, in png shows both in different colors)
HDD low level read (in csv sum of hdrllopr and datallopr, in png shows both in different colors)
HDD low level write (in csv sum of hdrllopw and datallopw, in png shows both in different colors)
High level reads
High level writes
Read time
Write time
Replicate chunk ops
Create chunk ops
Delete chunk ops
Set version ops
Duplicate ops
Truncate ops
Duptrunc (duplicate+truncate) ops
Test chunk ops
Server load
Resident memory usage
Virtual memory usage
Total memory usage (in csv is the same as memoryvirt, in png shows both memoryrss and memoryvirt using two colors)

Text output - text (csv) file where first column is a timestamp (or date if -d option was specified), the following column are what was specified with the -f options, formatted according to used options (none, -s and -h or -H)

Graphical output - one png file with a chart is created for every field specified with the -f option, according to the naming scheme declared with the -p option. Size may be adjusted with -x and -y options.

Report bugs to <bugs@moosefs.com>.

Copyright (C) 2020 Jakub Kruszona-Zawadzki, Core Technology Sp. z o.o.

This file is part of MooseFS.

MooseFS 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 (only).

MooseFS 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 MooseFS; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA or visit http://www.gnu.org/licenses/gpl-2.0.html

mfschunkserver(8), mfsstatsdump(8)

October 2020 MooseFS 3.0.115-1