HI Gurus,
I need to delete a line from a syslog file, if it matches three conditions.
Say for ex., if the device name is device.name.com and if it contains the syslog message PAGP-5-PORTFROMSTP in between the time period 00:00:00 to 04:00:00, then the particular line has to be deleted from... (2 Replies)
I have the following data file.
zz=aa azxc-1234 aa=aa
zz=bb azxc-1234 bb=bb
zz=cc azxc-1234 cc=cc
zz=dd azxc-2345 dd=dd
zz=ee azxc-2345 ee=ee
zz=ff azxc-3456 ff=ff
zz=gg azxc-4567 gg=gg
zz=hh azxc-4567 hh=hh
zz=ii azxc-4567 ii=ii
I want to make 2nd field pattern matching multiple lines... (13 Replies)
Hi
I have a log file (say log.txt). I have to search for a line which has the string ( say ERROR) in the log file and copy 15 lines after this into another file (say error.txt). Can someone give me the code and this has to be in PERL
Thanks in advance
Ammu (3 Replies)
Unix box server version
***********
>uname -r
B.11.00
>echo $SHELL
/usr/bin/ksh
--> in this server, I have the path like /IMbuild/dev/im0serv1
---> in that directory I have the folders startup(.jsp files nearly 100 jsp's ) and scripts(contains .js files nearly 100 files) ... (9 Replies)
Hi everybody,
First I apologize if my question seems demasiad you silly, but it really took 4 days struggling with this, I looked at books, forums ... And Also ask help to a friend that is software developer and he told me that it is a bad idea do it by perl... but this is my problem.
I moved to... (8 Replies)
Hi Experts,
Would really appreciate if anyone can guide me how to compare two pdf files line by line and report the difference to another file. (3 Replies)
In the below perl code I am using tags within each line to extract certain information. The tags that are used are:
STB >0.8 is STRAND BIAS otherwise GOOD
FDP is the second number
GO towards the end of the line is read into an array and the value returned is outputed, in the first line that... (1 Reply)
I am looking for help in processing of those options: '-n' or '-p'
I understand what they do and how to use them.
But, I would like to use them with more than one file (and without any shell-loop; loading the 'perl' once.)
I did try it and -n works on 2 files.
Question is:
- is it possible to... (6 Replies)
ESP(4) BSD Kernel Interfaces Manual ESP(4)NAME
esp -- Emulex ESP, NCR 53C9x and QLogic FAS families based SCSI controllers
SYNOPSIS
To compile this driver into the kernel, place the following lines in your kernel configuration file:
device scbus
device esp
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):
if_esp_load="YES"
DESCRIPTION
The esp driver provides support for the AMD Am53C974, the Emulex ESP100, ESP100A, ESP200 and ESP406, the NCR 53C90, 53C94 and 53C96 as well
as the QLogic FAS100A, FAS216, FAS366 and FAS408 SCSI controller chips found in a wide variety of systems and peripheral boards.
HARDWARE
Controllers supported by the esp driver include:
o MELCO IFC-DP (PC-98)
o Sun ESP family
o Sun FAS family
o Tekram DC390
o Tekram DC390T
SEE ALSO cd(4), ch(4), da(4), intro(4), pci(4), sa(4), sbus(4), scsi(4), camcontrol(8)HISTORY
The esp driver first appeared in NetBSD 1.3. The first FreeBSD version to include it was FreeBSD 5.3.
AUTHORS
The esp driver was ported to FreeBSD by Scott Long <scottl@FreeBSD.org> and later on considerably improved by Marius Strobl
<marius@FreeBSD.org>.
BUGS
The esp driver should read the EEPROM settings of Tekram controllers.
BSD November 1, 2011 BSD