Sponsored Content
Special Forums UNIX and Linux Applications Infrastructure Monitoring Can someone run this .awk script? Post 302451008 by Review on Sunday 5th of September 2010 08:35:58 AM
Old 09-05-2010
I'm interested in protocols from third layer and onward. More precisely all protocols I'm looking for are listed in .awk script and I have to have them listed in txt file exactly as the script says.
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Run Shell Script into AWK

Hi Guys.. How to run a Shell Script into AWK instruction :confused::confused: (3 Replies)
Discussion started by: gandarez
3 Replies

2. UNIX for Dummies Questions & Answers

how to run script from awk

Hi Friends, I'm trying to retrigger a script if the IN_FILE is empty(except the first line) how many I do this? script need to be retriggered: /local/temp/scriptex.ksh right now I have awk '{if ($2 == "") {cd /local/temp ./scriptex.ksh}}' $IN_FILE but doesn't work Thanks (2 Replies)
Discussion started by: UNovIX
2 Replies

3. AIX

My script didn't run every run every minute at cronjob

In my cronjob, I would like to schedule my script.sh to run every minutes. I crontab -e and have in line below but it didn't seems to run at all. * * * * * script.sh When I run it manually, I can run it. Is that anything wrong with the above line? If I change it to something like below,... (4 Replies)
Discussion started by: ngaisteve1
4 Replies

4. Homework & Coursework Questions

Can someone run this .awk script?

NOTE: I'm not asking that someone do my project for me nor do I need help with logical part of my homework assignment. I just need someone to run the script on a wireshark file and send me output file. This requires 1min of time from experienced awk user and for me it's pain of learning how to... (2 Replies)
Discussion started by: Review
2 Replies

5. Shell Programming and Scripting

how to run an already made script run against a list of ip addresses solaris 8 question

how to run an already developed script run against a list of ip addresses solaris 8 question. the script goes away and check traffic information, for example check_GE-VLANStats-P3 1.1.1.1 and returns the results ok. how do I run this against an ip list? i.e a list of 30 ip addresses (26 Replies)
Discussion started by: llcooljatt
26 Replies

6. Shell Programming and Scripting

Awk script to run a sql and print the output to an output file

Hi All, I have around 900 Select Sql's which I would like to run in an awk script and print the output of those sql's in an txt file. Can you anyone pls let me know how do I do it and execute the awk script? Thanks. (4 Replies)
Discussion started by: adept
4 Replies

7. Shell Programming and Scripting

Run awk script on windows?

Hi , I am struck with one problem here. I have awk script which deals with a log file and gives result. It works perfect on linux. But my problem is I want to run it on windows. How I can run my awk script on windows? Please guide me on this. how to proceed further? Thanks pamu (5 Replies)
Discussion started by: pamu
5 Replies

8. Shell Programming and Scripting

Script fails to run properly when run from CRONTAB

Hello all, I'm trying to write a script to gather and send data and it works just fine at the bash command line, but when executing from CRON, it does not run properly. My scripting skills are pretty limited and there's probably a better way, but as I said it works at the command line, but... (12 Replies)
Discussion started by: rusman
12 Replies

9. Shell Programming and Scripting

Shell script run in a case statement call to run a php file, also Perl

Linux System having all Perl, Python, PHP (and Ruby) installed From a Shell script, can call a Perl, Python, PHP (or Ruby ?) file eg eg a Shell script run in a case statement call to run a php file, also Perl or/and Python file??? Like #!/usr/bin/bash .... .... case $INPUT_STRING... (1 Reply)
Discussion started by: hoyanet
1 Replies
XSetWMProtocols(3X11)						     MIT X11R4						     XSetWMProtocols(3X11)

Name
       XSetWMProtocols, XGetWMProtocols - set or read a window's WM_PROTOCOLS property

Syntax
       Status XSetWMProtocols(display, w, protocols, count)
	  Display *display;
	  Window w;
	  Atom *protocols;
	  int count;

       Status XGetWMProtocols(display, w, protocols_return, count_return)
	  Display *display;
	  Window w;
	  Atom **protocols_return;
	  int *count_return;

Arguments
       display	 Specifies the connection to the X server.

       count	 Specifies the number of protocols in the list.

       count_return
		 Returns the number of protocols in the list.

       protocols Specifies the list of protocols.

       protocols_return
		 Returns the list of protocols.

Description
       The function replaces the WM_PROTOCOLS property on the specified window with the list of atoms specified by the protocols argument.  If the
       property does not already exist, sets the WM_PROTOCOLS property on the specified window to the list of atoms specified by the protocols
       argument.  The property is stored with a type of ATOM and a format of 32.  If it cannot intern the WM_PROTOCOLS atom, returns a zero sta-
       tus.  Otherwise, it returns a non-zero status.

       can generate and errors.

       The function returns the list of atoms stored in the WM_PROTOCOLS property on the specified window.  These atoms describe window manager
       protocols in which the owner of this window is willing to participate.  If the property exists, is of type ATOM, is of format 32, and the
       atom WM_PROTOCOLS can be interned, sets the protocols_return argument to a list of atoms, sets the count_return argument to the number of
       elements in list, and returns a a non-zero status.  Otherwise, it sets neither of the return arguments and returns a zero status.  To
       release the list of atom, use

       can generate a error.

Properties
       WM_PROTOCOLS
		 List of atoms that identify the communications protocols between the client and window manager in which the client is willing to
		 participate.

Diagnostics
       The server failed to allocate the requested resource or server memory.

       A value for a Window argument does not name a defined Window.

See Also
       XAllocClassHint(3X11), XAllocIconSize(3X11), XAllocSizeHints(3X11), XAllocWMHints(3X11), XFree(3X11), XSetCommand(3X11), XSetTransient-
       ForHint(3X11), XSetTextProperty(3X11), XSetWMClientMachine(3X11), XSetWMColormapWindows(3X11), XSetWMIconName(3X11), XSetWMName(3X11),
       XSetWMProperties(3X11), XStringListToTextProperty(3X11)
       X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys

															     XSetWMProtocols(3X11)
All times are GMT -4. The time now is 02:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy