Questions tagged [timestamp]

92 questions
0
votes
2 answers

keep in tar.bz2 original directory datetime

I'm looking for a solution to create a tar.bz2 file and keep the original folder timestamp. My solution is "touch -t {original timestamp}" file.tar.bz2 manuel@mfpanzuela:~$ ls -la drwxrwxr-x 2 manuel manuel 4096 nov 13 2013…
mferpan
  • 43
  • 3
0
votes
1 answer

File creation date 10 minutes out

I'm creating a file back up system that uploads via FTP, however when I get the uploaded file name, it says it was generated let's say 4 minutes past 5, when I get the creation time of the file via PHP ftp commands, it says it was created 10 minutes…
0
votes
1 answer

Backup to Tape using tar: How to add file details (time, date, size) to a TAR log?

What is the best way to make my tar log more informative? Cat'ing the log shows what was backed up, but tells nothing about the files last update or size. Eg: tar cvf /dev/st0 foo* > backup.log cat backup.log foo1 foo2 ... I changed it to tar cvf…
rodfaria
  • 1
  • 1
0
votes
1 answer

Time jump in syslog-ng log files

I am running my proprietary application (the name of which I would prefer not to disclose) in Linux 2.6 kernel, running on PowerPC (P2020) in an embedded environment. I am using syslog-ng to collect the logs from my application. When the system is…
LinuxPenseur
  • 443
  • 1
  • 6
  • 16
0
votes
1 answer

iptables can't block timestamp request with CentOS

I am setting up firewall with iptables on my host. I want to disable timestamp ICMP request, but it's wired, I only allows type 8 (echo-request) comes into host, but event still, I can get timestamp from my host 64 bytes from xxxxxxxxx: icmp_seq=2…
Fang-Pen Lin
  • 282
  • 1
  • 3
  • 12
0
votes
2 answers

How do I change folder timestamps recursively?

I was wondering if anyone knows how to change the timestamps of folders recursively based on the latest timestamp found of the files in that folder. So for example: jon@UbuntuPanther:/media/media/MP3s/Foo Fighters/(1997-05-20) The Colour and The…
MonkeyWrench32
  • 101
  • 1
  • 2
0
votes
0 answers

InfluxDB influxQL v1.8 : Wrong timestamp used for writing to database

I wrote a bash script for inserting the summary of the daily energy database "xxx_d" into the monthly database "xxx_m" - triggered on every 1st day of the month at 02 o'clock by a systemd-timer. That's a pretty nice working workaround for the…
6a5h4
  • 1
  • 1
0
votes
1 answer

Dmesg to real timestamp

I would like convert my Centos 6.10 dmesg in real timestamp, how do I do this? I tried with -T but no luck. I have long entry like (1630230907.320:2)
0
votes
1 answer

Geting UNIX Timestamp while logging history

I am running below bash script which is saving the history in a file, however it is logging the history with Unix epoch timestamp. I need the timestamp in human readable format. _who_am_i=$(who am i|awk '{print $1}') _ID=$(id -u $_who_am_i) if […
0
votes
1 answer

Substitute a string into timestamp

I want to use mod_substitute or mod_ext_filter to replace a string with the current timestamp in miliseconds. I tried so far, but it's not working. Substitute "1s/myString/&$(date +"%T.%3N")/" ExtFilterDefine testfilter mode=output intype=text/html…
0
votes
1 answer

OpenVPN server log - what is the "us=" identifier following the timestamp?

I use OpenVPN 2.3.10 in server mode, with logging set to verb 4. In the log, every line begins by a timestamp (Mon May 11 10:40:10 2020) and then us=, followed by a 5- or 6-digit number. What is this us identifier? Is it the microsecond (μs) part of…
zire
  • 23
  • 2
0
votes
1 answer

PHP time() around 70 seconds off

As the title suggest a server I am running is producing a timestamp created by the PHP time() function that is about 60-70 slow. The server did not have this problem and it has come out of the blue. I have checked the time produced with servers on…
Imag1ne
  • 225
  • 1
  • 4
  • 9
-1
votes
1 answer

Get client time on Apache server

I actually have two questions: 1) The timestamp in Apache error.log file is client's time or the server's? 2) If I connect to the server via command line and execute the command HEAD / HTTP/1.0, what does the client-date produced among others…
Nick
  • 101
  • 2
-1
votes
1 answer

How to change Tcp timestamp value?

The question is straightforward and simple. I want to know how to change the value of tcp timestamps manually in windows. I know how to disable them but i want to know the process of changing tcp timestamps value field to values that i want them to…
jack
  • 1
-1
votes
4 answers

rsync files newer than last rysnc run

I'm trying to get rsync just to sync files that have changed and or been created since it's last run. This is an attempt to stop my NAS servers disks from spinning up every time rsync runs even when there is no file to copy across. I'm assuming the…
dalben
  • 21
  • 1
  • 1