I have a log file "logreport" that contains several lines as seen below:
04:20:00 /usr/lib/snmp/snmpdx: Agent snmpd appeared dead but responded to ping
06:38:08 /usr/lib/snmp/snmpdx: Agent snmpd appeared dead but responded to ping
07:11:05 /usr/lib/snmp/snmpdx: Agent snmpd appeared dead but... (18 Replies)
Hi please help me how to remove duplicate lines in any file.
I have a file having huge number of lines.
i want to remove selected lines in it.
And also if there exists duplicate lines, I want to delete the rest & just keep one of them.
Please help me with any unix commands or even fortran... (7 Replies)
greetings,
i'm hoping there is a way to cat a file, remove duplicate lines and send that output to a new file. the file will always vary but be something similar to this:
please keep in mind that the above could be eight occurrences of each hostname or it might simply have another four of an... (2 Replies)
Hi,
I have two files with below data::
file1:-
123|aaa|ppp
445|fff|yyy
999|ttt|jjj
555|hhh|hhh
file2:-
445|fff|yyy
555|hhh|hhh
The records present in file1, not present in file 2 should be writtent to the out put file.
output:-
123|aaa|ppp
999|ttt|jjj
Is there any one line... (3 Replies)
Hey guys, need some help to fix this script. I am trying to remove all the duplicate lines in this file.
I wrote the following script, but does not work. What is the problem?
The output file should only contain five lines:
Later! (5 Replies)
hi,
Please help me to write a command to delete duplicate lines from a file. And the size of file is 50 MB. How to remove duplicate lins from such a big file. (6 Replies)
Hi,
I have a csv file which contains some millions of lines in it.
The first line(Header) repeats at every 50000th line. I want to remove all the duplicate headers from the second occurance(should not remove the first line).
I don't want to use any pattern from the Header as I have some... (7 Replies)
Dear community,
I have to remove duplicate lines from a file contains a very big ammount of rows (milions?) based on 1st and 3rd columns
The data are like this:
Region 23/11/2014 09:11:36 41752
Medio 23/11/2014 03:11:38 4132
Info 23/11/2014 05:11:09 4323... (2 Replies)
Hi, all
I have a csv file that I would like to remove duplicate lines based on 1st field and sort them by the 1st field. If there are more than 1 line which is same on the 1st field, I want to keep the first line of them and remove the rest. I think I have to use uniq or something, but I still... (8 Replies)
Discussion started by: refrain
8 Replies
LEARN ABOUT BSD
impconf
IMP(4) Kernel Interfaces Manual IMP(4)NAME
imp - 1822 network interface
SYNOPSIS
/sys/conf/SYSTEM:
NIMP count # ARPAnet IMP 1822 interface
DESCRIPTION
The imp interface, as described in BBN Report 1822, provides access to an intelligent message processor normally used when participating in
the Department of Defense ARPA network. The network interface communicates through a device controller, usually an ACC LH/DH or HDH or a
DEC IMP-11A, with the IMP. The interface is "reliable" and "flow-controlled" by the host-IMP protocol.
To configure IMP support, at least one of acc(4), css(4) or hdh(4) must be included. The count specifies the total number of IMP connec-
tions. The network number on which the interface resides is specified at boot time using the SIOCSIFADDR ioctl. The host number is dis-
covered through receipt of NOOP messages from the IMP.
The network interface is always in one of four states: up, down, initializing, or going down. When the system is booted, the interface is
marked down. If the hardware controller is successfully probed, the interface enters the initializing state and transmits three NOOP mes-
sages to the IMP. It then waits for the IMP to respond with two or more NOOP messages in reply. When it receives these messages it enters
the up state. The ``going down'' state is entered only when notified by the IMP of an impending shutdown. Packets may be sent through the
interface only while it is in the up state. Outgoing packets are dropped with the error ENETDOWN returned to the caller if the interface
is in any other state.
DIAGNOSTICS
imp%d: not configured. A hardware interface could not be attached during autoconfiguration because too few IMP pseudo-devices were config-
ured.
imp%d: leader error. The IMP reported an error in a leader (1822 message header). This causes the interface to be reset and any packets
queued up for transmission to be purged.
imp%d: going down in 30 seconds.
imp%d: going down for hardware PM.
imp%d: going down for reload software.
imp%d: going down for emergency reset. The Network Control Center (NCC) is manipulating the IMP. By convention these messages are
reported to all hosts on an IMP.
imp?: host %x, lost %d rfnms. The IMP had messages outstanding to the host listed, but no RFNM (Request for Next Message) messages were
received from the IMP in 127 seconds. The software state for that host is reinitialized.
imp%d: interface reset. The host has received an interface reset message from the IMP.
imp%d: address reset to x%x (%d/%d). The host has received a NOOP message which caused it to reset its notion of its current address. The
Internet address is printed in hexadecimal, with the host and IMP numbers following. This indicates that the address originally set by
ifconfig(8) was incorrect, that the IMP has undergone an identity crisis, or that communication between the IMP and the host is being gar-
bled.
imp%d: data error. The IMP noted an error in data transmitted. The host-IMP interface is reset and the host enters the init state (await-
ing NOOP messages).
imp%d: interface reset. The reset process has been completed.
imp%d: marked down. After receiving a "going down in 30 seconds" message, and waiting 30 seconds, the host has marked the IMP unavailable.
Before packets may be sent to the IMP again, the IMP must notify the host, through a series of NOOP messages, that it is back up.
imp%d: can't handle af%d. The interface was handed a message with addresses formatting in an unsuitable address family; the packet was
dropped.
SEE ALSO intro(4N), inet(4F), acc(4), css(4), hdh(4), implog(8), implogd(8)3rd Berkeley Distribution August 2, 1987 IMP(4)