Serguei Trouchelle > Win32-Uptime > Win32::Uptime

Download:
Win32-Uptime-1.02.zip

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 1.02   Source  

NAME ^

Win32::Uptime - Calculate uptime for Win32 systems

VERSION ^

1.02

SYNOPSIS ^

 use Win32::Uptime;
 print Win32::Uptime::uptime(); # in milliseconds

DESCRIPTION ^

Win32::Uptime

METHODS ^

uptime

This method retrieves the number of milliseconds that have elapsed since the system was started.

If uptime is more than notorious 49.7 days, and you have pagefile in your system, it will be calculated correctly. If not, you lose.

Takes no parameters.

AUTHORS ^

Serguei Trouchelle <stro@cpan.org>

COPYRIGHT ^

Copyright (c) 2007-2010 Serguei Trouchelle. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: