1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-22 02:51: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

@ -1,6 +1,6 @@
#!/usr/bin/env perl
# postgres_queries3: see stats on number of rows
# postgres_queries3: see stats on number of rows
# read, inserted, updated and deleted on a per table basis
#
# Author:
@ -27,10 +27,10 @@
# On debian systems install libipc-run3-perl
#
# Log info:
# 20140701 - Initial
# 20140924 -
# 20140701 - Initial
# 20140924 -
# -ignore internal pg tables
# -missing stuff in config
# -missing stuff in config
use strict;
@ -40,7 +40,7 @@ use IPC::Run3 qw( run3 );
my %values;
my $query = \<<EOF;
select
select
'sel_seq.value ' || SUM(seq_scan) || E'\n' ||
'sel_seq_rows.value ' || SUM(seq_tup_read) || E'\n' ||
'sel_idx.value ' || SUM(idx_scan) || E'\n' ||
@ -60,7 +60,7 @@ if( defined $ARGV[0] and $ARGV[0] eq "config" ){
print qq/graph_title Postgres All Queries
graph_args --base 1000 -l 0 -r
graph_vlabel Queries per \${graph_period}
graph_category db
graph_category db
graph_info Shows number of select, insert, update and delete queries
sel_seq.label s_selects
sel_seq.info Sequential selects on all tables
@ -110,7 +110,7 @@ foreach my $db (@dbs){
my($key, $value) = split(/ /, $line);
$values{$key} += $value;
}
}