LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Weird beeps (https://www.linuxquestions.org/questions/programming-9/weird-beeps-423600/)

DanTaylor 03-10-2006 02:40 PM

Weird beeps
 
I am working on a perl program to monitor what files are being created and deleted on a computer. It is a very long running program(about 3 hrs) and about 1.5 hrs into it, it the system speaker starts beeping. It takes all of my ram to run it(i have very little) and I am wondering whether it has to do with this. The only code I can think of that would do it looks like this:
Code:

for (@n_files) { #foreach files just pulled off hd
      $new = $_;
              for (@old_files) {
                  $old = $_;
                  if ($new eq $old) {
                    print "$new:$old match found\n";
                    $old_files[$old] = undef;
                    $n_filesp[$old] = undef;
                    $part++ #for percent complete
                    $match = 'yes';
                    }else{
                        system("clear"); #maybe the issue
                        print ($part/$whole)*100;
              }
        }
    if  ($match ne 'yes') {
        print "New File: $new\n";
        <STDIN>;
    }else{
        $match = undef;
      }
}


paulsm4 03-10-2006 02:57 PM

Maybe the real problem is your motherboard.

Please look here and see if you can find a match for your motherboard mfg/model:
http://pcsupport.about.com/cs/mother.../beepcodes.htm
http://www.pchell.com/hardware/beepcodes.shtml
<= "PC-Hell beepcodes" cross-references a several different kinds of BIOS's/Mobo's

DanTaylor 03-11-2006 01:24 AM

Quote:

1 short - DRAM refresh failure - The programmable interrupt timer or programmable interrupt controller has probably failed.
That is the only beep code that would match mine, What does this mean, and why would it happen?


All times are GMT -5. The time now is 12:02 PM.