08-21-2013
Quote:
Originally Posted by
RudiC
Should work as is. Why don't you try and post the result?
Tried it. The result is 2 files with a lot of lines that contains the INFO message. That's not a problem. But i need every line that contains INFO message into a new file, that called by the actual line SID number.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello. I have an RS/6000 running AIX 4 and I need to be able to see if there are any users that are logged on more than once from the same terminal so I can kick them off to make room for other terminals. 64 connections is the limit. Currently I am doing this:
who | more
and then manually... (11 Replies)
Discussion started by: raidzero
11 Replies
2. Shell Programming and Scripting
Hello,
I have a page where multiple fields and their values are displayed. But I am able to sort only a few fields. When I looked into the issue, it is seen that the for each row of info , an unique id is generated and id.txt is generated and saved. Only those fields which are inside that id.txt... (3 Replies)
Discussion started by: eagercyber
3 Replies
3. UNIX for Dummies Questions & Answers
Hi,,,
is there anyway to sort the data that I have on an ASCII file, using unix?
:confused::confused::confused:
Thanks (2 Replies)
Discussion started by: cosmologist
2 Replies
4. UNIX for Dummies Questions & Answers
Hi,
Let's say I have these 3 columns;
NGC1234 6 9
SL899 4 1
NGC1075 8 3
SL709 5 2
And I want to sort the data according to the first column (from a to z) like having them as:
NGC1075 8 3
NGC1234 6 9
SL709 5 2
SL899 4 1
Can that be done... (2 Replies)
Discussion started by: cosmologist
2 Replies
5. UNIX for Dummies Questions & Answers
Hello guys. I need help figuring this one out. It's probably really easy. Thanks in advance!
I have a file say for example containing this:
Rice Food
Carrots Food
Beans Food
Plates Kitchen
Fork Kitchen
Knives Kitchen
I need:
Food Rice, Carrots, Beans
Kitchen Plates, Fork,... (7 Replies)
Discussion started by: visuelz
7 Replies
6. UNIX for Dummies Questions & Answers
Hi All,
I have a long list made of 4 columns containing entries such as the following example:
a b c d
0 0 0 0
1 2 1 2
2 5 3 4
3 8 4 6
4 10 9 8
5 15 8 10So the top row is the header and I need to arrange the data in a way as to... (11 Replies)
Discussion started by: pawannoel
11 Replies
7. Shell Programming and Scripting
My actual data looks like below
i have given only format. i can't give exact data format of my requirement due to some reasons. I this set of data lines about 5000
I need to come up with information in below
exact format of my data set :
Line<space>Number1<space>"somedata":... (1 Reply)
Discussion started by: ckaramsetty
1 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I have two files, one of which I would like to sort based on the order of the data in the second. I would like to do this using a simple unix statement.
My two files as follows:
File 1:
12345 1 2 2 2 0 0
12349 0 0 2 2 1 2
12350 1 2 1 2 2 2
.
.
.
File2:
12350... (3 Replies)
Discussion started by: kasan0
3 Replies
9. Solaris
hi,
I would like to monitor a log file, which rolls over, everytime a server is restarted.
I would like to grep for a string, and to be more efficient i'd like to grep only newly appended data. so something like a 'tail -f' would do, however, as the log rolls over i think a 'tail -F' is... (2 Replies)
Discussion started by: horhif
2 Replies
10. Shell Programming and Scripting
Hello.
Sorting data file by date and time with the following issues:
Date is in the following format m/d/yyyy, no leading zeros
Time is in the following format h:m:s AM/PM, no leading zeros
Any ideas on how to sort data when the above issues?
Could the date/time be converted inline to... (5 Replies)
Discussion started by: JimBurns
5 Replies
LEARN ABOUT DEBIAN
pvm_send
SEND(3PVM) PVM Version 3.4 SEND(3PVM)
NAME
pvm_send - Immediately sends the data in the active message buffer.
SYNOPSIS
C int info = pvm_send( int tid, int msgtag )
Fortran call pvmfsend( tid, msgtag, info )
PARAMETERS
tid Integer task identifier of destination process.
msgtag Integer message tag supplied by the user. msgtag should be >= 0.
info Integer status code returned by the routine.
DESCRIPTION
The routine pvm_send sends a message stored in the active send buffer to the PVM process identified by tid. msgtag is used to label the
content of the message. If pvm_send is successful, info will be 0. If some error occurs then info will be < 0.
The pvm_send routine is asynchronous. Computation on the sending processor resumes as soon as the message is safely on its way to the
receiving processor. This is in contrast to synchronous communication, during which computation on the sending processor halts until the
matching receive is executed by the receiving processor.
The PVM model guarantees the following about message order. If task 1 sends message A to task 2, then task 1 sends message B to task 2,
message A will arrive at task 2 before message B. Moreover, if both messages arrive before task 2 does a receive, then a wildcard receive
will always return message A.
Terminating a PVM task immediately after sending a message or messages from it may result in those messages being lost. To be sure, always
call pvm_exit() before stopping.
EXAMPLES
C:
info = pvm_initsend( PvmDataDefault );
info = pvm_pkint( array, 10, 1 );
msgtag = 3 ;
info = pvm_send( tid, msgtag );
Fortran:
CALL PVMFINITSEND(PVMRAW, INFO)
CALL PVMFPACK( REAL8, DATA, 100, 1, INFO )
CALL PVMFSEND( TID, 3, INFO )
ERRORS
These error conditions can be returned by pvm_send
PvmBadParam
giving an invalid tid or a msgtag.
PvmSysErr
pvmd not responding.
PvmNoBuf
no active send buffer. Try pvm_initsend() before send.
SEE ALSO
pvm_initsend(3PVM), pvm_mcast(3PVM), pvm_pack(3PVM), pvm_psend(3PVM), pvm_recv(3PVM)
30 August, 1993 SEND(3PVM)