Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: GetTimeSysInfoFunc function

by thanos1983 (Parson)
on Jul 27, 2015 at 23:18 UTC ( [id://1136527]=note: print w/replies, xml ) Need Help??


in reply to Re: GetTimeSysInfoFunc function
in thread GetTimeSysInfoFunc function

Hello marinersk,

Well I have been implementing a module that it does all that for LinuxOS but I can not find a way to do it on WindowsOS.

Yesterday I post this question How to check system's current NTP configuration on all OS?. What I found is that I can retrieve all this information on LinuxOS but WindowsOS requires Administrator access to retrieve this information.

I have been playing around with Time::HiRes but to be honest I can not get all the information that I want or at least it looks like this. I mean for example when I am applying

( undef , undef , $server_precision , undef , undef ) = POSIX +::times();
the $server_precision prints 0 but in reality it is around -23.

So this is why I was asking for a possible module that collects these values from WindowsOS but it seems with out administrator access you can not do anything. :(

Well any way, thank you for your time and effort reading and replying to my question.

Seeking for Perl wisdom...on the process of learning...not there...yet!

Replies are listed 'Best First'.
Re^3: GetTimeSysInfoFunc function
by marinersk (Priest) on Jul 30, 2015 at 16:42 UTC

    Ah, good efforts, and my apologies for jumping to the conclusion that you hadn't done your homework. You actually did more than I had done, so I humbly retreat to my corner.

    For what it's worth, I see value in what you are doing, but it's never been needed enough in my world to motivate me to put the effort in that you are.

    All the best in your hunt -- Windows is an oddity amongst operating systems (it took me a long time to even acknowledge that it was one).

    Good luck in the hunt -- and I mean that earnestly.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1136527]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (9)
As of 2024-03-28 10:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found