O
Ondrej Sevecek
Hello,
how to get system uptime?
Ondra.
how to get system uptime?
Ondra.
In said:Hello,
how to get system uptime?
Ondrej said:Hello,
how to get system uptime?
Ondra.
Phil Robyn said:Or you could look at the timestamp of the file pagefile.sys,
which will show you the date and time that the system was
started.
http://www.commandline.co.uk/lib/Batch Function Library/System Functions/Uptime.htmlRitchie said:Sneaky.
Here's another 'pure batch' method:-
Alex K. Angelopoulos said:Here's a "pure script" approach - OK, with the usual impurity of a WMI
dependence... <g>
Ondrej Sevecek said:Hello,
how to get system uptime?
Ondra.
In said:Emmm... which one?
Ritchie said:Sneaky.
Here's another 'pure batch' method:-
http://www.commandline.co.uk/lib/Batch Function Library/System Functions/Uptime.html
In said:Session manager deletes the last pagefile on startup. Then, it
creates new pagefile through NtCreatePageFile() api. Only then it
starts CSRSS and Winlogon.
In said:I was to generic. The pagefile is created when not existed, but
only superseded (truncated to 0bytes) when existing. So the
actuall file remain with previous date.
PS said:Ondra-
Use Microsofts utility Uptime
http://support.microsoft.com/default.aspx?kbid=232243
Good Luck,
PS
"This post is MY opinion only."
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.