Questions tagged [timestamp]
92 questions
2
votes
0 answers
Convert absolute time in log lines to relative intervals
Given a normal text-format line-oriented log file with timestamps in absolute form, is there any convenient tool that converts them to relative time-intervals?
e.g.
2019-01-11 19:31:35 UTC LOG: restored log file "0000000A00000299000000B8" from…

Craig Ringer
- 11,083
- 9
- 40
- 61
2
votes
2 answers
How does one keep a file's timestamp (date modified) after a logrotate?
Title says it all, I have a log rotate set up daily for some rather large log files. Sometimes we can generate 3 of these a day, sometimes we only generate 1, they're each about 500MB. Is there a way to keep date modified of the file after a log…

T Jones
- 21
- 2
2
votes
0 answers
Apache directory listing show seconds in "Last modified" (full time)
Is it possible in Apache Directory listing to show full time, including seconds in "Last modified" column? Can I change the format of this timestamp?

stoyandimitrov
- 33
- 4
2
votes
1 answer
Linux clients can't connect, server and TCP Windows Size / Timestamps issue
We have a problem that a number of clients (all linux Ubuntu) are sometimes not able to connect to a remote server over SSH. If the problem occurs, Windows clients don't have that problem and can connect just fine.
I found this other question with a…

Tom Cannaerts
- 211
- 1
- 8
2
votes
1 answer
NetBSD syslog timestamp format
Syslog uses a timestamps like the following:
Sep 19 13:36:56
Is there a way to adjust the format (to add the year for example) without touching the source code? I am some what shocked to find that the answer to this appears to be so obscure, unless…

Terminal
- 43
- 1
- 5
2
votes
2 answers
many different TCP timestamps through NAT device cause server to drop packets (PAWS)
Various workstations behind the client side Network Address Translation (NAT) firewall are sending timestamp information on the TCP packet to our server. The packets from many workstations arrive with out-of-sequence time-stamps from behind the NAT…

user93453
- 21
- 1
- 3
2
votes
4 answers
Is there an easy way to insert data/time in front of a log file with just shell scripting?
Say I want to monitor memory usage on a java process overnight.
I can do something like
top | grep java > out.log
I will get a log file with a whole bunch of lines.
Is there an easy way to get a data/time inserted in front of each line?

James Dean
- 801
- 1
- 7
- 5
2
votes
1 answer
Preserve transferred folder's modification date when downloading from SFTP server
I'm looking for an way to download folders to a Windows machine from an SFTP server, while preserving transfer folder's modification date.
Servers I'm copying from uses Linux.
I know that most of SFTP clients supports preserving file's modification…

Omar
- 125
- 7
1
vote
1 answer
UNIX Copy/Move files in same directory preserving timestamp
Following is the scenario. There are multiple files in a directory created by users belonging to same unix group.
Unix Group: Prod.
User in Prod Unix Group: User1 User2 User3.
All 3 users have same privileges.
Scenario 1
If user3 wants to become…

Jolly J
- 21
- 2
1
vote
1 answer
syslog-ng freezes/doesnt log when it encounters log messages with older time stamp
we are seeing issue with syslog-ng 3.8.1 dropping logs with older timestamp. Our system has an issue in persisting hardware clock after a reboot however, it might be an issue even with ntp jitter as well.
It appears that if syslog-ng sees a log with…

Srinadh Penugonda
- 11
- 2
1
vote
0 answers
SHA256 timestamps from comodo vs symantec for 2008r2 drivers
When signing a cab with a sha256 EV certificate we wanted to also use a sha256 timestamp. When trying with the comodo (where we got the EV cert) server we tried:
/tr http://timestamp.comodoca.com/?td=sha256 /td sha256
and
/tr…

kensands
- 11
- 3
1
vote
2 answers
mysqldump 5.7 to 5.5 compatibility
I am trying to export data from mysql 5.7 in to mysql 5.5 server. The problem that i am facing is that 5.5 does not support more than one ON UPDATE CURRENT_TIMESTAMP, but the 5.7 has multiple timestamp collumns. The questions would be: is there a…

Auris
- 311
- 1
- 3
- 14
1
vote
1 answer
Is GNU tar incremental backup reliable if ext4 is mounted with noatime?
My system is running on SSD on top of LVM logical volume, formatted to ext4. I'm using noatime option at my fstab for this partition.
I'm going to do incremental backups of system partition using LVM snapshot feature and GNU tar.
As I see in…

Dmitriusan
- 367
- 3
- 15
1
vote
1 answer
No timestamp on standard error
Using fping and redirecting stout and stderr to the same file.
fping -lDf IPlist >IPoutput 2>&1
The "host unreachable" error messages in the file have no timestamps.
How do I get timestamps on those?

jonathan_whitelist
- 31
- 5
1
vote
0 answers
Does Authenticator Timestamps in Kerberos Tickets from Active Directory have Microsecond Granularity?
We have a problem with false positives in Kerberos replay detection. It happens more often than we would expect. Our KDC is Active Directory. I have come to suspect that the timestamps in the authenticators effectively have less than the microsecond…

Karsten Spang
- 11
- 1