In a ksh script on an AIX box running a jillion oracle database processes, I'm setting a variable to one of two possible arguments, depending on cmd line arguments.
FINDIT="ps -ef | grep oracle | grep DBexport | grep rshrc"
-or-
FINDIT="ps -ef | grep oracle | grep prod | grep runback"
I... (3 Replies)
hi evry one , I did some ksh scripts for file editing in AIX 5.2 ver,
issue is while I was trying to run these scripts in windows box as batch files windows is not recognising the awk part of the ksh script,as it is GNU environment, so any one who can help me will be appreciated.
this is the... (3 Replies)
Hello, i am new to both this forum and UNIX as well; i am working at a local cancer center trying to reassociate 2 UNIX server systems that i am unfamiliar with; Both C3600 workstations were associated, however they were disassociated and need to be reassociated so programs can be accessed on... (0 Replies)
Hello All,
I have a whole bunch of shell scripts written in a ksh environment and which successfully execute there. However, I found out that they eventually need to be used in a sh environment. So some commands like some_variable=$(some_command) fail because sh doesn't understand $(.....). I... (11 Replies)
Hi
I am new to this Scripting process and would like to know How can i write a ksh script that will call other ksh scripts and write the output to a file and/or email.
For example
-------
Script ABC
-------
a.ksh
b.ksh
c.ksh
I need to call all three scripts execute them and... (2 Replies)
Dear Members,
I have a table REQUESTS in Oracle which has an attribute REQUEST_ACTION. The entries in REQUEST_ACTION are like, ME, MD, ND, NE etc.
I would like to create a script which will will call other scripts based on the request action.
Can we directly read from the REQUEST_ACTION... (2 Replies)
Hi,
How to restrict access to a .ksh script in such the way that the users can only execute the script, neither read nor write.
I tried the below code so that my user alone has the rwx and other users can only execute.
chmod 711 sample.ksh
But when I logged in as a different user... (26 Replies)
I noticed some strange looking parameters on some processes on one of our servers, and after a little playing around we deduced that ksh seemed to be adding a (somewhat random) extra parameter when calling a script without a hashbang in it.
It looks like it's the partial name of the parent... (10 Replies)
Hello!
Is it possible to update an array created in a ksh script by a child script that was spawned by the parent?
So, if I have...
#!/bin/ksh
set -A myArray "Zero" "One" "Two"
echo "0: ${myArray}"
echo "1: ${myArray}"
echo "2: ${myArray}"
./second_script.ksh ${myArray
}
echo... (2 Replies)
I have a need to run any number of identical scripts simultaneously, so I've created a driver script which reads a template script, edits these appropriately and then submits them via nohup. The spawned scripts all check to see at some point how many of their number are running and once the count... (7 Replies)
Discussion started by: safedba
7 Replies
LEARN ABOUT CENTOS
xcmsquerywhite
XcmsQueryBlack(3) XLIB FUNCTIONS XcmsQueryBlack(3)NAME
XcmsQueryBlack, XcmsQueryBlue, XcmsQueryGreen, XcmsQueryRed, XcmsQueryWhite - obtain black, blue, green, red, and white CCC color specifi-
cations
SYNTAX
Status XcmsQueryBlack(XcmsCCC ccc, XcmsColorFormat target_format, XcmsColor *color_return);
Status XcmsQueryBlue(XcmsCCC ccc, XcmsColorFormat target_format, XcmsColor *color_return);
Status XcmsQueryGreen(XcmsCCC ccc, XcmsColorFormat target_format, XcmsColor *color_return);
Status XcmsQueryRed(XcmsCCC ccc, XcmsColorFormat target_format, XcmsColor *color_return);
Status XcmsQueryWhite(XcmsCCC ccc, XcmsColorFormat target_format, XcmsColor *color_return);
ARGUMENTS
ccc Specifies the CCC. Note that the CCC's Client White Point and White Point Adjustment procedures are ignored.
color_return
Returns the color specification in the specified target format for . The white point associated with the returned color specifi-
cation is the Screen White Point. The value returned in the pixel member is undefined.
target_format
Specifies the target color specification format.
DESCRIPTION
The XcmsQueryBlack function returns the color specification in the specified target format for zero-intensity red, green, and blue.
The XcmsQueryBlue function returns the color specification in the specified target format for full-intensity blue while red and green are
zero.
The XcmsQueryGreen function returns the color specification in the specified target format for full-intensity green while red and blue are
zero.
The XcmsQueryRed function returns the color specification in the specified target format for full-intensity red while green and blue are
zero.
The XcmsQueryWhite function returns the color specification in the specified target format for full-intensity red, green, and blue.
SEE ALSO XcmsCIELabQueryMaxC(3), XcmsCIELuvQueryMaxC(3), XcmsTekHVCQueryMaxC(3)
Xlib - C Language X Interface
X Version 11 libX11 1.6.0 XcmsQueryBlack(3)