Sponsored Content
Top Forums Shell Programming and Scripting How to know who executed a script? Post 302219119 by on9west on Monday 28th of July 2008 05:52:27 AM
Old 07-28-2008
It really help.

Thanks for your hints.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Script working successfully only when executed twice

Guys, i am facing a very strange issue, my code below does an ftp to server A and gets a file to Server B, once the file is in B an if condition is present to check if the pattern of the filename is ABC* then it has to be encrypted using OPENSSL as ABC.enc else if it of pattern 123* has to be... (3 Replies)
Discussion started by: meva
3 Replies

2. Shell Programming and Scripting

Variables of executed script available in executing script

Hi, I have a script get_DB_var.ksh which do a data base call and get some variables as below: sqlplus -silent $user/$pass@dbname <<END select col1, col2, col3 from table_name where col4=$1; exit; END Now I want to access all these variables i.e.... (9 Replies)
Discussion started by: dips_ag
9 Replies

3. AIX

Script not getting executed via cron but executes when executed manually.

Hi Script not getting executed via cron but executes successfully when executed manually. Please assist cbspsap01(appuser) /app/scripts > cat restart.sh #!/bin/ksh cd /app/bin date >>logfile.out echo "Restart has been started....." >>logfile.out date >>logfile.out initfnsw -y restart... (3 Replies)
Discussion started by: samsungsamsung
3 Replies

4. Shell Programming and Scripting

script has been executed successfully or not??

Guys, How can we know whether a script has been executed successfully or not ? We dont have any log directories, and we are not given a chance to modify the script. Could someone help me out with this Thanks (2 Replies)
Discussion started by: bobby1015
2 Replies

5. Shell Programming and Scripting

Shell script executed from Informatica ETL tool is spawning 2 processes for one script

Hi, I am having a shell script which has a while loop as shown below. while do sleep 60 done I am executing this script from Informatica ETL tool command task from where we can execute UNIX commands/scripts. When i do that, i am seeing 2 processes getting started for one script... (2 Replies)
Discussion started by: chekusi
2 Replies

6. Shell Programming and Scripting

Shell script not getting executed

Hi As per my requirement when I run . ./file.sh am getting the following error -bash:ELF: command not found when i execute as ./file.sh it is getting executed.How to resolve this. Thanks in advance. (3 Replies)
Discussion started by: pracheth
3 Replies

7. Shell Programming and Scripting

INIT Script Getting Executed Twice?

Hello All, I copied and pasted the "/etc/init.d/skeleton" file to a new one so I could create my own init script for a program. Basically the ONLY edit I made to the skeleton "template" so far was to search and replace "FOO" with "snort". *NOTE: I know there are a bunch of snort init scripts... (6 Replies)
Discussion started by: mrm5102
6 Replies

8. Shell Programming and Scripting

Capture run time of python script executed inside shell script

I have bash shell script which is internally calling python script.I would like to know how long python is taking to execute.I am not allowed to do changes in python script.Please note i need to know execution time of python script which is getting executed inside shell .I need to store execution... (2 Replies)
Discussion started by: Adfire
2 Replies

9. Shell Programming and Scripting

Script is not getting executed

Hi All, I have written a programme where i need to work in one session but when that session get executed it doesnt execute other programme till I write exit. Below is the script #!/bin/bash echo 'Going to start' exectrusteduser.com sh.com cd /UAT_Logs/CDCI_LOGS/SEEDADM pwd echo... (6 Replies)
Discussion started by: ripudaman.singh
6 Replies

10. Shell Programming and Scripting

Create file when script has executed

I would like to get some kind of notification when a script has been executed. I know how to get an email sent, but I something different. This works, unless it occurs when I am not at my computer. notify-send "Cleanup of Backup Directories complete." It could even involve creating... (2 Replies)
Discussion started by: drew77
2 Replies
XSetNormalHints(3X11)													     XSetNormalHints(3X11)

Name
       XSetNormalHints, XGetNormalHints - set or get normal state hints

Syntax
       XSetNormalHints(display, w, hints)
	     Display *display;
	     Window w;
	     XSizeHints *hints;

       Status XGetNormalHints(display, w, hints_return)
	     Display *display;
	     Window w;
	     XSizeHints *hints_return;

Arguments
       display	 Specifies the connection to the X server.

       hints	 Specifies a pointer to the size hints for the window in its normal state.

       hints_return
		 Returns the size hints for the window in its normal state.

       w	 Specifies the window.

Description
       The function sets the size hints structure for the specified window.  Applications use to inform the window manager of the size or position
       desirable for that window.  In addition, an application that wants to move or resize itself should call and specify its new  desired  loca-
       tion  and  size	as  well  as  making direct Xlib calls to move or resize.  This is because window managers may ignore redirected configure
       requests, but they pay attention to property changes.

       To set size hints, an application not only must assign values to the appropriate members in the hints structure but also must set the flags
       member of the structure to indicate which information is present and where it came from.  A call to is meaningless, unless the flags member
       is set to indicate which members of the structure have been assigned values.

       can generate and errors.

       The function returns the size hints for a window in its normal state.  It returns a nonzero status if it succeeds or zero if  the  applica-
       tion specified no normal size hints for this window.

       can generate a error.

Property
       WM_NORMAL_HINTS

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
       XSetCommand(3X11), XSetIconName(3X11), XSetIconSizeHints(3X11), XSetSizeHints(3X11), XSetStandardProperties(3X11), XSetWMHints(3X11), XSet-
       ZoomHints(3X11), XStoreName(3X11)
       Guide to the Xlib Library

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