Hello! Who knows how on perl to find out the amount of RAM for both linux and Windows?

    1 answer 1

    If you think that Perl is such a magic thing that can do anything, then nothing :) Look in the direction of your OS. Under Linux, for example, it is well within the task of parsing the output of cat /proc/meminfo . But this is so primitively done in Perl, that there is nothing to discuss especially :)

    PS However, for those who are banned in Google, there is, for example, CPAN .