I have this script:
-------------------------------------------------------
#!/bin/ksh
#
if ] ||
]
then
echo "Executing main_load.sh script"
/usr1/psc_load/jobs/cron/main_load.sh "ods"
else
echo "File not found, do nothing"
fi
exit 0
... (4 Replies)
I have a requirement to check how long a process is running on unix system.If i use ps -ef i am getting the following message
guest 2453638 1998920 0 16:16:05 - 0:00 dsapi_slave 9 8 0
but this is showing only time not the date.Can any one please advice me any script to find out how... (2 Replies)
Hi ,
I have a csh code below which check the process if it's running.
Can any expert advise me on the following:
1) what does this notationmean ">!" and how is it different from the append ">" notation ?
2) how does "setenv" work in this code ?
# Check whether there is a running... (3 Replies)
Gurus,
I am writing a shell script that will be used to automate cold backup of an Oracle Database. The database size is around 300G and will take around 5-6 hours to copy.
I have finished the script till the copy of the datafiles. Now, I am stuck at the point where I need to monitor the... (4 Replies)
I have process1 running on one machine and generating some log file. Now another process which can be launched on any machine wants to know if process1 is running or not and also in case it is running it wants to stream the logs file generated by process1 on terminal from which process2 is... (2 Replies)
Hello,
Please help me with a script with which I can check long running processes on the database server and the os is AIX.
Best regards,
Vishal (5 Replies)
I am running a script which will read the data from fail line by line and call the Java program by providing the arguments from the each line.
The Java code is working fast for few records and for some records its getting hanged not providing response for morethan one hour.
Currently am... (4 Replies)
I am working on script. it reads a file which contains multiple lines
Ex;
curl --write-out %{http_code} --silent --output /dev/null http://hostname:port/input=1
curl --write-out %{http_code} --silent --output /dev/null http://hostname:port/input=2
curl --write-out %{http_code} --silent ... (2 Replies)
Discussion started by: oraclermanpt
2 Replies
LEARN ABOUT PHP
faxqclean
FAXQCLEAN(8) System Manager's Manual FAXQCLEAN(8)NAME
faxqclean - HylaFAX queue cleaner process
SYNOPSIS
/usr/sbin/faxqclean [ options ]
DESCRIPTION
faxqclean is a program that processes completed HylaFAX jobs and expunges unreferenced document files. This program is intended to be
invoked by cron(8) on behalf of the super user (i.e. root) one or more times a day. For example, the following crontab entry might be set-
up for root to run faxqclean each hour.
0 * * * * /usr/sbin/faxqclean
When faxqclean is run it scans the doneq subdirectory in the HylaFAX spooling area and process each job according to the doneop field spec-
ified in the job description file; c.f. sendq(5). Jobs that are marked for removal are purged and references to documents are removed.
Jobs that are marked for archival may be archived depending on the options supplied on the command line.
After scanning for completed jobs faxqclean scans the docq subdirectory and builds up a table of document files. Files that are not refer-
enced by any job and that are older than a specified threshold are removed.
OPTIONS -a Enable job archiving support.
-A This option forces archiving even if 'doneop' in the queue file is not 'archive', i.e. even if the user submitted the job without
specifying the -A flag to sendfax
-j secs Set the job age threshold (in seconds) that controls how long jobs may reside in the doneq directory before being processed. By
default this value is 15 minutes (15*60 = 900 seconds).
-d secs Set the document age threshold (in seconds) that controls how long unreferenced files may reside in the docq directory before
being removed. By default this value is 1 hour (60*60 = 3600 seconds).
-n Do not carry out any work; just show what would be done. This option is useful together with the -t option for debugging.
-q dir The specified directory is treated as the spooling area. The default spooling area, /var/spool/hylafax, is defined at the time
the software is built.
-t Trace in great detail exactly what faxqclean is doing. Messages are sent to the standard output.
-v Print messages on the standard output about jobs removed or archived and about document files removed.
FILES
/var/spool/hylafax/doneq directory to scan for completed jobs
/var/spool/hylafax/docq directory to scan for unreferenced documents
/var/spool/hylafax/archive directory where archived jobs are placed
Consult hylafax-server(5) for a complete discussion of the structure and content of the spooling area.
SEE ALSO faxq(8), hylafax-server(5), sendq(5), doneq(5), archive(5).
March 14, 1996 FAXQCLEAN(8)