Skip to content

Commit 31373b8

Browse files
Merge branch 'performancecopilot:main' into stefan/update-pcp2opentelemetry-to-send-pmid
2 parents 1f4f53c + 02d9b5a commit 31373b8

File tree

8 files changed

+2159
-682
lines changed

8 files changed

+2159
-682
lines changed

qa/1997

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ pcp $archive_first nfsiostat
3030
echo && echo pcp-nfsiostat output : Display output when given specified number of samples
3131
pcp $archive_first nfsiostat -s 3
3232

33+
echo && echo pcp-nfsiostat output : Display output when given specified number of sample with specified sampling interval
34+
pcp $archive_first nfsiostat -t 5 -s 4
35+
3336
status=0
3437
exit
3538

qa/1997.out

Lines changed: 1866 additions & 496 deletions
Large diffs are not rendered by default.

qa/archives/mk.nfsiostat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ End-of-File
4646

4747
rm -f pcp-nfsiostat.*
4848

49-
if pmlogger -T 60sec -t 10sec -c $tmp.config pcp-nfsiostat; then
49+
if pmlogger -T 120sec -t 10sec -c $tmp.config pcp-nfsiostat; then
5050
xz pcp-nfsiostat.0
5151
xz pcp-nfsiostat.index
5252
xz pcp-nfsiostat.meta

qa/archives/pcp-nfsiostat.0.xz

68 Bytes
Binary file not shown.

qa/archives/pcp-nfsiostat.index.xz

4 Bytes
Binary file not shown.

qa/archives/pcp-nfsiostat.meta.xz

-12 Bytes
Binary file not shown.

src/pcp/nfsiostat/pcp-nfsiostat.1

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
\f3pcp-nfsiostat\f1 \- Emulate iostat for NFS mount points using /proc/self/mountstats
2323

2424
.SH SYNOPSIS
25-
\fBpcp\fP [\fBpcp options\fP] \fBnfsiostat\fP [\fB-s\fP \fBsamples\fP] [\fB-a\fP \fBarchive\fP] [\fB-Z\fP \fB--timezone\fP] [\fB-z\fP \fB--hostzone\fP] [\fB-V\fP \fBVersion\fP]
25+
\fBpcp\fP [\fBpcp options\fP] \fBnfsiostat\fP [\fB-a\fP \fBarchive\fP] [\fB-S\fP \fBstart\fP] [\fB-T\fP \fBfinish\fP] [\fB-O\fP \fBorigin\fP] [\fB-s\fP \fBsamples\fP] [\fB-t\fP \fBinterval\fP] [\fB-Z\fP \fB--timezone\fP] [\fB-h\fP \fB--host\fP] [\fB-z\fP \fB--hostzone\fP] [\fB-V\fP \fBVersion\fP]
2626

2727
.SH DESCRIPTION
28-
The\fB pcp-nfsiostat \fPcommand reports client-side\fB Network File System (NFS) \fPI/O statistics for each mounted NFS filesystem. For every NFS mountpoint, the output consists of a summary section followed by detailed read and write statistics blocks. These statistics include operation rates, data throughput, latency, retransmissions, queueing delays, and error counts. By default,\fB pcp-nfsiostat \fPmonitors NFS mountpoints on the local host and reports live metrics collected via the \fB PCP NFS PMDA\fP. When an archive is specified, historical metrics are reported instead.
28+
The\fB pcp-nfsiostat \fPcommand reports client-side\fB Network File System (NFS) \fPI/O statistics for each mounted NFS filesystem. For every NFS mountpoint, the output consists of a summary section followed by detailed read and write statistics blocks. These statistics include operation rates, data throughput, latency, retransmissions, queueing delays, and error counts. By default,\fB pcp-nfsiostat \fPmonitors NFS mountpoints on the local host and reports live metrics collected via the \fB PCP NFS PMDA\fP , or from an alternative host if specified. When an archive is specified, historical metrics are reported instead.
2929

3030
.SH OUTPUT FORMAT
3131
Statistics are reported per mounted NFS filesystem using the following layout:
@@ -82,19 +82,39 @@ Number of failed operations and failure percentage.
8282

8383
.SH OPTIONS
8484
.TP
85-
.BR \-a ", " \-\-archive " " I archive
85+
.BR \-a ", " \-\-archive " " \fI archive\fR
8686
Fetch NFS I/O statistics from the specified PCP archive.
8787

8888
.TP
89-
.BR \-s ", " \-\-samples " " I samples
89+
.BR \-s ", " \-\-samples " " \fI samples\fR
9090
Number of samples to collect before exiting.
9191

92+
.TP
93+
.BR \-t ", " \-\-interval " " \fI interval\fR
94+
Set the interval between two samples. The default is one second.
95+
96+
.TP
97+
.BR \-S ", " \-\-start " " \fI start\fR
98+
Set the start of the time window when replaying an archive.
99+
100+
.TP
101+
.BR \-T ", " \-\-finish " " \fI finish\fR
102+
Set the end of the time window when replaying an archive.
103+
104+
.TP
105+
.BR \-O ", " \-\-origin " " \fI origin\fR
106+
Set the initial sample time within the time window when replaying an archive.
107+
108+
.TP
109+
.BR \-h ", " \-\-host " " \fI host\fR
110+
Fetch NFS I/O statistics from the specified host.
111+
92112
.TP
93113
.BR \-z ", " \-\-hostzone
94114
Set the reporting timezone to the local timezone of the metrics source.
95115

96116
.TP
97-
.BR \-Z ", " \-\-timezone " " I tz
117+
.BR \-Z ", " \-\-timezone " " \fI tz\fR
98118
Set the reporting timezone.
99119

100120
.TP

0 commit comments

Comments
 (0)