From: Rong Tao Date: Mon, 20 Jun 2022 01:34:05 +0000 (+0800) Subject: Remove whitespace characters at the end of a line X-Git-Tag: v12.7.1~41^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b104746309a0605ca0b08e6c5919c76698447984;p=sysstat Remove whitespace characters at the end of a line --- diff --git a/README.md b/README.md index 051da57..390e3cf 100644 --- a/README.md +++ b/README.md @@ -146,7 +146,7 @@ can enter the following option to activate data collecting (either using cron or $ ./configure --enable-install-cron ``` -Enter `./configure --help` to display all possible options. +Enter `./configure --help` to display all possible options. Note: There is another way to configure sysstat instead of entering `./configure`: This is the **Interactive Configuration script** (_iconfig_) which will ask you for the value of the main sysstat variables and parameters. diff --git a/configure.in b/configure.in index c17a5eb..d677480 100644 --- a/configure.in +++ b/configure.in @@ -379,7 +379,7 @@ else fi AC_MSG_RESULT($SA_DIR) if test ! -d $SA_DIR; then - echo "INFO: Directory ${SA_DIR} will be created during installation stage." + echo "INFO: Directory ${SA_DIR} will be created during installation stage." fi AC_SUBST(SA_DIR) @@ -404,7 +404,7 @@ else fi AC_MSG_RESULT($SYSCONFIG_DIR) if test ! -d $SYSCONFIG_DIR; then - echo "INFO: Directory ${SYSCONFIG_DIR} will be created during installation stage." + echo "INFO: Directory ${SYSCONFIG_DIR} will be created during installation stage." fi AC_SUBST(SYSCONFIG_DIR) @@ -436,15 +436,15 @@ AC_MSG_RESULT($AUX_NLS) AC_CHECK_LIB(intl, gettext, LFINTL="-lintl") AC_SUBST(LFINTL) LACKING_GETTEXT="n" -if test $AUX_NLS = "yes" && test x$MSGFMT != x"msgfmt"; then +if test $AUX_NLS = "yes" && test x$MSGFMT != x"msgfmt"; then echo "WARNING: msgfmt command not found!" LACKING_GETTEXT="y" fi -if test $AUX_NLS = "yes" && test x$XGETTEXT != x"xgettext"; then +if test $AUX_NLS = "yes" && test x$XGETTEXT != x"xgettext"; then echo "WARNING: xgettext command not found!" LACKING_GETTEXT="y" fi -if test $AUX_NLS = "yes" && test x$MSGMERGE != x"msgmerge"; then +if test $AUX_NLS = "yes" && test x$MSGMERGE != x"msgmerge"; then echo "WARNING: msgmerge command not found!" LACKING_GETTEXT="y" fi @@ -475,7 +475,7 @@ AC_SUBST(LTO) # Data history to keep by sa2 AC_MSG_CHECKING(number of daily data files to keep) -AC_ARG_VAR([history],[number of daily data files to keep (default value is 7)]) +AC_ARG_VAR([history],[number of daily data files to keep (default value is 7)]) if test x$history = x""; then HISTORY=7 else @@ -521,9 +521,9 @@ if test x$man_group = x""; then AC_MSG_RESULT($MAN_GROUP) else grep ^$man_group: /etc/group >/dev/null 2>&1 - if test $? = 1; then + if test $? = 1; then MAN_GROUP=$GRP - AC_MSG_RESULT($MAN_GROUP) + AC_MSG_RESULT($MAN_GROUP) echo "WARNING: Group ${man_group} not found: Using ${GRP} instead" else MAN_GROUP=$man_group @@ -579,14 +579,14 @@ AC_SUBST(CLEAN_SA_DIR) # Start crontab AC_MSG_CHECKING(whether cron should start sar automatically) -AC_ARG_ENABLE(install-cron, +AC_ARG_ENABLE(install-cron, AC_HELP_STRING([--enable-install-cron], [install a crontab to start sar]), INSTALL_CRON=$enableval,INSTALL_CRON=n) if test $INSTALL_CRON != "yes"; then INSTALL_CRON=n AUX_CRON=no -else +else INSTALL_CRON=y AUX_CRON=yes fi @@ -595,7 +595,7 @@ AC_SUBST(INSTALL_CRON) # Crontab owner CUSR="root" -if test $INSTALL_CRON = "y"; then +if test $INSTALL_CRON = "y"; then AC_MSG_CHECKING(crontab owner) AC_ARG_VAR([cron_owner],[crontab owner]) if test x$cron_owner = x""; then @@ -607,17 +607,17 @@ if test $INSTALL_CRON = "y"; then CRON_OWNER=$CUSR; AC_MSG_RESULT($CRON_OWNER) echo "WARNING: User ${cron_owner} not found: Using ${CUSR} instead." - else + else CRON_OWNER=$cron_owner AC_MSG_RESULT($CRON_OWNER) fi fi echo "INFO: Crontab for ${CRON_OWNER} will be saved in current directory if necessary" - if test $CRON_OWNER = "root"; then + if test $CRON_OWNER = "root"; then SU_C_OWNER="" QUOTE="" REM_CHOWN="# REM_CHOWN" - else + else SU_C_OWNER="su $CRON_OWNER -c " QUOTE=\" # " (ignore this line) @@ -653,14 +653,14 @@ if test $INSTALL_CRON = "y"; then # Check whether sadc should collect all possible activities AC_MSG_CHECKING(whether sadc should collect all possible activities) - AC_ARG_ENABLE(collect-all, + AC_ARG_ENABLE(collect-all, AC_HELP_STRING([--enable-collect-all], [collect all possible activities]), COLLECT_ALL=$enableval,COLLECT_ALL=n) if test $COLLECT_ALL != "yes"; then COLLECT_ALL="" AUX_COLL=no - else + else COLLECT_ALL="-S XALL" AUX_COLL=yes fi @@ -731,7 +731,7 @@ AC_SUBST(mandir) # Check whether debug mode should be activated AC_MSG_CHECKING(whether debug mode should be activated) -AC_ARG_ENABLE(debuginfo, +AC_ARG_ENABLE(debuginfo, AC_HELP_STRING([--enable-debuginfo], [enable debug output (--debuginfo option)]), WITH_DEBUG=yes ; DFLAGS="$DFLAGS -DDEBUG" , WITH_DEBUG=no) diff --git a/contrib/isag/isag b/contrib/isag/isag index 30b6d1a..79ac4a4 100755 --- a/contrib/isag/isag +++ b/contrib/isag/isag @@ -398,7 +398,7 @@ set sag_latest_file "" # sar switches as names for object-instances (final and current) set prog_swtch [list b B q r R S u v w W] -# maximal and current values for each graph indexed by sar switch i.e. for cpu +# maximal and current values for each graph indexed by sar switch i.e. for cpu # is index u not -u foreach l $prog_swtch { diff --git a/contrib/isag/isag.1 b/contrib/isag/isag.1 index 8d4c199..11feb44 100644 --- a/contrib/isag/isag.1 +++ b/contrib/isag/isag.1 @@ -162,16 +162,16 @@ Specify the pathname where are located the daily data files. Default path is: \fI/var/log/sa\fR .Ip "\-c config_file" 4 .IX Item "-c config_file" -Specify the configuration file used by the \fIisag\fR command. +Specify the configuration file used by the \fIisag\fR command. The contents of this file may depend on \fIisag\fR version number. Default config file is: \fI$HOME/.isag.cfg\fR. .Ip "\-ght gr_height" 4 .IX Item "-ght gr_height" -Specify the height of the chart area. +Specify the height of the chart area. Default value is: \fI400\fR. .Ip "\-gwd gr_width" 4 .IX Item "-gwd gr_width" -Specify the width of the chart area. +Specify the width of the chart area. Default value is: \fI720\fR. .SH "CONFIG FILE" .IX Header "CONFIG FILE" diff --git a/man/sadf.in b/man/sadf.in index 79f997a..0335311 100644 --- a/man/sadf.in +++ b/man/sadf.in @@ -34,7 +34,7 @@ file. This file must have been created by a version of uses the standard system activity daily data file. It is also possible to enter .BR "-1" ", " "-2 " "etc. as an argument to " "sadf" -to display data of that days ago. For example, +to display data of that days ago. For example, .B -1 will point at the standard system activity file of yesterday. .PP diff --git a/man/sar.in b/man/sar.in index d979542..eec9912 100644 --- a/man/sar.in +++ b/man/sar.in @@ -1591,7 +1591,7 @@ is not indicative of any kind of issue simply because of the color. It only indi ranges of values. .TP .B S_COLORS_SGR -Specify the colors and other attributes used to display statistics on the terminal. +Specify the colors and other attributes used to display statistics on the terminal. Its value is a colon-separated list of capabilities that defaults to .BR "C=33;22:H=31;1:I=32;22:M=35;1:N=34;1:R=31;22:Z=34;22" "." Supported capabilities are: diff --git a/man/tapestat.1 b/man/tapestat.1 index 7ee64b1..b7be29c 100644 --- a/man/tapestat.1 +++ b/man/tapestat.1 @@ -34,7 +34,7 @@ The .B tapestat report provides statistics for each tape drive connected to the system. The following data are displayed: -.IP r/s +.IP r/s The number of reads issued expressed as the number per second averaged over the interval. .IP w/s The number of writes issued expressed as the number per second averaged over the interval. @@ -107,7 +107,7 @@ It is possible for a percentage value (read, write, or other) to be greater than command will never show a percentage value more than 999). If rewinding a tape takes 40 seconds where the interval time is 5 seconds the %Oa value would show as 0 in the intervals before the rewind completed and then show as approximately -800 percent when the rewind completes. +800 percent when the rewind completes. Similar values will be observed for %Rd and %Wr if a tape drive stops reading or writing and then restarts (that is it stopped streaming). In such a case you may see the r/s or w/s drop to zero and the %Rd/%Wr value could be higher than 100 when reading or writing continues diff --git a/nls/README-nls b/nls/README-nls index cbfb242..fa5e929 100644 --- a/nls/README-nls +++ b/nls/README-nls @@ -36,7 +36,7 @@ If you use the (Tab) C shell, you would have entered: Here is a complete example with iostat: $ export LANG=en_US -$ iostat -V +$ iostat -V sysstat version 5.1.4 (C) Sebastien Godard Usage: iostat [ options... ] [ [ ] ] diff --git a/nls/da.po b/nls/da.po index 5aa2dd8..a8f2e74 100644 --- a/nls/da.po +++ b/nls/da.po @@ -267,7 +267,7 @@ msgstr "" "\t\tStatistik for afbrydelser [A_IRQ]\n" # clock ? tog fra KDE ksysguard (klok) -# øjeblikkelig klokfrekvens / "CPU-klokfrevens lige nu:"/"CPUens +# øjeblikkelig klokfrekvens / "CPU-klokfrevens lige nu:"/"CPUens # klokfrekvens lige nu # spændingsinddata eller spændingsindgange. #: sar.c:155 diff --git a/svg_stats.c b/svg_stats.c index 94f6662..403f084 100644 --- a/svg_stats.c +++ b/svg_stats.c @@ -174,7 +174,7 @@ void save_extrema(unsigned int types_nr[], void *cs, void *ps, unsigned long lon *************************************************************************** * Find the min and max values of all the graphs that will be drawn in the * same view. The graphs have their own min and max values in - * spmin[pos...pos+n-1] and spmax[pos...pos+n-1]. + * spmin[pos...pos+n-1] and spmax[pos...pos+n-1]. * * IN: * @pos Position in array for the first graph extrema value. diff --git a/sysstat.ioconf b/sysstat.ioconf index eefe875..0559038 100644 --- a/sysstat.ioconf +++ b/sysstat.ioconf @@ -66,7 +66,7 @@ #4:0:0:NODEV #5:0:0:NODEV #6:0:0:NODEV -7:loop:*:0:d:256:*:1:Loop Devices +7:loop:*:0:d:256:*:1:Loop Devices 8:sd:*:0:a:16:*:16:SCSI - Controller %d 65:8:1: diff --git a/tapestat.h b/tapestat.h index b611910..9e41102 100644 --- a/tapestat.h +++ b/tapestat.h @@ -1,7 +1,7 @@ /* * tapestat: report tape statistics * (C) 2015 Hewlett-Packard Development Company, L.P. - * + * * Initial revision by Shane M. SEYMOUR (shane.seymour hpe.com) * Modified for sysstat by Sebastien GODARD (sysstat orange.fr) */