07-21-2008
One correction here.
Replace ftp -n with ftp web_server_ipaddress
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
How would you convert lets say a 1000 minutes to hours, minutes, seconds (1 Reply)
Discussion started by: Vozx
1 Replies
2. HP-UX
Hi All,
I have an issue in writing the shell script to install a webserver on UNIX system. My shell script look something like this.
------------------------------------------------------------
echo "start of the script"
#! /bin/sh
cd /home/path
echo | setup.hp -is:javaconsole -console... (1 Reply)
Discussion started by: vishalm
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I need to move a certain number of files every 10 minutes from one folder to another. I have written the script below, however its not working, please advise.
#! /bin/ksh
start()
{
mv /test1/$(head -1000 /movetst) /test2/
sleep 600
}
stop()
{
exit
}
ls ti* >... (1 Reply)
Discussion started by: amitsayshii
1 Replies
4. Shell Programming and Scripting
KSH:
Please lt me know how to find the age of a file in minutes(Based on last modified time).
ie, if the file was modified 15 Minutes ago, the output should be 15 (1 Reply)
Discussion started by: hari_anj
1 Replies
5. Shell Programming and Scripting
Hi all,
I've got a grep command, in which the value (a number) is being appended into a file. Such file will have this output:
100
105
300
204
150
...
...
120
113
124
This file will continue to append, since the grep line runs every 10 seconds. Is there a way to stop the file... (5 Replies)
Discussion started by: Wizard_1979
5 Replies
6. Shell Programming and Scripting
RHEL 5.8
In the directory /u03/pkms/app_logs I have several hundreds of log files as shown below.
$ pwd
/u03/pkms/app_logs
$ ls -alrt *.log | tail -50
-rw-r----- 1 oracle dba 9439232 May 4 13:57 mvtpcem_1_722892404_94157.log
-rw-r----- 1 oracle dba 9227264 May 4 13:57... (8 Replies)
Discussion started by: kraljic
8 Replies
7. UNIX for Beginners Questions & Answers
Hi, please help with below time conversion to minutes.
one column values:
2 minutes 16 seconds 420 msec
43 seconds 750 msec
0 days 3 hours 29 minutes 58 seconds 480 msec
11 seconds 150 msec
I need output in minutes(total elapsed time in minutes) (2 Replies)
Discussion started by: ramu.badugula
2 Replies
8. Shell Programming and Scripting
Hi all,
System Ubuntu 16.04.3 LTS
i have the following log
INFO 2019-02-07 15:13:31,099 module.py:700] default: "POST /join/8550614e-3e94-4fa5-9ab2-135eefa69c1b HTTP/1.0" 500 2042
INFO 2019-02-07 15:13:31,569 module.py:700] default: "POST /join/6cb9c452-dcb1-45f3-bcca-e33f5d450105... (15 Replies)
Discussion started by: charli1
15 Replies
9. Shell Programming and Scripting
Hello all,
Info:
System RedHat 7.5
I need to create a script that based on the creation time,
if the file is older then 5 minutes then execute some stuff, if not exit.
I thought to get the creation time and minutes like this.
CreationTime=$(stat -c %y /tmp/test.log | awk -F" " '{ print... (3 Replies)
Discussion started by: charli1
3 Replies
10. UNIX for Beginners Questions & Answers
- run a backup job
- The jobs creates partial files one after the other, about 2 minutes interval.
What i want to do is that while the job is still running or while a file was last modified or created 3 minutes ago, the
file should be rsync to a remote server untill the last file has been... (4 Replies)
Discussion started by: malaika
4 Replies
LEARN ABOUT DEBIAN
hobbit-enadis.cgi
HOBBIT-ENADIS.CGI(8) System Manager's Manual HOBBIT-ENADIS.CGI(8)
NAME
hobbit-enadis.cgi - CGI program to enable/disable Xymon tests
SYNOPSIS
hobbit-enadis.cgi (invoked via CGI from webserver)
DESCRIPTION
hobbit-enadis.cgi is a CGI tool for disabling and enabling hosts and tests monitored by Xymon. You can disable monitoring of a single test,
all tests for a host, or multiple hosts - immediately or at a future point in time.
hobbit-enadis.cgi runs as a CGI program, invoked by your webserver. It is normally run via a wrapper shell-script in the secured CGI
directory for Xymon.
hobbit-enadis.cgi is the back-end script for the enable/disable form present on the "info" status-pages. It can also run in "stand-alone"
mode, in which case it displays a web form allowing users to select what to enable or disable.
OPTIONS
--no-cookies
Normally, hobbit-enadis.cgi uses a cookie sent by the browser to initially filter the list of hosts presented. If this is not
desired, you can turn off this behaviour by calling bb-ack.cgi with the --no-cookies option. This would normally be placed in the
CGI_ENADIS_OPTS setting in hobbitcgi.cfg(5)
--env=FILENAME
Load the environment from FILENAME before executing the CGI.
--area=NAME
Load environment variables for a specific area. NB: if used, this option must appear before any --env=FILENAME option.
FILES
$BBHOME/web/maint_{header,form,footer}
HTML template header
BUGS
When using alternate pagesets, hosts will only show up on the Enable/Disable page if this is accessed from the primary page in which they
are defined. So if you have hosts on multiple pages, they will only be visible for disabling from their main page which is not what you
would expect.
SEE ALSO
xymon(7)
Xymon Version 4.2.3: 4 Feb 2009 HOBBIT-ENADIS.CGI(8)