Command needed in linux flavour OS


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Command needed in linux flavour OS
# 1  
Old 03-02-2012
Command needed in linux flavour OS

HI,

My requirement as below

Log with Error

Code:
[INFO 12-03-01:04:10:25] Starting FeedRunner for feed: 200 Product example Items
[INFO 12-03-01:04:12:40] Error FeedRunner for feed: 200 Product example Items
[INFO 12-03-01:04:20:25] Stopping FeedRunner for feed : 200 Product example Items Feed time taken 231743
Log without Error

Code:
[INFO 12-03-01:04:10:25] Starting FeedRunner for feed: 200 Product example Items
[INFO 12-03-01:04:20:25] Stopping FeedRunner for feed : 200 Product example Items Feed time taken 2743

1. What is the command to read last 15 minutes logs, for example my current time is 4:15PM and i need to read from 4:00PM to 4:15PM in the log mentioned above.

2. How to check for 3 strings using grep, for example "200|Product example|Error"

3. If 3 strings found print "success" or print "failed"

4. How to call a URL in shell script, for example "http://localhost/mcfeeds/runfeed?feedid=200"

Please help me on this

Regards
Paulwintech
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Linux command needed

guys im new here and i need help with some linux commands. filea has keyword on each line identity aaa bbb ccc i have following commands. egrep 'www.identity' ~/home/m3 >~/home/lopo2 wc -l file ~/home/lopo2 say lopo2 has 44 lines then output saved is identity 44 (1 Reply)
Discussion started by: ahfze
1 Replies

2. UNIX for Advanced & Expert Users

Command help needed in linux flavour OS

HI, My requirement as below Log with Error Starting FeedRunner for feed: 200 Product example Items Error FeedRunner for feed: 200 Product example Items Stopping FeedRunner for feed : 200 Product example Items Feed time taken 231743 Log without Error Starting... (0 Replies)
Discussion started by: Paulwintech
0 Replies

3. Post Here to Contact Site Administrators and Moderators

Most Demanding UNIX flavour

Hi Neo I am working on Red Had Linux from last 3 yrs on basic level. I want to do the UNIX admin certification ASAP. Please suggest.........Which is the most demanding flavor in market & remain demanding in future as well ??? Waiting for your early response. Thanks Tushar Joshi (1 Reply)
Discussion started by: tusharjoshi
1 Replies

4. UNIX for Dummies Questions & Answers

LINUX to UNIX... changes needed?

I developed the following in LINUX: cat monica.txt | sed 's/;;;/\n;;;/g'> fixed.txt csplit -f comment -n 4 fixed.txt '/;;;/' {*} Basically, I want it to take the file monica.txt and put every instance of ;;; on a new line and put it in fixed.txt, then split fixed.txt at every instance of ;;;... (13 Replies)
Discussion started by: mschpers
13 Replies

5. Linux

What is the difference between flavour & distribution.

Hi All, Can anyone tell me the difference between flavour & distribution? As we say that - AIX, Linux, Solaris etc are the flavours of Unix & fedora, ubuntu, suse etc are the distributions of linux. Can anyone explain me, why it is called so. Thanks in advance. Amol (6 Replies)
Discussion started by: Amol21
6 Replies

6. Shell Programming and Scripting

Command needed to Parse Catalina.out in Linux

Hi all, Everyday I used to parse the Catalina.out log file on my Redhat system for errors for a particular date. Could anybody be able to help me to create a command which can grep the contents of Catalina.out starting from particular date. Please do not suggest command which greps only the... (12 Replies)
Discussion started by: redhatperl
12 Replies

7. Shell Programming and Scripting

simple script detect to find OS version/flavour

Hi, A newbie question. Following script gives no output. =============================== root@srv # cat /etc/redhat-release | awk {'print $1}' Red root@srv # cat 123.sh if (( `cat /etc/redhat-release | awk {'print $1}'` != CentOS )); then { echo "System runs on Redhat Linux. ... (13 Replies)
Discussion started by: fed.linuxgossip
13 Replies

8. UNIX for Advanced & Expert Users

Help me to select the flavour

Hai Friends I am writing a client-server application for backup utility. The computer is used only for backup utility. We have planed to place linux operating system in it. But i am confused with lots of falvour. I don't know really which flavour of linux to use. Can you please suggest me a... (2 Replies)
Discussion started by: collins
2 Replies

9. OS X (Apple)

unix flavour on mac

I'm quite interested in resusing an old bondi iMac i have as a unix box, and i was wondering what distro people would recomend. I had thought of using BSD/FreeBSD cos thats what osx is based on. I'm doing this as a teaching excercise (for myself) so i'm looking for something achievable rather than... (9 Replies)
Discussion started by: ora
9 Replies

10. UNIX for Dummies Questions & Answers

Which flavour?

Hi folks, First post so be gentle with me :) I've decided it's about time I got down and dirty with Unix, so have jumped in at the deep end and am downloading Redhat as an option to Win2000 on my Intel machine. Should be fun (!), but if I remember right there's options of which type of... (2 Replies)
Discussion started by: clanger
2 Replies
Login or Register to Ask a Question
BP_SEARCH2TRIBE(1p)					User Contributed Perl Documentation				       BP_SEARCH2TRIBE(1p)

NAME
search2tribe - Turn SearchIO parseable reports(s) into TRIBE matrix SYNOPSIS
Usage: search2tribe [-o outputfile] [-f reportformat] [-w/--weight] file1 file2 .. DESCRIPTION
This script is probably too slow for most people's uses. It is better to use something like scripts/searchio/fastam9_to_table, -m 9 output from BLAST, or the blast2table from the BLAST O'Reilly book to get a tabular output from these programs and then feed the table into MCL with the mcxdeblast script and the --m9 option. This script will turn a protein Search report (BLASTP, FASTP, SSEARCH) into a Markov Matrix for TribeMCL clustering. The options are: -o filename - the output filename [default STDOUT] -f format - search result format (blast, fasta) (ssearch is fasta format). default is blast. -w or --weight VALUE - Change the default weight for E(0.0) hits to VALUE (default=200 (i.e. 1e-200) ) -h - this help menu Additionally specify the filenames you want to process on the command-line. If no files are specified then STDIN input is assumed. You specify this by doing: search2tribe < file1 file2 file3 AUTHOR
Jason Stajich, jason-at-bioperl-dot-org perl v5.14.2 2012-03-02 BP_SEARCH2TRIBE(1p)