in reply to Like du, df, uptime

Another choice is to install cygwin on a Windows system, to get a Linux-like environment, with bash, du, df, Perl, ssh, easy access to CPAN, & many other tools.

Installation & configuration can be time-consuming, but you have much more than a Swiss Army knife: you have a good-sized, multiple-drawer toolbox filled with tools that you already know how to use (if you have a Linux background).

I find Cygwin very useful for machines that I control. If your goal is to build Perl code that will run on various machines that are outside your control, installing Cygwin on them might be difficult or impossible.

See these search results for other nodes on PerlMonks about cygwin, to get a feel for problems and solutions.

Replies are listed 'Best First'.
Re^2: Like du, df, uptime
by saintex (Scribe) on Mar 01, 2010 at 22:18 UTC

    So, for df I can use Perl buin-in utilities, like: http://www.perlmonks.org/?node_id=446142

    for du I can use cpan: http://search.cpan.org/~cwest/ppt-0.14/bin/du

    but I don't know exactly what I can use in order to have load average in a Windows System...

    Nix utilities for windows don't have an uptime tool with load average on 1,5, 15 minutes... but they have top command.

    Uptime for windows: http://download.microsoft.com/download/winntsrv40/install/uptime_1.01/nt4/en-us/uptime.exe it has only the time the system is up...

    Any idea to have load average on windows in unix-like environemt?

    thank you!