12-04-2010
thank you guys... but all the commands are working in foreground
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am running a number of processes through a kill -15 loop as a temporary fix to some viscious memory leaks. I cannot pass the entire list of processes through the kill at once, because the nature of the monitoring my client has will cause the software to failover.
Because of the large number of... (1 Reply)
Discussion started by: mattd
1 Replies
2. UNIX for Dummies Questions & Answers
If I give sleep(50) what does it mean?
My program waits for further execution or all my other processes wait? (3 Replies)
Discussion started by: leewar
3 Replies
3. Shell Programming and Scripting
I am in need of some help; think I have confused myself.
Here is the issue I am faced with.
The script log file was fine, the nohup.out file has tens of thousands of lines like illegal use of sleep: sleep seconds
So I assume there is something with the seconds calculation in the script... (1 Reply)
Discussion started by: Glove
1 Replies
4. UNIX for Dummies Questions & Answers
Hi All I have a requiremnt to run a script inside another script.
here i am pulling the record count from the table in oracle.If record count is greater than 0 the script is executed.The scripts updates the count in the table and again the count is found out and the condition is checked and same... (3 Replies)
Discussion started by: dr46014
3 Replies
5. Shell Programming and Scripting
Hi,
Did the sleep command work for hours or only minutes
just give description to work on my script
waiting for the earliest response (5 Replies)
Discussion started by: thelakbe
5 Replies
6. UNIX for Dummies Questions & Answers
Hi Forum
Im using sleep in a while loop goes around 10 times. i feed it a variable with the time i what it to sleep for eg sleep $sleepVal and then print system date and time to screen but sometimes 1 second is added to the time why is this
here my code
sleepVal=5
while
do
... (3 Replies)
Discussion started by: ShinTec
3 Replies
7. Shell Programming and Scripting
Hi All,
i am very new to shall script . i am not that much aware of sleep command ,
i want to terminate the sleep command after certain time.
following is my code.
while
loop
sleep 1800
messag=/status.sql
donethe script will be on sleep untill the messag be comes P. here my requirement... (4 Replies)
Discussion started by: mandlysreedhar
4 Replies
8. Shell Programming and Scripting
Hello,
Need a little help with the script below. I can't get it to sleep :( I'm trying to get this to check if the process is running and if it is, wait 10 secs and check again. Keep doing this until it's not running and then stop checking and send the email.
#!/bin/ksh
mailto=`cat... (2 Replies)
Discussion started by: bbbngowc
2 Replies
9. Shell Programming and Scripting
Hi Frnz,
I need to execute sleep command but i dont know the definite time.
Let me put my req:
I am running one shell script and this script creates some lock file in temp dir ...now in my script i want one function to go into sleep mode till this lock file exists..one lock file gone that... (6 Replies)
Discussion started by: gnnsprapa
6 Replies
10. Shell Programming and Scripting
I need help in script.
I want my one script execute every time at 6:30 am and i have no cron access.
So i am putting sleep command there , Script may took half an hour 35 min , it depend upon queries how much it take time, but that is not issue,
So i want according to stop time of... (15 Replies)
Discussion started by: pallvi_mahajan
15 Replies
LEARN ABOUT ULTRIX
xsetbackground
XSetState(3X11) MIT X11R4 XSetState(3X11)
Name
XSetState, XSetFunction, XSetPlanemask, XSetForeground, XSetBackground - GC convenience routines
Syntax
XSetState(display, gc, foreground, background, function, plane_mask)
Display *display;
GC gc;
unsigned long foreground, background;
int function;
unsigned long plane_mask;
XSetFunction(display, gc, function)
Display *display;
GC gc;
int function;
XSetPlaneMask(display, gc, plane_mask)
Display *display;
GC gc;
unsigned long plane_mask;
XSetForeground(display, gc, foreground)
Display *display;
GC gc;
unsigned long foreground;
XSetBackground(display, gc, background)
Display *display;
GC gc;
unsigned long background;
Arguments
background
Specifies the background you want to set for the specified GC.
display Specifies the connection to the X server.
foreground
Specifies the foreground you want to set for the specified GC.
function Specifies the function you want to set for the specified GC.
gc Specifies the GC.
plane_mask
Specifies the plane mask.
Description
The function sets the foreground, background, plane mask, and function components for the specified GC.
can generate and errors.
sets a specified value in the specified GC.
can generate and errors.
The function sets the plane mask in the specified GC.
can generate and errors.
The function sets the foreground in the specified GC.
can generate and errors.
The function sets the background in the specified GC.
can generate and errors.
Diagnostics
The server failed to allocate the requested resource or server memory.
A value for a GContext argument does not name a defined GContext.
Some numeric value falls outside the range of values accepted by the request.
Unless a specific range is specified for an argument, the full range defined by the argument's type is accepted. Any argument
defined as a set of alternatives can generate this error.
See Also
XCreateGC(3X11), XQueryBestSize(3X11), XSetArcMode(3X11), XSetClipOrigin(3X11), XSetFillStyle(3X11), XSetFont(3X11), XSetLineAt-
tributes(3X11), XSetTile(3X11)
X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys
XSetState(3X11)