The problem for me is that I don't always restart the server when we restart UniVerse. I do think I have come up with a solution however. I'm going to go with the uptime of the uvdlockd process...
# ps -p $(ps -ef | grep uvdlockd | grep -v grep | awk '{print $2}') -o etime ELAPSED 10:38:40 Which seems about right since I restarted UniVerse last night just after 11pm. Can anyone think of a gotcha on this approach? Thanks. Perry -----Original Message----- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dave Laansma Sent: Thursday, February 17, 2011 7:35 AM To: U2 Users List Subject: Re: [U2] [UV] UniVerse Uptime BTW, for us that was Nov 27 9:48am ... gotta love AIX! Sincerely, David Laansma IT Manager Hubbard Supply Co. Direct: 810-342-7143 Office: 810-234-8681 Fax: 810-234-6142 www.hubbardsupply.com "Delivering Products, Services and Innovative Solutions" -----Original Message----- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dave Laansma Sent: Thursday, February 17, 2011 9:33 AM To: U2 Users List Subject: Re: [U2] [UV] UniVerse Uptime 'who -b' will tell you the date and time AIX restarted last. For us, if AIX is up, Unidata is up ... Sincerely, David Laansma IT Manager Hubbard Supply Co. Direct: 810-342-7143 Office: 810-234-8681 Fax: 810-234-6142 www.hubbardsupply.com "Delivering Products, Services and Innovative Solutions" -----Original Message----- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Robert Porter Sent: Thursday, February 17, 2011 9:26 AM To: U2 Users List Subject: Re: [U2] [UV] UniVerse Uptime Interesting question... Don't know how accurate it would be but on my box /usr/uv/VOC has a timestamp of the last time I brought uv up. I'll be interested to see what others have to say on this. Rob Robert F. Porter, MCSE, CCNA, ZCE, OCP-Java6 Lead Sr. Programmer / Analyst Laboratory Information Services Ochsner Health System This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful. _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. ZirMed, Inc. has strict policies regarding the content of e-mail communications, specifically Protected Health Information, any communications containing such material will be returned to the originating party with such advisement noted. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users