- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: "stat" on Tru64
Operating System - Tru64 Unix
1753879
Members
7400
Online
108809
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2003 07:41 AM
тАО11-10-2003 07:41 AM
"stat" on Tru64
Ok, this is close to the "stupid question" department. However, I have a Windows 2000 box that seems to be changing the timestamp of a file back one hour when the file goes through it. The file originates on a Tru64 5.1A PK4 machine. I was asked to find the UTC time stamp of the file on the Tru64 box.
In HP-UX, the command would be "stat" to find that. However, that command does not exist, to the best of my knowledge on Tru64. How would I go about doing this?
Regards,
--Blake Roberts
In HP-UX, the command would be "stat" to find that. However, that command does not exist, to the best of my knowledge on Tru64. How would I go about doing this?
Regards,
--Blake Roberts
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2003 05:11 PM
тАО11-10-2003 05:11 PM
Re: "stat" on Tru64
Blake,
As far as I can tell there is no "stat" command on HP-UX either. There is the "stat()" standard function available within "C". I presume this is available on "Tru64" and it is a simple little program that can take advantage of it.
As far as I can tell there is no "stat" command on HP-UX either. There is the "stat()" standard function available within "C". I presume this is available on "Tru64" and it is a simple little program that can take advantage of it.
Never preceed any demonstration with anything more predictive than "watch this"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2003 08:12 PM
тАО11-10-2003 08:12 PM
Re: "stat" on Tru64
On Windows it is important to know which API was used by the program to access the files. There are some MFC functions working with environment variables (TZ). In a country with daylight saving a difference can occure if this variable will not be set properly.
In Tru64 you can use the stat() function to read the timestamp informations.
In Tru64 you can use the stat() function to read the timestamp informations.
Help() { FirstReadManual(urgently); Go_to_it;; }
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2003 01:04 AM
тАО11-11-2003 01:04 AM
Re: "stat" on Tru64
It turns out that the problem was with Windows machines connected to a Samba share. There is a known "feature" out there which occasionally causes a Windows system to report the time one hour back if it was connected over the DST transition.
The fix was to reboot the Windows box. Now everything is working right.
Both of you were correct that there is a stat() function in Tru64 which I could use in a quick program. It turns out the MS fix was all that was needed.
Regards,
--Blake
The fix was to reboot the Windows box. Now everything is working right.
Both of you were correct that there is a stat() function in Tru64 which I could use in a quick program. It turns out the MS fix was all that was needed.
Regards,
--Blake
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP