UUID_TIME(3) Libuuid API UUID_TIME(3)NAME
uuid_time - extract the time at which the UUID was created
SYNOPSIS
#include <uuid/uuid.h>
time_t uuid_time(uuid_t uu, struct timeval *ret_tv)
DESCRIPTION
The uuid_time function extracts the time at which the supplied time-based UUID uu was created. Note that the UUID creation time is only
encoded within certain types of UUIDs. This function can only reasonably expect to extract the creation time for UUIDs created with the
uuid_generate_time(3) function. It may or may not work with UUIDs created by other mechanisms.
RETURN VALUES
The time at which the UUID was created, in seconds since January 1, 1970 GMT (the epoch), is returned (see time(2)). The time at which the
UUID was created, in seconds and microseconds since the epoch, is also stored in the location pointed to by ret_tv (see gettimeofday(2)).
AUTHOR
Theodore Y. Ts'o
AVAILABILITY
libuuid is part of the util-linux package since version 2.15.1 and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
SEE ALSO uuid(3), uuid_clear(3), uuid_compare(3), uuid_copy(3), uuid_generate(3), uuid_is_null(3), uuid_parse(3), uuid_unparse(3)util-linux May 2009 UUID_TIME(3)
Check Out this Related Man Page
UUID_TIME(3) Libuuid API UUID_TIME(3)NAME
uuid_time - extract the time at which the UUID was created
SYNOPSIS
#include <uuid.h>
time_t uuid_time(uuid_t uu, struct timeval *ret_tv)
DESCRIPTION
The uuid_time function extracts the time at which the supplied time-based UUID uu was created. Note that the UUID creation time is only
encoded within certain types of UUIDs. This function can only reasonably expect to extract the creation time for UUIDs created with the
uuid_generate_time(3) and uuid_generate_time_safe(3) functions. It may or may not work with UUIDs created by other mechanisms.
RETURN VALUES
The time at which the UUID was created, in seconds since January 1, 1970 GMT (the epoch), is returned (see time(2)). The time at which the
UUID was created, in seconds and microseconds since the epoch, is also stored in the location pointed to by ret_tv (see gettimeofday(2)).
AUTHOR
Theodore Y. Ts'o
AVAILABILITY
libuuid is part of the util-linux package since version 2.15.1 and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
SEE ALSO uuid(3), uuid_clear(3), uuid_compare(3), uuid_copy(3), uuid_generate(3), uuid_is_null(3), uuid_parse(3), uuid_unparse(3)util-linux May 2009 UUID_TIME(3)
Well, i just got linux and this is basicly my first time using it, ive got some troble with the next stuff i hope i can find fast answers, or ill be forced to go back to windows :mad:
First of all id like to know if theres the next software in linux version or something:
Icq
MSn messenger... (5 Replies)
For some reason 8.1 Mandrake Linux seems much slower than Windows 2000 with my cable modem. DSL reports test says they conferable speed with Windows2 though.
This is consistant slow with both of my boxes, at the same time. Linux used to be faster, but not with Mandrake. Any way to fix this? (17 Replies)
I've been running RH for awhile, so the idea of Linux isn't very new to me. I've been looking around for new jobs and many companies are looking for HP-UX experience. Is HP-UX a free distro of UNIX? How much different is it from RH? Any advice or anything is welcome. ;) (8 Replies)
Hi again,
first of all thanks for you help on my last problem, the problem is solved now.
But I have many problem :)
This time, I transfered a big file, ~3,5 GByte, with ftp from a Sun machine to a linux box, RedHat 7.3. But the file recieved on the Linux Box is corrupt, with smaller files... (12 Replies)
Hi ! I wish extract one information(error code) from the machine which is running on the HP-UX platform. Can anyone help me?
Wanted to write a scripts that monitor real time at the error code and transfer the information out from the machine. The information is then process and SMS out to the... (9 Replies)
dear experts
How can I extract the files and install an application that has a postfix of .iso ??? could you please advise what is iso in linux Red hat and what is a file.iso ??
Very Best Regards (7 Replies)
Hi,
I am using RH-AS as my jumpstart server for installing solaris 8 on a sun machine.
the finish script phase starts ok but some where in the middle it fails - i tried it servel times and each time it fails in a differnt place. I get "not found" message for all kind of basic command like awk,... (4 Replies)
I'm trying to have a loop print out statistics every X number of seconds. How can I add a specific number of seconds to a time variable and make a comparison? Thanks ahead of time.
For example:
startTime = `date +%H%M%S`
currentTime = $startTime
executeTime = startTime + X # X is equal... (5 Replies)
Hi, Can anyone please let me know, how to extract two lines at the same time. In specific,I have a file containing list of devices, such as router1 and switch2 below. I want to get all the lines which has "#" and all the lines which has "down"
router1#sh ip int br
Interface ... (6 Replies)
I m new to the linux environment.Help me with ur suggestions.
How can i obtain the file names alone from ls -ltr output??
And those files should have been created before three months and earlier than that..
Thanks and wishes,
Rupaa. (8 Replies)
Hi All,
Cany any one help me in solving this..
Problem statement: I have a requirement to find the time from which there are no files created in a given directory. For this I am assuming that I need to get the file creation time in seconds, then the current time in seconds using `date +%s`.... (7 Replies)
OK I have been working on this simple action for a while and I cannot get it to work.
First off im new to the linux command line world. I feel like I am missing something simple.
What I am trying to achieve is that I want this command:
tcpdump -s2000 -w'flowroute-%H%M.pcap' -G900 -W36 &to... (13 Replies)
I have a requirement to find long running instances for notifying the stake holders based on the triggered time in AIX.
I am not sure how to convert the triggered time to epoch seconds.
For example :
Current triggered time of instance is 13:06:19 -> how to convert this into epoch in the... (5 Replies)