05-08-2011
ok, but the ps is executed within the program when that instance is still active, there is futher processing in the program after the ps is issued so it should return 1.
Thanks.
Rahul.
10 More Discussions You Might Find Interesting
1. HP-UX
I am new to HP-UX.
I have an 8GB drive that is my root drive, contained in a Volume Group.
I would like to clone that drive to another drive, which is 18.4GB. The other drive is not in a volume group.
I am using this simple command:# dd if=/dev/dsk/c0t6d0 of=/dev/dsk/c0t5d0The command... (4 Replies)
Discussion started by: emsecrist
4 Replies
2. Shell Programming and Scripting
Hi,
Please help me...
I am creating a string of filenames with absolute path and deleting those files situated in the remote server using ssh .. but it doesnot work..
Can anyone help me...
here is my code
for FileName in ${myDire}
do
Tmp=`basename... (4 Replies)
Discussion started by: shihabvk
4 Replies
3. Solaris
I am trying to umount a NFS share.
When I do the following:
# umount syrupg21
umount: /oebs/syrupg21: device is busy
device bussy so I like to check what is working on the system....
# fuser -muv /oebs/syrupg21/
#
So no locks should be there... any clue?
Regards,
Johan... (3 Replies)
Discussion started by: suntac
3 Replies
4. AIX
I posted some errpt output,see Phone Support, that this forum graciously looked at and confirmed what we suspected, that one of our RAID5 disks is failing. I have a replacement, but am having trouble downing the old disk. If I try and run Remove a Disk from smit, it says the device is busy. The... (4 Replies)
Discussion started by: markper
4 Replies
5. UNIX for Advanced & Expert Users
Hi,
I'm hopin' ya can give me an idea or two here.
I'm writing a file transfer tracking program. Users login via FTP or https. These users have NO shell access. I'll get to that in a minute. When they upload or download a file, a script is invoked to log the transfer in a database,... (9 Replies)
Discussion started by: mph
9 Replies
6. UNIX for Dummies Questions & Answers
Firstly, system setup -
HP900 K460, 3 internal hard drives that make up the system volume group(vg00) no software mirroring
HP-ux version 11.00
2 Nike 20 raid arrays attached, fully populated with 40 4gb hot swap drives(All used in production environment)
I have 3 disks that make up my... (0 Replies)
Discussion started by: rees_a
0 Replies
7. Shell Programming and Scripting
We have script like this in the .bash_profile..
#-# determine if session is interactive or in background
if ]; then
while true; do
read -p "Do you wish to load profile yes or no?" yn
case $yn in
* ) source /opt/oracle/.profile; break;;
* ) break;;
*... (2 Replies)
Discussion started by: talashil
2 Replies
8. AIX
Hi Team,
Please help me to resolve the below backup (backupios) issue on my VIO.
My VIO is a SAN booted from EMC and powerpath has been installed on this.
We already run pprootdev fix and linked the /dev/ipldevice to rootvg hdisk.
... (2 Replies)
Discussion started by: Nazar_KA
2 Replies
9. Solaris
Hi,
I am running a rsync command from one server to another server. Source server is having user - bfdeploy and destination user is ftcjbd. Though ftcjbd is owner of /ftc/envs/static/includes/vehicles on destination server, it is still giving error "mkstemp - Permission denied". I am not able to... (4 Replies)
Discussion started by: solaris_1977
4 Replies
10. UNIX for Beginners Questions & Answers
Hi All,
Below is the message I am getting and the process is failing after the child process. The exit status is 11 and the job it is doing is sorting. Is it the status 11 is because of space unavailability. I am sure about the status 11.
Below is the success message I got last on... (4 Replies)
Discussion started by: arunkumar_mca
4 Replies
LEARN ABOUT DEBIAN
glvalidateprogram
GLVALIDATEPROGRAM(3G) [FIXME: manual] GLVALIDATEPROGRAM(3G)
NAME
glValidateProgram - Validates a program object
C SPECIFICATION
void glValidateProgram(GLuint program);
PARAMETERS
program
Specifies the handle of the program object to be validated.
DESCRIPTION
glValidateProgram checks to see whether the executables contained in program can execute given the current OpenGL state. The information
generated by the validation process will be stored in program's information log. The validation information may consist of an empty string,
or it may be a string containing information about how the current program object interacts with the rest of current OpenGL state. This
provides a way for OpenGL implementers to convey more information about why the current program is inefficient, suboptimal, failing to
execute, and so on.
The status of the validation operation will be stored as part of the program object's state. This value will be set to GL_TRUE if the
validation succeeded, and GL_FALSE otherwise. It can be queried by calling glGetProgram() with arguments program and GL_VALIDATE_STATUS. If
validation is successful, program is guaranteed to execute given the current state. Otherwise, program is guaranteed to not execute.
This function is typically useful only during application development. The informational string stored in the information log is completely
implementation dependent; therefore, an application should not expect different OpenGL implementations to produce identical information
strings.
NOTES
This function mimics the validation operation that OpenGL implementations must perform when rendering commands are issued while
programmable shaders are part of current state. The error GL_INVALID_OPERATION will be generated by any command that triggers the rendering
of geometry if:
o any two active samplers in the current program object are of different types, but refer to the same texture image unit,
o the number of active samplers in the program exceeds the maximum number of texture image units allowed.
It may be difficult or cause a performance degradation for applications to catch these errors when rendering commands are issued.
Therefore, applications are advised to make calls to glValidateProgram to detect these issues during application development.
ERRORS
GL_INVALID_VALUE is generated if program is not a value generated by OpenGL.
GL_INVALID_OPERATION is generated if program is not a program object.
ASSOCIATED GETS
glGetProgram() with arguments program and GL_VALIDATE_STATUS
glGetProgramInfoLog() with argument program
glIsProgram()
SEE ALSO
glLinkProgram(), glUseProgram()
COPYRIGHT
Copyright (C) 2003-2005 3Dlabs Inc. Ltd. This material may be distributed subject to the terms and conditions set forth in the Open
Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.
[FIXME: source] 05/30/2012 GLVALIDATEPROGRAM(3G)