This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
# | |
# This script is managed by puppet. | |
# | |
# This check determines if the Hadoop Namenode fsimage file is older | |
# than the edits file by some threshold. If the fsimage is older than | |
# the edits by some significant value, this is a sign that the secondary | |
# namenode may not be properly working because it's not able to produce | |
# the merged edits+fsimage file that gets sent back to the namenode. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
our $current_desk; | |
our @desks; | |
my $wmctrl = "/usr/bin/wmctrl"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
my $debug = 1; | |
my $wmctrl = '/usr/bin/wmctrl'; | |
my $window_name = shift; |
NewerOlder