07-02-2013
Quote:
Originally Posted by
rafa_fed2
those methods are notr working
Your answer does not help at all! What do you mean by "not working".
Can you be more specific? Post what all issues that you are facing.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am writting a script in the ksh shell and am trying to find a way to report the total execution time of the script without requiring the user to specify the time function when executing the script.
Does anyone have any examples they have used. I have been setting up two date variables (one at... (9 Replies)
Discussion started by: johnsonbryce
9 Replies
2. Shell Programming and Scripting
i want to test whether a script has been executed in last 15 days or not....please help how can i do this...is there any copmmand there to know timings of last execution of any script (8 Replies)
Discussion started by: arghya_owen
8 Replies
3. Shell Programming and Scripting
I have just written a Csh script and i want to find out how long does the script take to complete executing. Is there any codes which i can put into my script to capture its run time ? (9 Replies)
Discussion started by: Raynon
9 Replies
4. Shell Programming and Scripting
Hi,
I have a simple question. How can I get the execution time of a script and maybe put it in a variable?
Another question. How can I get only time and not date and put it in a variable? I tried something with "date" command but with no success...
If someone could help me... (8 Replies)
Discussion started by: Moumou
8 Replies
5. UNIX for Dummies Questions & Answers
Hi All,
Can we get to know the start time and end time of execution of a script? (This script doesn't write any logs.) I mean, is there any built in process logs to track these records? (2 Replies)
Discussion started by: siba.s.nayak
2 Replies
6. Shell Programming and Scripting
Hello,
I'm running a bash script and I'd like to get more accurate a runtime information then now.
So far I've been using this method:
STARTM=`date -u "+%s"`
.........
*script function....
.........
STOPM=`date -u "+%s"`
RUNTIMEM=`expr $STOPM - $STARTM`
if (($RUNTIMEM>59)); then... (6 Replies)
Discussion started by: TehOne
6 Replies
7. Shell Programming and Scripting
Hi ,
I am trying to :wall: my head while scripting ..I am really new to this stuff , never did it before :( .
how to find cpu's system high time and user time high in a script??
thanks , help would be appreciated !
:) (9 Replies)
Discussion started by: sushwey
9 Replies
8. HP-UX
Hi,
I have a HP-UX server were I need to list all the files in the entire file system, their directory path, last modified date, owner and group. I do not need to search the file contents. I created the script given below and I am excluding directories and files of type tmp, temp and log. The... (4 Replies)
Discussion started by: Adyan Faruqi
4 Replies
9. Shell Programming and Scripting
AFILENAME=glow.sh
FILENAME="/${AFILENAME}"
WIDTHA=$(echo ${FILENAME} | wc -c)
NTIME=0
RESULTS=$(for eachletter in $(echo ${FILENAME} | fold -w 1)
do
WIDTHTIMES=$(awk "BEGIN{printf... (5 Replies)
Discussion started by: SkySmart
5 Replies
10. Shell Programming and Scripting
Hello Guys,
I would like to know is there a way to take the script execution time
For e.g i am having a script.sh i need to write inside he script.sh like
Start time : 10-Mar-2016 02:30:35
all code over here
...
End time : 10-Mar-2016 03:30:32
Script start time - 02:30:35 ... (7 Replies)
Discussion started by: Master_Mind
7 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)