03-06-2009
Help with back ground scripts...
I have a user that runs a menu driven application, is there a way to see what scripts this application is executing in the back ground?
OS=AIX 4.3
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
Test1.ksh
#! /bin/ksh
for i in $*
do
#echo "$i"
ksh test2.ksh $i &
done
test2.ksh
#! /bin/ksh
sleep 5s
echo "From Test 1 ==> $1"
exit 0;
I am executing as follows:
ksh test1.ksh a b c (10 Replies)
Discussion started by: risshanth
10 Replies
2. Shell Programming and Scripting
I have a script "a" running in background. From script "a" i will kick off script "b" which will also be in background. Is this possible. And actually what i want is, In script "b" when i do ps -ef, script "a" should not be seen.
Current "a" script
----
---
----
nohup b
exit
current... (1 Reply)
Discussion started by: vasuarjula
1 Replies
3. Solaris
Hi Everyone,
I would like to write a Back-up script for huge files and 3 day old file. I think i need to use Tar command for it. But I am not sure how this can be done. Can someone please assist me on this. (4 Replies)
Discussion started by: gehlnar
4 Replies
4. Shell Programming and Scripting
hi guys linux noob here wanting to learn linux scripting, i need help with a backup script that not only allows me to back up my files but restore them to my own personal directory, had a look at some of the coding from the scripts section on this site but still lost.
any help is much appreciated (8 Replies)
Discussion started by: burnie35
8 Replies
5. Shell Programming and Scripting
#!/bin/sh
##########################################################################################################
#This script is being used for AOK application for cleaning up the .out files and zip it under logs directory.
# IBM
# Created
#For pdocap201/pdoca202 .out files for AOK
#1.... (0 Replies)
Discussion started by: mridul10_crj
0 Replies
6. Shell Programming and Scripting
Dears
i have a scrip run in unix that need to use the tail -f command, as below:
DATE=`date '+%m%d%y'`
tail -f /var/messages | grep "start" >> /export/logs/start_${DATE}.out
but the problem that the tail -f will be stop and working in the background in then end of the day (23:59:59)... (0 Replies)
Discussion started by: thehero
0 Replies
7. Shell Programming and Scripting
Hi friends,
i have two scripts(call it bg1.ksh and bg2.ksh) which needs to be run parallely on background from a script(call it test1.ksh).then i have to wait till these two back ground job gets finished. and once it is completed , then i have to trigger one more script(call it... (4 Replies)
Discussion started by: neelmani
4 Replies
8. Shell Programming and Scripting
My script is as follows:
#!/bin/bash
STR1="test"
echo $STR1
STR2="/bldtmp/"$STR1
echo $STR2
STR3=$STR2'/tmp'
echo $STR3
output i am geting
----------------
test
/bldtmp/test
/tmptmp/test
but my need is:
------------------
test
/bldtmp/test (1 Reply)
Discussion started by: dchoudhury
1 Replies
LEARN ABOUT OSF1
xmgettearoffcontrol
XmGetTearOffControl(3X) XmGetTearOffControl(3X)
NAME
XmGetTearOffControl - A RowColumn function that obtains the widget ID for the tear-off control in a menu
SYNOPSIS
#include <Xm/RowColumn.h>
Widget XmGetTearOffControl (menu)
Widget menu;
DESCRIPTION
XmGetTearOffControl provides the application with the means for obtaining the widget ID of the internally created tear-off control in a
tear-off menu.
RowColumn creates a tear-off control for a PulldownMenu or PopupMenu when the XmNtearOffModel resource is initialized or set to
XmTEAR_OFF_ENABLED. The tear-off control is a widget that appears as the first element in the menu. The user tears off the menu by means of
mouse or keyboard events in the tear-off control.
The tear-off control has Separator-like behavior. Once the application has obtained the widget ID of the tear-off control, it can set
resources to specify the appearance of the control. The application or user can also set these resources in a resource file by using the
name of the control, which is "TearOffControl". For a list of the resources the application or user can set, see XmRowColumn(3X). Speci-
fies the widget ID of the RowColumn PulldownMenu or PopupMenu
For more information on tear-off menus and a complete definition of RowColumn and its associated resources, see XmRowColumn(3X).
RETURN VALUE
Returns the widget ID for the tear-off control, or NULL if no tear-off control exists. An application should not assume that the returned
widget will be of any particular class.
SEE ALSO
XmRowColumn(3X)
XmGetTearOffControl(3X)