I have numerous (hundreds) of data files with various values in each file. The values are 1 per line, and identified by the fieldname in the 1st field in the line, which is delimited from the actual field value by a colon. So an example from one of the files looks like this:
NAME: Bob Jones
ADDRESS: 123 Main Street
CITY: Omaha
STATE: Nebraska
1_TIMESTAMP: 1234567890
2_TIMESTAMP: 2012-05-15 10:15:20
So here's my dilemma - SOME of the timestamps are in epoch format (seconds since 1970) and SOME are already in human readable format (YYYY-MM-DD HH:MM:SS). This cannot be identified by the timestamp fieldname - the values are truely mixed. I need to convert ALL of the epoch timestamps into human readable ones, while NOT changing any other data in the files. I have this working in a shell script, but again, I have hundreds of files, and literally millions of lines to parse through, and my script has currently finished only 15 files in 50 minutes. How can I speed this up?
The below error message I started seeing using Ubuntu 14.04 and was wondering if the forum has seen it because I cant seem much on the net for this:
perl -e 'use IO::Socket::SSL qw(debug3);IO::Socket::SSL->new(PeerAddr=>"10.0.0.100",PeerPort=> 443,Proto=>"TCP") or die $!'
DEBUG:... (1 Reply)
We currently have T2000 servers attached to Sun 3320 Storage Arrays. We run a database on the 3320 devices with the storage created through ZFS. We use 3 RAIDZ2 pools and then create our partitions from those.
Now onto the question. If our T2000 fails and we swap out machines is there a way... (1 Reply)
Hi,
we have running 8 box sles 9 cluster and on an nfs filesystem we have the problem which is grepped from /var/log/messages.
Jun 8 13:40:46 qnclpx02 kernel: attempt to access beyond end of device
Jun 8 13:40:46 qnclpx02 kernel: sdat: rw=0, want=8894615912, limit=314572800
Is there... (1 Reply)
Grub throwing Error::
Error 24: Attempt to access block outside partition.
done the following
root (hd0,0)
After that when trying to load kernel it is throwing the error.
Please guide.
new to grub.
Thx,
Siva. (0 Replies)