9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
So I need to write a script (script1) which run other script (script2) multiple time, but split the runs.
lets say I need to run 100 times. but I want it to run 5 times at a time and after all the 5 runs of script2 are done anther 5 start.
Script1 define the variable in script2 as the number... (2 Replies)
Discussion started by: galboski
2 Replies
2. UNIX for Dummies Questions & Answers
Hi guys
So I've got this PERL script that for one reason or another I need to run as a user other than the user that created the script.
When I su - to another user the script won't run and doesn't give me any output as to why. No permission denied or anything like that.
I've chmod 777'd the... (5 Replies)
Discussion started by: Jaymoney
5 Replies
3. Solaris
Hi All,
Exactly same OS (2.5.1) same pacthes but an application works well on 4m machine (Sparc20) but not on 4u machine (Ultra 1). Processor families are different Ultra's more recent one, I know that. Maybe some cpu specific compiler directives were used while compiling the application. Any... (0 Replies)
Discussion started by: endoavour
0 Replies
4. Shell Programming and Scripting
I have a script that searches for specific information from log files.
#!/bin/sh
sed -n '/*C/,/END/p' /sn/log/OMlog* > crit.out
sed -n '/REPT INITIALIZATION/,/err:/p' /sn/log/OMlog* > switchcc.out
./start.awk /sn/log/OMlog* > ARs.out
./end.awk /sn/log/OMlog* > ARe.out
cat crit.out... (1 Reply)
Discussion started by: grinds
1 Replies
5. UNIX for Advanced & Expert Users
I have a ksh script that executes a program with a predetermined timeout in minutes. If the program takes longer then the timeout then it still completes with a return code of 0. :confused:
I would like to determine how long the program ran. Then if it takes longer than the timeout I would... (7 Replies)
Discussion started by: 2dumb
7 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I have a problem with the following. I am trying to learn UNIX and as I am not an expert I don't know how to do the following exercise:
Requirement: Show knowledge of how to use some or all of the following commands:
· rm
· cp
· mv
· if
· test
· alias
· getopts and shift (See by... (1 Reply)
Discussion started by: pksb
1 Replies
7. Shell Programming and Scripting
Hi,
I have a problem with the following. I am trying to learn UNIX and as I am not an expert I don't know how to do the following exercise:
Requirement: Show knowledge of how to use some or all of the following commands:
· rm
· cp
· mv
· if
· test
· alias
· getopts and shift (See by... (0 Replies)
Discussion started by: pksb
0 Replies
8. UNIX for Advanced & Expert Users
Hello experts,
I have a series issue in script that result with bad peformence and I wonder if you can assist me.
For example
I have two files:
File-New, size 15Mb.
File-Old, size 1Mb.
File-New content:
a
b
c
k
File-Old content:
d
f
a
b (0 Replies)
Discussion started by: roybe
0 Replies
9. UNIX for Dummies Questions & Answers
I have a command that is found in /usr/ud51/bin called stopudt which safely stops idle database users (let's writes finish, etc).
If I login as root and issue stopudt the process is stopped.
I put a script in cron to run it and it says stopudt not found.
/usr/ud51/bin is in root's PATH. ... (10 Replies)
Discussion started by: michieka
10 Replies
xscreensaver-getimage-video(1) XScreenSaver manual xscreensaver-getimage-video(1)
NAME
xscreensaver-getimage-video - put a video frame on the root window
SYNOPSIS
xscreensaver-getimage-video [-display host:display.screen] [--verbose] [--stdout]
DESCRIPTION
The xscreensaver-getimage-video program is a helper program for the xscreensaver hacks that manipulate images. Specifically, it is invoked
by xscreensaver-getimage(1) as needed. This is not a user-level command.
This program grabs a random frame of video from the system's video input, and then loads it on the root window. It does this by figuring
out which frame-grabbing programs are installed on the system, and invoking the first one it finds. Then it runs xscreensaver-getim-
age-file(1) to load that image onto the root window.
OPTIONS
xscreensaver-getimage-video accepts the following options:
--verbose
Print diagnostics.
--stdout
Instead of loading the image onto the root window, write it to stdout as a PBM file.
SEE ALSO
X(1), xscreensaver(1), xscreensaver-demo(1), xscreensaver-getimage(1), xscreensaver-getimage-file(1), bttvgrab(1), qcam(1), streamer(1),
atitv(1), vidtomem(1)
COPYRIGHT
Copyright (C) 2001 by Jamie Zawinski. Permission to use, copy, modify, distribute, and sell this software and its documentation for any
purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice
and this permission notice appear in supporting documentation. No representations are made about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
AUTHOR
Jamie Zawinski <jwz@jwz.org>, 14-Apr-01
X Version 11 5.15 (28-Sep-2011) xscreensaver-getimage-video(1)