1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00

Whitespace cleanup

* remove trailing whitespace
* remove empty lines at the end of files
This commit is contained in:
Lars Kruse 2018-08-02 02:03:42 +02:00
parent ef851f0c34
commit 17f784270a
604 changed files with 2927 additions and 2945 deletions

View file

@ -112,7 +112,7 @@ config_bea_jdk()
echo 'Young_Pause.min 0'
echo 'Old_Pause.label Old_GC Pause'
echo 'Old_Pause.min 0'
}
print_sun_stats()
@ -126,7 +126,7 @@ ${JAVA_HOME}/bin/jstat -gc ${PidNum} | tail -1 | awk \
EC = $5; \
EU = $6; \
OC = $7; \
OU = $8;
OU = $8; \
PC = $9; \
PU = $10; \
YGC = $11; \

View file

@ -117,7 +117,7 @@ config_sun_jdk()
config_bea_jdk()
{
config_common
echo "NurserySize.label NurserySize"
echo "HeapSize.label HeapSize"
echo "UsedHeapSize.label UsedHeapSize"
@ -137,7 +137,7 @@ ${JAVA_HOME}/bin/jstat -gc ${PidNum} | tail -1 | awk \
EC = $5; \
EU = $6; \
OC = $7; \
OU = $8;
OU = $8; \
PC = $9; \
PU = $10; \
\

View file

@ -19,12 +19,12 @@
# env.graphtitle (default: "Sun Java")
# You need to configure your Sun JVM with these options:
# -verbose:gc
# -verbose:gc
# -Xloggc:/var/log/app/jvm/gc.log
# -XX:+PrintGCTimeStamps
# -XX:+PrintGCDetails
# History:
# History:
# This plugin was developed by various people over some time - no logs
# of this has been found. - In 2006 significant contributions was
@ -47,7 +47,7 @@ my $title = "$grtitle memory usage";
my $info = "Write som info about this graph...";
sub analyze_record {
# Match all interesting elements of a record and insert them
# Match all interesting elements of a record and insert them
# into a hash
my $record = shift;
@ -145,7 +145,7 @@ while (<FILE>) {
($now,undef) = split(/:/,$_,2);
$now = $lastnow unless $now;
}
if (/.+Tenured.+/) {
$record = $_;
} elsif (/^:.+/) {

View file

@ -19,12 +19,12 @@
# env.grname (default: "sun-jvm". Used for state file-name)
# You need to configure your Sun JVM with these options:
# -verbose:gc
# -verbose:gc
# -Xloggc:/var/log/app/jvm/gc.log
# -XX:+PrintGCTimeStamps
# -XX:+PrintGCDetails
# History:
# History:
# This plugin was developed by various people over some time - no logs
# of this has been found. - In 2006 significant contributions was
@ -94,7 +94,7 @@ open (OUT, ">$statefile") or die "Could not open $statefile for reading: $!\n";
print OUT "$pos:$count:$timespent\n";
close OUT;
sub parseFile {
sub parseFile {
my ($fname, $start, $count, $timespent) = @_;
my @secs;

View file

@ -17,12 +17,12 @@
# env.graphtitle (default: "Sun Java")
# You need to configure your Sun JVM with these options:
# -verbose:gc
# -verbose:gc
# -Xloggc:/var/log/app/jvm/gc.log
# -XX:+PrintGCTimeStamps
# -XX:+PrintGCDetails
# History:
# History:
# This plugin was developed by various people over some time - no logs
# of this has been found. - In 2006 significant contributions was