I am trying to update an older program on a small cluster. It uses individual files to send jobs to each node. However the newer database comes as one large file, containing over 10,000 records. I therefore need to split this file. It looks like this:
Code:
HMMER3/b [3.0 | March 2010]
NAME 1-cysPrx_C
ACC PF10417.4
DESC C-terminal domain of 1-Cys peroxiredoxin
LENG 40
ALPH amino
RF no
CS yes
MAP yes
.....more data...
0.00103 6.88015 * 0.61958 0.77255 0.00000 *
//
HMMER3/b [3.0 | March 2010]
NAME 120_Rick_ant
ACC PF12574.3
DESC 120 KDa Rickettsia surface antigen
LENG 255
ALPH amino
RF no
CS no
MAP yes
DATE Tue Sep 27 11:43:56 2011
NSEQ 7
... etc..
Each record starts with HMMER3/b and ends with //
I would like each individual file named after the ACC field, such as PF10417.4 or PF10417 (the . doesn't matter)
Okay, absolute newbie here...
I'm on a Mac trying to split an almost 2 Gig log file on a Unix box into manageable chunks for my web-based log analysis tool.
What do I need to do, what programs do I need to do it?
All and any help appreciated/needed :-)
Cheers (8 Replies)
I have a file containing date/time sorted data of the form
...
2009/06/10,20:59:59.950,XAG/USD,Q,1,1115, 14.3025,100,1,1
2009/06/10,20:59:59.950,XAG/USD,Q,1,1116, 14.3026,125,1,1
2009/06/10,20:59:59.950,XAG/USD,R,0,0, , 0,0,0
2009/06/10,20:59:59.950,XAG/USD,R,1,0, 14.1910,100,1,1... (6 Replies)
Hello gurus,
I am new to "awk" and trying to break a large file having 4 million records into several output files each having half million but at the same time I want to keep the similar key records in the same output file, not to exist accross the files.
e.g. my data is like:
Row_Num,... (6 Replies)
I need to write a shell script for below scenario
My input file has data in format:
qwerty0101TWE 12345 01022005 01022005 datainala alanfernanded 26
qwerty0101mXZ 12349 01022005 06022008 datainalb johngalilo 28
qwerty0101TWE 12342 01022005 07022009 datainalc hitalbert 43
qwerty0101CFG 12345... (19 Replies)
Hi Experts,
I have to split huge file based on the pattern to create smaller files. The pattern which is expected in the file is:
Master.....
First...
second....
second...
third..
third...
Master...
First..
second...
third...
Master...
First...
second..
second..
second..... (2 Replies)
I will simplify the explaination a bit, I need to parse through a 87m file -
I have a single text file in the form of :
<NAME>house........
SOMETEXT
SOMETEXT
SOMETEXT
.
.
.
.
</script>
MORETEXT
MORETEXT
.
.
. (6 Replies)
OK So I Recently Bought A whatbox Seed-box Act!!:cool:
I am connected to whatbox via SSH!!!
Now i have downloaded a movie and renamed it to 2yify.mp4 (800MB):o
When I TYPE the command to split it which is:)
split -b 400m 2yify.mp4
It gets renamed into two parts with different names... (4 Replies)
Hi All,
This is my first post here. Hoping to share and gain knowledge from this great forum !!!!
I've scanned this forum before posting my problem here, but I'm afraid I couldn't find any thread that addresses this exact problem.
I'm trying to split a large XML file (with multiple tag... (7 Replies)
Hi all,
Newbie here. First of all, sorry if I made any mistakes while posting this question in terms of rules. Correct me if I am wrong. :b:
I have a .dat file whose name is in the format of 20170311_abc_xyz.dat. The file consists of records whose first column consists of multiple dates in... (2 Replies)
Hello Gurus,
I have a requirement to split the xml file into different xml files.
Can you please help me with that?
Here is my Source XML file
<jms-system-resource>
<name>PS6SOAJMSModule</name>
<target>soa_server1</target>
<sub-deployment>
... (3 Replies)
Discussion started by: Siv51427882
3 Replies
LEARN ABOUT SUSE
crm_uuid
CRM_UUID(8) [FIXME: manual] CRM_UUID(8)NAME
crm_uuid - get a node's UUID
SYNOPSIS
crm_uuid [-w|-r]
DESCRIPTION
UUIDs are used to identify cluster nodes to ensure that they can always be uniquely identified. The crm_uuid command displays and modifies
the UUID of the node on which it is run.
When Heartbeat is first started on a node, it creates a UUID (in binary form) in /var/lib/heartbeat/hb_uuid. This file can be read and
written by means of crm_uuid.
Note
There are very rare circumstances when crm_uuid should be used to modify the UUID file. The most common is when it is necessary to set
a node's UUID to a known value when creating a new cluster.
OPTIONS --write, -w
Write a UUID value to the /var/lib/heartbeat/hb_uuid file.
Warning
Use the -w option with care, because it creates a new UUID value for the node on which it is run. Various scripts across the
cluster might still use the old value, causing the cluster to fail because the node is no longer associated with the old UUID
value. Do not change the UUID unless you changed all references to it as well.
--read, -r
Read the UUID value and print it to stdout.
SEE ALSO
/var/lib/heartbeat/hb_uuid
AUTHOR
crm_uuid was written by Andrew Beekhof.
[FIXME: source] 07/05/2010 CRM_UUID(8)