I am using the following code in my shell script
list=`sqlplus -s $user/$pwd@$dbms<<EOF
WHENEVER SQLERROR EXIT SQL.SQLCODE
set pagesize 0 feedback off verify off heading off echo off
select * from control_tbl
where src_nm=$3
and extrct_nm=$4;
exit SQL.SQLCODE;
EOF`
ERROR=$?... (1 Reply)
Hi,
I am running a shell script called dbProcess.sh which performs shutdown and startup of various Oracle instances we have.At the time of execution the script produces the following output to the command line window
$./dbProcess.sh stop
#### Run Details ######
Hostname : server-hop-1... (4 Replies)
Hi,
I have shell script that checks processes forever.
But somehow it is killed and I want to know what causes it.
while
do
check the processes if they are running, if not restart them
done
I want to capture the output when the script is terminated, how can I do that?
/Andreas (2 Replies)
Hi,
I have a bash script which calls a few "make". I would like to know whether the makefile failed with any errors. How do I do that in the script?
Thanks,
S (2 Replies)
Hi,
as the title says, I am after a simple script, which will open the Alert log from
an 11.2.0.1 Linux environment and mail the error message and description to a recipient email address.
I can then schedule this job via cron and let it run every 15 minutes.
I have searched online... (16 Replies)
I am trying to capture screenshots from a huge list of URLs. I am able to manually capture images of individual pages; that is, I simply run the following command to get a screenshot of Foo.com
$ python /path/to/screencapture.sh http://www.foo.com
I want to modify the script so that instead of... (2 Replies)
hi,
i want to pop up an alert box using perl script. my requirement is.
i am using a html page which calls a perl script. this perl script calls a shell script.. after the shell script ends its execution, i am using exit 0 to terminate the shell script successfully and exit 1 to terminate the... (3 Replies)
I have bash shell script which is internally calling python script.I would like to know how long python is taking to execute.I am not allowed to do changes in python script.Please note i need to know execution time of python script which is getting executed inside shell .I need to store execution... (2 Replies)
Hello Experts,
Greeting to all of you.
I have a requirement, that we have a shell script status.sh
that check the status of server and server status shows as status.sh
Enterprise Server - Running
Admin Server - Shutdown
Requirement is like whenever the output shows shutdown it should... (2 Replies)
Discussion started by: aks_1902
2 Replies
LEARN ABOUT SUSE
gnome-screenshot
GNOME-SCREENSHOT(1)GNOME-SCREENSHOT(1)NAME
gnome-screenshot - capture the screen, a window, or an user-defined area and save the snapshot image to a file.
SYNOPSIS
gnome-screenshot [ -w ] [ -a ] [ -b ] [ -B ] [ -d SECONDS ] [ -e EFFECT ] [ -i ] [ --display DISPLAY ]
DESCRIPTION
gnome-screenshot is a GNOME utility for taking screenshots of the entire screen, a window or an user-defined area of the screen, with
optional beutifying border effects.
OPTIONS -w, --window
Grab the current active window instead of the entire screen.
-a, --area
Grab an area of the screen instead of the entire screen.
-b, --include-border
Include the window border within the screenshot.
-B, --remove-border
Remove the window border from the screenshot.
-d, --delay=SECONDS,
Take the screenshot after the specified delay [in seconds].
-e, --effect=EFFECT,
Add an effect to the outside of the screenshot border. EFFECT can be ``shadow'' (adding drop shadow), ``border'' (adding rectangu-
lar space around the screenshot) or ``none'' (no effect). Default is ``none''.
-i, --interactive
Interactively set options in a dialog.
--display=DISPLAY
X display to use.
-?, -h, --help
Show a summary of the available options.
In addition, the usual GTK+ and GNOME command line options apply. See the output of --help for details.
SEE ALSO gnome-options(7), gtk-options(7)AUTHOR
This manual page was written by Christian Marillat <marillat@debian.org> for the Debian GNU/Linux system (but may be used by others).
Updated by Theppitak Karoonboonyanan <thep@linux.thai.net>, Tom Feiner <feiner.tom@gmail.com> and Cosimo Cecchi <cosimoc@gnome.org>
June 28, 2009 GNOME-SCREENSHOT(1)