Hello all,
How do I start a background process and save the process id to a file on my system. For example %wait 5 & will execute and print the process id. I can't figure out how to get it to a file. I've tried: > filename 0>filename 1>filename.
Any assistance is most appreciated.
Thanks,
Jim... (10 Replies)
Hi,
I have a main script(main.ksh) within which I have called another script(sub.ksh). The sub.ksh script is made to run in the background using '&'. The main.ksh script logs the information in a logfile main_ddmmyy and the sub.ksh script also logs the information in the log file sub_ddmmyy.... (5 Replies)
hello all,
In my script i have written some messages which should come in screen while some background process is going on..
Like for example:
if i want to add 2 numbers a and b ...when the addition is going on in the background i should get "ADDING TWO NUMBERS>>PLEASE WAIT " message on... (3 Replies)
What I need to learn is how to use a script that launches background processes, and then kills those processes as needed.
The script successfully launches the script. But how do I check to see if the job exists before I kill it?
I know my problem is mostly failure to understand parameter... (4 Replies)
Hi,
I am using net::ftp for transferring files now i am trying in the same Linux server as a result ftp is very fast but if the server is other location (remote) then the file transferred will be time consuming.
So i want try putting FTP part as a background process. I am unaware how to do... (5 Replies)
Im trying to make a script that prints 2 messages to a screen session, one after the other.
screen -x session44 -X stuff "`printf "Test 1\r"`"
This works fine, but adding a second lien with a different message yields no results.
Changed Subject: Please Follow Forum Rules Regarding... (1 Reply)
Hi,
I have written a menu driven shell script in which as per the choice, I run the another script on background.
For eg:
1. get info
2)process info
3)modify info
All the operations have different scripts which i schedule in background using &.
However I wish to display the error... (0 Replies)
Hi
I am facing a problem in my ksh.
My main script is calling 3 different child process in the background.
I am using wait to finish all and then submit another 3 child processes.
Now what i want is , whenever any one child process finishes ,i want to submit next one.so that parallel 3... (2 Replies)
Discussion started by: Sangu
2 Replies
LEARN ABOUT OSF1
xmgetcolors
XmGetColors(3X)XmGetColors(3X)NAME
XmGetColors - A function that generates foreground, select, and shadow colors
SYNOPSIS
#include <Xm/Xm.h>
void XmGetColors (screen, colormap, background, foreground, top_shadow, bottom_shadow, select)
Screen * screen;
Colormap colormap;
Pixel background;
Pixel * foreground;
Pixel * top_shadow;
Pixel * bottom_shadow;
Pixel * select;
DESCRIPTION
XmGetColors takes a screen, a colormap, and a background pixel, and it returns pixel values for foreground, select, and shadow colors.
Specifies the screen for which these colors should be allocated. Specifies the colormap from which these colors should be allocated.
Specifies the background on which the colors should be based. Specifies a pointer to the returned foreground pixel value. If this argu-
ment is NULL no value is allocated or returned for this color. Specifies a pointer to the returned top shadow pixel value. If this argu-
ment is NULL no value is allocated or returned for this color. Specifies a pointer to the returned bottom shadow pixel value. If this
argument is NULL no value is allocated or returned for this color. Specifies a pointer to the returned select pixel value. If this argu-
ment is NULL no value is allocated or returned for this color.
SEE ALSO XmChangeColor(3X), XmGetColorCalculation(3X), XmSetColorCalculation(3X)XmGetColors(3X)