How do I convert Epoch seconds to the current time under UNIX or Linux operating systems?
{ 0 comments }
FAQ tagged as:
The rndc stats commands created /var/named/chroot/var/named/data/named_stats.txt file under RHEL 5.x or CentOS 5.x BIND 9 server. However, date is not is correct format. The date is in the following format:
grep ‘Dump’ /var/named/chroot/var/named/data/named_stats.txt
outputs:
+++ Statistics Dump +++ (1263408025)
— Statistics Dump — (1263408025)
+++ Statistics Dump +++ (1263408071)
— Statistics Dump — (1263408071)
+++ Statistics Dump +++ (1268304218)
— Statistics Dump — (1268304218)
+++ Statistics Dump +++ (1268304248)
— Statistics Dump — (1268304248)
How do I convert date (e.g., 1263408025) in a human readable format?
{ 5 comments }
Q. My timezone is pointing to wrong timezone. How do I setup or change the timezone under Linux operating systems?
{ 20 comments }