Questions tagged [timestamp]

92 questions
1
vote
3 answers

File timestamp not changing even with touch

I have the following problem. I have a bash script that uses wget to get a few files from the build server, and then scp's them over to the production system: Here is the relevant snippet: #Several of these lines wget -nv -O birt_reports.zip…
Yishai
  • 708
  • 1
  • 6
  • 15
1
vote
1 answer

What data type do big applications use to store time data?

I am trying to find out which data type is better to store time data inside either MySQL or Cassandra database for a big application like Facebook or Instagram? There are a lot of similar questions and answers but I couldn't finally realize which…
best_of_man
  • 367
  • 1
  • 3
  • 12
0
votes
1 answer

Logging changes to file change/modify attributes

System is Centos8 I need to determine what process is touching a file without making any changes in content. I've tried auditctl but it does not seem to have a filesystem watch that can track these attributes. sudo auditctl -w /boot/grub2/grubenv…
Ex Umbris
  • 854
  • 7
  • 24
0
votes
2 answers

millisecond timestamp in syslog (Solaris 10)

Does anyone know how to configure syslog to use millisecond timestamps in logs on Solaris 10, instead of the default 1 second resolution? I know syslog-ng is available but I'm hoping I can just set some configuration with the existing syslog…
NickB
  • 273
  • 3
  • 6
0
votes
0 answers

HTTP Proxy excessive connections in TIME_WAIT, high CPU

We are experiencing a high level of connections entering the TIME_WAIT state on our proxy server during a time window that produces bursty traffic - tens of thousands of connections every minute for about 15 minutes. The proxy server sits behind a…
Freddie
  • 173
  • 5
0
votes
1 answer

hping3 not returning tcp timestamp

A recent pentest revealed that the TCP timestamp option was enabled. I have tried to reproduce the pentesters' result using hping3 --tcp-timestamp -S -p 80 xx.xx.xx.xx but the tool never returns. It sits on the line: HPING xx.xx.xx.xx (eth0…
Leo
  • 133
  • 8
0
votes
1 answer

MONIT: Monitoring logfile on counting and changes of timestamp

I want to monitor a logfile and I am only interested in the "Received new block" lines. I need two different scripts to monitor The height, which should always be one number higher then the height in the previous "Received new block"-line. If it's…
John Doof
  • 179
  • 3
  • 10
0
votes
1 answer

Wanting Cifs / Samba to restamp times with server-time for "mv" commands

Short background I have built a small cluster of linux machines and been creating and running scripts for distributed computing. After having gotten some basic things up and running now I'm tuning my scripts trying to adapt timings to do some…
mathreadler
  • 115
  • 6
0
votes
0 answers

Use of PTPd on RedHat/CentOS

I need to create a reliable and accurate synchronization between two CentOS 6 machines connected through a direct Ethernet connection. I've seen that on Linux several implementation of the IEEE 1588 Precision Time Protocol (PTP)…
Claudio
  • 101
  • 4
0
votes
2 answers

Compare the time stamp of Suse linux

I am try to compare the two time file based on their modify/lastchange time stamp & then copy the file to some folder code below #!/bin/sh cd /sapmnt/audit/ echo $PWD t1= stat -c %z audit.log20151019115132 cd /var/log/audit/ echo $PWD t2= stat -c…
0
votes
1 answer

Kibana: Timestamp field looks different from the Table and JSON fields in the UI

From the combined screenshot can you tell why there is a difference in timestamp for a log entry in different views in Kibana UI. Update: My timezone is +5:30 GMT, but I need the logs to show up based on the time in the logfile. The server which…
Ajov Crowe
  • 133
  • 1
  • 5
  • 12
0
votes
0 answers

Timestamp response behaviors in different tools

I was testing out icmp time stamp response on one of my servers using ping and hping3. Here is result of hping3 # hping3 --icmp-ts x.x.x.x HPING x.x.x.x: icmp mode set, 28 headers + 0 data bytes len=40 ip=x.x.x.x ttl=56 id=45158 icmp_seq=0 rtt=7.2…
JinPangPang
  • 135
  • 6
0
votes
1 answer

Rsync : copying over timestamps only by filename

I'm trying to do almost the same in this question: Rsync : copying over timestamps only But in this case, some os the files were already modified... There is any way to change just the timestamp between folder A (original) to B (new one) just by the…
0
votes
1 answer

sshd log file entries from the past mixed in with currently occurring entries

I have sshd log entries from the past seemingly randomly mixed in (in time) with the presently occurring log entries. No remote hosts log to this server, rsyslog serves only this box. External access to rsyslog listener is blocked at firewall. …
0
votes
2 answers

Forensics on tons of file changes

It has come to my attention that my CentOS 5.6 5.11 VPS has over 16,000 files with a timestamp during a 3-day period in September this year. I can't figure out why that is, as I did not log in via SSH during that time (nor were there any other…
OsakaWebbie
  • 183
  • 2
  • 11