Hello,
I have a small script and it runs from web application in below format:
myscript.sh:
When I run it, url1, or 2 or 3 runs but I am unable to see which one is in use and I do not wish to run iftop to detect. Htop is not giving any clue.
How may I change this script to be able to see the active url?
Thanks in advance
Boris
Last edited by baris35; 12-10-2018 at 05:46 AM..
Reason: latest update
I have a script which must not be run more than once at any given time. THis script will be scheduled to run every 20 mins as a cron job.
In my script can i have logic to say if this script is already running from the previous cron, then exit.
How do i go about doing that. If you describe the... (11 Replies)
I am trying to find a way to test some code, but I need to rewrite a specific URL only from a specific HTTP_HOST
The call goes out to
http://SUB.DOMAIN.COM/showAssignment/7bde10b45efdd7a97629ef2fe01f7303/jsmodule/Nevow.Athena
The ID in the middle is always random due to the cookie.
I... (5 Replies)
Here is what I have so far:
find . -name "*php*" -or -name "*htm*" | xargs grep -i iframe | awk -F'"' '/<iframe*/{gsub(/.\*iframe>/,"\"");print $2}'
Here is an example content of a PHP or HTM(HTML) file:
<iframe src="http://ADDRESS_1/?click=5BBB08\" width=1 height=1... (18 Replies)
Dear community,
what I'm try to do is deny users to run a script without parameters from command bash, but the same script should run without parameters only from crontab.
Example runs by crontab:*/5 * * * * /tmp/script.sh
Here the normal execution starts every 5 minutes
Example #1 runs by... (16 Replies)
Hello,
Am very new to perl , please help me here !!
I need help in reading a URL from command line using PERL:: Mechanize and needs all the contents from the URL to get into a file.
below is the script which i have written so far ,
#!/usr/bin/perl
use LWP::UserAgent;
use... (2 Replies)
Hi all,
I am needing some help with a script that will search for a video file by known extensions and then do a pattern search (I'm guessing via regex) and then based on a match of one type of another move the file to an assigned directory.
I would like to do this with either a shell script... (7 Replies)
Hi forum,
So I am trying to determine the OS type with the following script:
#!/usr/bin/sh
OStype1=`uname -s`
Sunos1=SunOs
if
then
echo "This system is Linux"
exit 0
elif
then
echo "This system is SunOs"
exit 0
elif (1 Reply)
Hello there,
I am not an expert in networking related stuff but I got a requirement to create UNIX script to query our Company's internal time source via NTP for time drift detect and report it when > +/- 50ms.
I have been googling a lot but thought to post it in this forum to get a... (17 Replies)
Discussion started by: Green_Star
17 Replies
LEARN ABOUT SUSE
pfsoutffmpeg
pfsoutffmpeg(1) General Commands Manual pfsoutffmpeg(1)NAME
pfsoutffmpeg - Read pfs frames from stdin and forward them to ffmpeg program
SYNOPSIS
pfsoutffmpeg [--help] <ffmpeg options> output_file
DESCRIPTION
This command is a wrapper for ffmpeg program and can be used to write pfs frames to a compressed video.
Check the examples section to for sample usage and see manual of ffmpeg for further information.
Note that the usage of '-f' switch (input format specifier) and '-i' switch (input file specifier) of the ffmpeg program is implemented
inside the script and is therefore not allowed.
EXAMPLES
pfsinrgbe frame%04d.hdr --frames 100:2:200 | pfstmo_reinhard02 -s
| pfsgamma -g 1.7 | pfsoutffmpeg -qscale 4 test.avi
1. Read HDR frames in RGBE format with the following names:
frame0100.hdr, frame0102.hdr, frame0104.hdr,... frame0200.hdr
2. Apply local tone mapping operator to each frame (Reinhard2002
model, part of the PFSTMO package)
3. Apply gamma correction to each tone mapped frame
4. Compress frames to test.avi animation
SEE ALSO ffmpeg(1)pfsin(1)pfstmo_reinhard02(1)pfsgamma(1)BUGS
Frames smaller than 512x384 can cause broken pipe error, due to bug in ppm pipe reading routine in ffmpeg.
Please report bugs and comments to Rafal Mantiuk <mantiuk@mpi-sb.mpg.de> or Grzegorz Krawczyk <krawczyk@mpi-sb.mpg.de>.
pfsoutffmpeg(1)