Infinite while loop script shows more than one process
Hi,
I have a script which triggers an infinite loop.
The number of process after doing a ps -ef |grep Mon.sh returns
processes even after the script is killed by deleting the trigger file.
Hi All,
I have a requirement as below.
I supposed to get a file from Source system once in a month. But we dont know when the source system will send the file. My script has to wait for that file in LOOP once it gets the file then it has to FTP the file.
I thought of scheduling the job... (5 Replies)
Hi,
I got a simple script working to check if a process is running and then email if it is not running anymore. My scenario is that I need to make sure the process is always running so instead of running the below script via cron I think it is better to a have a looping script to check... (12 Replies)
Hi all,
I have a script which triggers batch admin manager and gets the top 10 jobs and their status info. the output of this script is the list of all these jobs. I want to run this in infinite loop which will show top 100 jobs' status.
the script is as follows
#!/bin/sh
exec &> capture1.txt... (1 Reply)
Hi
I am working on a server that is set up and maintained by a third party. It seems whenever I run bash scripts in the background (with a &) with while loops in them they seem to me killed in around 2.5 hours. ( I am running them as a normal user with no special privileges ) . Is there a... (3 Replies)
Hi, I was debating if I should put this in the dummies or scripts section, I apologize in advance if I chose poorly.
Fairly new to Unix and BASH scripting but I thought I made it fairly well given my limited understanding. However, the output indicates that it's looping and I'm ending up with a... (5 Replies)
cd /opt/et/WAS/apps/8.0
find . -name "HostIntegration.properties" -o -name "HostSocket.properties" -o -name "environment.properties" 2> /dev/null | awk -F '' '{print $4}'|awk '!x++' | cat>/home/cbadmin/file1.txt
cd /home/cbadmin/
PS3='Please enter a number from list of applications==>:'
select... (3 Replies)
I am writing a shell script that calls this oracle utility to get some information about the DB that I need for the script
https://docs.oracle.com/cd/B16240_01/doc/em.102/e15294/options.htm
This is the command that I am running:
$ORACLE_HOME/OPatch/opatch lsinventory -details | grep -i... (1 Reply)
Hello Experts,
I have created one user confirmation process that will ask for user input. I have created one func for it. The issue is if i call it as normal then it works fine but if i am calling it in another script(in while loop) . It is going in infinite loop and not asking for user input. ... (8 Replies)
Discussion started by: looney
8 Replies
LEARN ABOUT MOJAVE
glutlayerget
glutLayerGet(3GLUT) GLUT glutLayerGet(3GLUT)NAME
glutLayerGet - retrieves GLUT state pertaining to the layers of the current window.
SYNTAX
#include <GLUT/glut.h>
int glutLayerGet(GLenum info);
ARGUMENTS
info Name of device information to retrieve.
GLUT_OVERLAY_POSSIBLE
Whether an overlay could be established for the current window given the current initial display mode. If false, glutEstablishOver-
lay will fail with a fatal error if called.
GLUT_LAYER_IN_USE
Either GLUT_NORMAL or GLUT_OVERLAY depending on whether the normal plane or overlay is the layer in use.
GLUT_HAS_OVERLAY
If the current window has an overlay established.
GLUT_TRANSPARENT_INDEX
The transparent color index of the overlay of the current window; negative one is returned if no overlay is in use.
GLUT_NORMAL_DAMAGED
True if the normal plane of the current window has damaged (by window system activity) since the last display callback was trig-
gered. Calling glutPostRedisplay will not set this true.
GLUT_OVERLAY_DAMAGED
True if the overlay plane of the current window has damaged (by window system activity) since the last display callback was trig-
gered. Calling glutPostRedisplay or glutPostOverlayRedisplay will not set this true. Negative one is returned if no overlay is in
use.
DESCRIPTION
glutLayerGet retrieves GLUT layer information for the current window represented by integers. The info parameter determines what type of
layer information to return.
SEE ALSO
glutEstablishOverlay, glutUseOverlay, glutCreateWindow, glutSetColor
AUTHOR
Mark J. Kilgard (mjk@nvidia.com)
GLUT 3.7 glutLayerGet(3GLUT)