Linux server2.hpierson.com 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
Apache
: 162.0.216.123 | : 216.73.216.152
28 Domain
?7.4.33
yvffpqmy
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
etc /
munin /
plugins /
[ HOME SHELL ]
Name
Size
Permission
Action
apache_accesses
4.32
KB
-rwxr-xr-x
apache_processes
5.67
KB
-rwxr-xr-x
apache_volume
4.27
KB
-rwxr-xr-x
cpu
6.59
KB
-rwxr-xr-x
df
4.27
KB
-rwxr-xr-x
df_inode
4.34
KB
-rwxr-xr-x
diskstats
34.19
KB
-rwxr-xr-x
entropy
983
B
-rwxr-xr-x
exim_mailqueue
3.19
KB
-rwxr-xr-x
exim_mailstats
5.51
KB
-rwxr-xr-x
forks
1000
B
-rwxr-xr-x
fw_packets
1.68
KB
-rwxr-xr-x
http_loadtime
2.52
KB
-rwxr-xr-x
if_err_eth0
3.03
KB
-rwxr-xr-x
if_eth0
5.71
KB
-rwxr-xr-x
interrupts
2.08
KB
-rwxr-xr-x
irqstats
4.17
KB
-rwxr-xr-x
load
2.68
KB
-rwxr-xr-x
memory
8.85
KB
-rwxr-xr-x
munin_stats
3.42
KB
-rwxr-xr-x
mysql_bytes
1.71
KB
-rwxr-xr-x
mysql_innodb
5.35
KB
-rwxr-xr-x
mysql_queries
2.5
KB
-rwxr-xr-x
mysql_slowqueries
1.49
KB
-rwxr-xr-x
mysql_threads
1.6
KB
-rwxr-xr-x
netstat
2.83
KB
-rwxr-xr-x
open_files
1.38
KB
-rwxr-xr-x
open_inodes
1.05
KB
-rwxr-xr-x
proc_pri
1.44
KB
-rwxr-xr-x
processes
11.62
KB
-rwxr-xr-x
swap
1.21
KB
-rwxr-xr-x
threads
1.05
KB
-rwxr-xr-x
uptime
853
B
-rwxr-xr-x
users
2.44
KB
-rwxr-xr-x
vmstat
1.08
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : irqstats
#!/usr/local/cpanel/3rdparty/perl/536/bin/perl -w # -*- cperl -*- =head1 NAME irqstats - Munin plugin to monitor individual interrupts on a Linux machine =head1 APPLICABLE SYSTEMS Any Linux system =head1 CONFIGURATION None needed =head1 USAGE Link this plugin to /etc/munin/plugins/ and restart the munin-node. =head1 INTERPRETATION The plugin simply shows the number of interrupts on each interrupt line. The lines are identified by the attached equipment rather than the IRQ numbers. High interrupt rates may coincide with high loads on disk, network or other I/O, this is normal. =head1 MAGIC MARKERS #%# family=auto #%# capabilities=autoconf =head1 VERSION $Id$ =head1 BUGS None known =head1 AUTHOR Unknown =head1 LICENSE GPLv2 =cut use Munin::Plugin; use strict; if (defined $ARGV[0] && $ARGV[0] eq 'autoconf') { if(-r '/proc/interrupts') { print "yes\n"; exit(0); } else { print "no\n"; exit(1); } } my $sun; $sun = 1 if (`uname -m` =~ /sparc/); my $in; my @cpus; my $cpus; if ($sun) { @cpus = grep (/^cpu\d+/, `cat /proc/stat`); $cpus = scalar @cpus; } else { open $in, '<', '/proc/interrupts' or die "Can't open /proc/interrupts: $!\n"; @cpus = split(' ', <$in>); $cpus = scalar @cpus; } my $cpu; if ($0 =~ /(?:.*\/)?irqstats_(.+)/) { $cpu = $1; if ($cpu > $#cpus) { die "Requested CPU $cpu out of bounds (0..$#cpus)\n"; } } my @irqs; sub sum (@) { my $sum = 0; $sum += $_ || 0 for @_; # Avoid complaints about empty strings return $sum; } while (my $line = <$in>) { my ($irq, $label, $type); my @data; if ($sun) { @data = split (' ', $line, $cpus + 2); } else { @data = split(' ', $line, $cpus + 3); } chomp @data; $irq = shift @data; next unless defined($irq) and length $irq; chop $irq; if ($irq =~ /^\d+$/) { # For numbered interrupts the format is set $label = pop @data; $type = pop @data; # work around "MPIC \d" on powerpc if ($type =~ "MPIC" && $label =~ s/^([12])\s+//) { $type .= " $1";; } # handle hwirq if ($label =~ /^(\d+)\s+(.+)/) { $label = $1 eq $irq ? $2 : "$2 [$1]"; } # handle level/edge $label =~ s/^(Level|Edge)\s+//; } else { # For named interrupts it's more confusing, slice and dice # to divorce data from commentary $label = join(" ",@data[$cpus..$#data]); @data = @data[0..$cpus-1]; } # Skip non-per-cpu values for per-cpu stats # This will ignore ERR: and MIS: lines on multi cpu systems # (checked on 2.6.22, 2.6.24) # next if defined($cpu) and $cpus > @data; push @irqs, { irq => $irq, label => $label, count => defined($cpu) ? $data[$cpu] : sum(@data) }; } close $in; if (defined $ARGV[0] && $ARGV[0] eq 'config') { print 'graph_title Individual interrupts', defined($cpu) ? " on CPU $cpu\n" : "\n"; print <<EOM; graph_args --base 1000 --logarithmic graph_vlabel interrupts / \${graph_period} graph_category system graph_info Shows the number of different IRQs received by the kernel. High disk or network traffic can cause a high number of interrupts (with good hardware and drivers this will be less so). Sudden high interrupt activity with no associated higher system activity is not normal. EOM print join(' ', 'graph_order', map {"i" . $_->{irq}} @irqs), "\n"; for my $irq (@irqs) { my $f = ($irq->{label} || $irq->{irq}); $f = $irq->{irq} if (length ($f) > 47); print "i", $irq->{irq}, '.label ', $f, "\n"; if ( $irq->{label} ) { print "i", $irq->{irq}, '.info Interrupt ', $irq->{irq}, ', for device(s): ', $irq->{label}, "\n" } elsif ( $irq->{irq} =~ /NMI/i ) { print "i", $irq->{irq}, ".info Nonmaskable interrupt. Either 0 or quite high. If it's normaly 0 then just one NMI will often mark some hardware failure.\n"; } elsif ( $irq->{irq} =~ /LOC/i ) { print "i", $irq->{irq}, ".info Local (pr. CPU core) APIC timer interrupt. Until 2.6.21 normaly 250 or 1000 pr second. On modern 'tickless' kernels it more or less reflects how busy the machine is.\n"; } print "i", $irq->{irq}, ".type DERIVE\n"; print "i", $irq->{irq}, ".min 0\n"; print_thresholds("i$irq->{irq}"); } } else { print "i", $_->{irq}, '.value ', $_->{count}, "\n" for @irqs; } __END__
Close