I need help. I have Linux box (openSUSE 11.4); writing Perl script (Perl 5, version 12).
My script should SSH to the remote Linux machine and get back with the memory results.
So far, I have SSH working with DSA private key for passwordless connection.
Now I'm stuck with getting memory.
I tried to use Filesys::DiskSpace module, but I have some trouble while installing this module. Guess it will not work.
Any help will be appreciated!
Thanks in advance!
Best Answer
Why bring perl into the mix? This is just a single-line deal: