Posts Tagged ‘time’

How to force ntpd time sync

September 14th, 2016 No comments

How to force time sync
Find out your ntpd servers:

grep server /etc/ntp.conf
service ntpd stop
ntpdate -s
service ntpd start

Read more…

Categories: HowTo, Linux Tags: , , , , ,

bash date convert epoch time

March 21st, 2013 No comments

Many times you will need to conver Unix/Linux epoch time to a readable date format
That is quite simple

Read more…

Categories: HowTo, Linux Tags: , , , ,


September 20th, 2012 No comments

Nagios plugin to verify a FTP site, by uploading a file and testing the time it takes.

< ?php // Script to connect to a FTP site and Upload a file, return the time it took and compare to WARN and CRIT values // Formated for Nagios usage // Use a test user for the FTP as it could be simple to get this password // I use a 5mb file, created by using: dd bs=1024 count=5120 skip=5120 if=/dev/sda of=file.tst // by Felipe Ferreira Read more…

Varnish Backend Response Monitor

October 27th, 2010 2 comments

I think it is important to know how much time it is taking for the varnish
to go to the backend (webserver) and return.

Read more…