12-09-2010
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hello all,
I develop an ERP application that runs on a number of *nix flavors. This application had been around for quite a number of years.
As part of the application launch, we do a check for a background process using the following command:
ps -ef | grep -v grep | grep mi\/ba | grep... (6 Replies)
Discussion started by: jlitzie
6 Replies
2. Shell Programming and Scripting
Hi,
I have 2 shell scripts ,one for taking hot backup of oracle Database while other is for progress bar.
But I don't have an idea hoe should I incorporate the shell script of progress bar in my hot backup code .
Please help.
My shell script for hot backup is as below:
... (0 Replies)
Discussion started by: dwiravi
0 Replies
3. Shell Programming and Scripting
Hi,
I have a log file without date/time, and I want that everytime tail|grep find something it displays the date/time and the line. I have tried something like this command but without any luck to display the date/time:
tail -F catalina.out | sed "s/^/`date `/" | egrep ... (6 Replies)
Discussion started by: julugu
6 Replies
4. Shell Programming and Scripting
Hi all,
I'm reading <advanced bash scripting> and there is a example to kill a background process in a limited time,as shown below:
#! /bin/bash
#set -n
TIMEOUT=$1
count=0
hanging_jobs & {
while ((count < TIMEOUT));do
eval ' && ((count = TIMEOUT))'
((count++))
sleep 1... (6 Replies)
Discussion started by: homeboy
6 Replies
5. Shell Programming and Scripting
Hi everyone
i am very new to linux , working on bash shell.
I am trying to solve the given problem
1. Create a process and then create children using fork
2. Check the Status of the application for successful running.
3. Kill all the process(threads) except parent and first child... (2 Replies)
Discussion started by: vizz_k
2 Replies
6. Shell Programming and Scripting
i have something like this
tablesName="abc def hij akn ... etc etc"
count=0
for i in $tablesName
do
echo -en "\b\b\b\b\b\b\b\b\b\b\b\b\bTableCount: $count"
count=`expr $count + 1`
done
the above is just a description wha i need is when the loop executes
the... (1 Reply)
Discussion started by: vivek d r
1 Replies
7. Shell Programming and Scripting
Hi.
I use this command to get list of running process:
ps -ef|grep ICP|grep -v grep
But how do I set the terminal to show full command? It seems that it always truncated to 60 chars no matter what options I put.
e.g output
oracle9 25011 24998 0 03:00:05 ? 0:00 /usr/bin/sh... (14 Replies)
Discussion started by: aimy
14 Replies
8. UNIX for Advanced & Expert Users
I am using grep as follows
grep --include \*.org -ir "sunspot" -C 3 ./astron_aphys/solarsy/sun/helioseism/localhs/fhankel/
This gives me the filename for each matched line. How can I change the command to print the file name only once rather than having the same file name repeated at... (2 Replies)
Discussion started by: kristinu
2 Replies
9. Shell Programming and Scripting
i've read somewhere a long time ago that there's a way to hide the workings of a script in sub functions so that when run, it doesn't show up in the process table.
is this really possible?
for instance, i need to run a command that has a password in it. and when that;s being run, it can be... (2 Replies)
Discussion started by: SkySmart
2 Replies
10. UNIX for Beginners Questions & Answers
Hi
I wanted to know if there is an option in grep command to show the number of results (not the number of lines of findings).
Thanks (14 Replies)
Discussion started by: abdossamad2003
14 Replies
LEARN ABOUT CENTOS
gldispatchcompute
GLDISPATCHCOMPUTE(3G) OpenGL Manual GLDISPATCHCOMPUTE(3G)
NAME
glDispatchCompute - launch one or more compute work groups
C SPECIFICATION
void glDispatchCompute(GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
PARAMETERS
num_groups_x
The number of work groups to be launched in the X dimension.
num_groups_y
The number of work groups to be launched in the Y dimension.
num_groups_z
The number of work groups to be launched in the Z dimension.
DESCRIPTION
glDispatchCompute launches one or more compute work groups. Each work group is processed by the active program object for the compute
shader stage. While the individual shader invocations within a work group are executed as a unit, work groups are executed completely
independently and in unspecified order. num_groups_x, num_groups_y and num_groups_z specify the number of local work groups that will be
dispatched in the X, Y and Z dimensions, respectively.
ERRORS
GL_INVALID_OPERATION is generated if there is no active program for the compute shader stage.
GL_INVALID_VALUE is generated if any of num_groups_x, num_groups_y, or num_groups_z is greater than or equal to the maximum work-group
count for the corresponding dimension.
ASSOCIATED GETS
glGet() with argument GL_MAX_COMPUTE_WORK_GROUP_COUNT
SEE ALSO
glDispatchComputeIndirect().
COPYRIGHT
Copyright (C) 2012 Khronos Group. 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/.
AUTHORS
opengl.org
opengl.org 06/10/2014 GLDISPATCHCOMPUTE(3G)