my $sleep_time : shared = 600; #- 10 minutes
my $ExitCode : shared = -1; #- used to stop threads
+our $lustre_dir = "/lustre/hades";
+
our $server_port = '50502';
our $protocol = 'tcp';
$time_du = &getTime();
}
- my $line =`ls -d /lustre_alpha/hades/user`;
+ my $line =`ls -d $lustre_dir/user`;
chomp($line);
$time_ls = &getTime();
- if ($line eq "/lustre_alpha/hades/user")
+ if ($line eq "$lustre_dir/user")
{
if($opt_s){
$status = "OK - Lustre space used: $lustre_size TB";
#--- get total size of lustre beam dir
my $totsize = 0;
- my @size = `du -cms /lustre_alpha/hades`;
+ my @size = `du -cms $lustre_dir`;
foreach my $line (@size){
if( $line =~ /total/ ){