Search Results

Search: Posts Made By: umang2382
1,214
Posted By umang2382
Record top accessed processes/files
Hello,

I have about 100 servers that I'm looking to collect information regarding top files and processes accessed within a 168 hr (1 week) period. Each server has a different purpose and so...
6,582
Posted By umang2382
it's not picking up the "can't", since standard...
it's not picking up the "can't", since standard error is being displayed, as opposed to being piped to the last awk statement. so the NA isn't being printed when

fyi, I'm running this through...
6,582
Posted By umang2382
My input is like so: A B 1.1.1.1 C 2.2.2.2 D E...
My input is like so:
A B 1.1.1.1 C 2.2.2.2 D E F

This yielded an undesired output.
awk ' { print (system("nslookup " FS $0 FS "2>&1 > /dev/null")) ? "NA" : $0 } ' file > newfile

Cannot...
6,582
Posted By umang2382
awk nslookup
Hi,

I have a rather simple awk statement to perform an nslookup on a file (list of IPs). If the lookup yields a result, then it sends it to a file. If no result, there is no output. I've been...
1,325
Posted By umang2382
thanks! that made the output much better. Is...
thanks! that made the output much better. Is there a way to tag a thread as "solved"?
1,325
Posted By umang2382
Thanks Rudi. This somewhat works. The...
Thanks Rudi.

This somewhat works. The output I get combines the source IPs just fine, however the destination ports are incomplete.

192.168.5.108 192.168.11.12 TCP 1, 2, 3, 4, 5, 15...
1,325
Posted By umang2382
Merge lines with varying characters
Hi, I have a large set of data (firewall logs) that I'm trying to summarize. I've been able to write a script to consolidate the ports, now am looking to conslidate even further, based on IP.
...
1,549
Posted By umang2382
cool, that works! mind if you give a quick...
cool, that works! mind if you give a quick explanation of what the command is doing?
1,549
Posted By umang2382
Bash/shell merge similar lines
Hello,

I've been working on a bash script to parse through firewall logs (cisco). I'm nearing the end and have a dilemma.

My data looks as such (actual data is several gigs worth of logs -...
Showing results 1 to 9 of 9

 
All times are GMT -4. The time now is 08:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy