ManagerJay
IS-IT--Management
I have started a process in the background and have been able to send its output to a file. Now, I am trying to only save lines that are output containing deliver.c:257.
I have tried the following without any luck.
/hdd2/jabber-1.4.2/jabberd/jabberd -D 2> grep deliver.c:257 > jabber.log &
/hdd2/jabber-1.4.2/jabberd/jabberd -D | grep deliver.c:257 >/hdd2/jabber.log &
And, other variations of the same line. I am either getting all of the output or none of the output.
Any suggestions would be greatly appreciated. Thanks in advance for your assistance.
Jay Hall
I have tried the following without any luck.
/hdd2/jabber-1.4.2/jabberd/jabberd -D 2> grep deliver.c:257 > jabber.log &
/hdd2/jabber-1.4.2/jabberd/jabberd -D | grep deliver.c:257 >/hdd2/jabber.log &
And, other variations of the same line. I am either getting all of the output or none of the output.
Any suggestions would be greatly appreciated. Thanks in advance for your assistance.
Jay Hall