Search Results

Search: Posts Made By: delphys
8,718
Posted By delphys
ok, so I need to apologize for being a little...
ok, so I need to apologize for being a little reticent..

I am trying to extract paragraphs of data from the wireshark pcap
for our Client's traffic, hence the sensitivity issue..
Doing this on...
8,718
Posted By delphys
Thank you all.. Yeah tried the perl command...
Thank you all..

Yeah tried the perl command too but didnt work ..

Looks like there is no solution..
8,718
Posted By delphys
Thnx.. But when I try it on the real data, it...
Thnx.. But when I try it on the real data, it just greps the string ..
Not the whole paragraph..
8,718
Posted By delphys
Yes I tried setting RS & ORS the same value but...
Yes I tried setting RS & ORS the same value but the output is the same, I am afraid..
Still cuts out the RS value..:


awk -v RS="CREATE" -v ORS="CREATE" '/table7/' test.out
...
8,718
Posted By delphys
How to extract a paragraph containing a given string?
Hello:

Have a very annoying problem:

Need to extract paragraphs with a specific string in them from a very large file
with a repeating record separator.

Example data: a file called test.out...
Forum: Solaris 02-03-2016
2,845
Posted By delphys
That worked on my Arch Linux !! Thank you so...
That worked on my Arch Linux !!

Thank you so much Jlliagre !!
Forum: Solaris 02-03-2016
2,845
Posted By delphys
Oh I C .. Thnx.. So How do I pipe the gdm...
Oh I C .. Thnx..

So How do I pipe the gdm screen to my Linux host just using XDMCP ??

Without using VNC.. Thnx again
Forum: Solaris 02-03-2016
2,845
Posted By delphys
Well, no gdm screen from the Solaris host showed...
Well, no gdm screen from the Solaris host showed on the Linux host ..

Am I missing something ??
Forum: Solaris 02-02-2016
2,845
Posted By delphys
Tunnel X over ssh for 11.3
Hello Solaris experts:

Trying to bring the 11.3 gdm screen over ssh to a Linux Box:

I did the following:

1. made chanes to /etc/ssh/sshd_config & bounced ssh daemon:

# X11 tunneling...
904
Posted By delphys
Thank you very much -- That worked
Thank you very much -- That worked
904
Posted By delphys
Output formatting problem
Hello;

I have a simple loop filtering a log:
for LU in $(< LU-list-Final)
do
OUT=$(grep -B1 $LU cibc-src-ip.cap |egrep 'IP 16|IP 19|IP 15' |awk -F">" '{print $1}')
if [ "$OUT" != "" ]; then...
2,173
Posted By delphys
finally solved it.. tcpdump -i T3501 -A...
finally solved it..

tcpdump -i T3501 -A ether host 00:1e:49:29:fc:c9 or ether host 00:1b:2b:86:ec:1b or ether host 00:21:1c:98:a4:08 and net 149.83.6.0/24 \
| grep --line-buffered -B 20 IBM-32 |...
2,173
Posted By delphys
sorry .. that was my typo.. all should be...
sorry .. that was my typo.. all should be "IBM-3278"

Thnx

---------- Post updated 04-15-14 at 10:38 AM ---------- Previous update was 04-14-14 at 07:04 PM ----------

ok so I made some...
2,173
Posted By delphys
Thank you very much but I am not getting any...
Thank you very much but I am not getting any output..

tcpdump | awk '/^[0-9]*:[0-9]*/ {src=$3} match($0, /IBM-32[^.]*\.[^.]*/) { str=substr($0,RSTART,RLENGTH);\
> ibm[str]=src FS ibm[str] } END...
2,173
Posted By delphys
Extract & Manipulate continous data stream-- tcpdump
Hello;

I have this rather tricky problem to solve --(to me, anyways) ..

I am processing the following one liner with tcpdump..

tcpdump -i T3501 -A ether host 00:1e:49:29:fc:c9 or ether host...
1,269
Posted By delphys
Thank you all, that worked
Thank you all, that worked
1,269
Posted By delphys
Interesting awk problem
Hello;

I wish to manipulate the output from the following:

ps axo %mem,pid,euser,cmd|sort -nr
14.4 3170 root /usr/sbin/snmpd -Lsd -Lf /dev/null -p /var/run/snmpd.pid -a
3.6 3635 root ...
Forum: Red Hat 08-16-2012
6,803
Posted By delphys
up2date command not found on Ent. 6.2 install
Folks; New to redhat coming from hp-ux.. After fresh install of Ent 6.2, can not find up2date on the system except the manpage .. Does 6.2 stop using up2date ?? Googled it but nothing concrete...
Forum: Red Hat 07-31-2012
1,050
Posted By delphys
configuring X on Enterprise v6.2
Hello; nerw to configuring X windows on redhat .. After a fresh install of Enterprise v6.2 w/ kde desktop pkg, noticed the follwing: 1. metacity wm is installed 2. gdm also seems to be running 3....
1,242
Posted By delphys
No I do not login locally as root.. However, I...
No I do not login locally as root..
However, I am in the sudoers to be root in Remote Boxes that I run scripts against.
Just to clarify, passwordless login to remote boxes for root was taken away...
1,242
Posted By delphys
sudo scripts conundrum
hello; Got a problem running monitoring scripts using sudo ssh.. Mgmt decided to take away root sudoers access.. so most of the scripts ran as:

sudo ssh $BOX ...

Now I need to run them as:
...
Forum: HP-UX 06-05-2012
4,216
Posted By delphys
[Solved] a way to tell printer used by configured print queue?
Hello;

As the title says, am trying to find our which driver is used for the alraedy working print queues..

neither hpnpf nor hppi seems to give that info ..

Any ideas ??

Thnx
13,990
Posted By delphys
Fantastic !! Thank you
Fantastic !! Thank you
13,990
Posted By delphys
How to test for the ssh exit status in script?
Hello;

I regularly run monitoring scripts over ssh to monitoring scripts
But whenever a server is hung or in maintenance mode, my script hangs..

Are there anyways to trap exit status and be on...
831
Posted By delphys
Thank you itkamaraj
Thank you itkamaraj
Showing results 1 to 25 of 77

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