02-21-2008
Show us what you have come up with so far for a solution.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi,
I am new ot unix. So, can i write a shell(c shell or korn shell) program to access internet? I mean if I run the program, it can access specified url and then copy the html to a file? Can anyone help me? And how can make the program runs every 1 hr?
new comer (2 Replies)
Discussion started by: firebirdonfire
2 Replies
2. Shell Programming and Scripting
How do I Ftp, and rename multiple files in one unix script. I have to send it with .tmp extension , then rename it to .txt after FTP is done . I need to do a Mass rename of more than 1 file in a shell script , Urgent help required. (1 Reply)
Discussion started by: Suppandi
1 Replies
3. AIX
hi
We have a program which is running on cutomer end,and when its crashing its not dropping core, we asked them to check ulimit,they say that its unlimited.
Even when they crash the program manually by using command
kill -ABRT <pid>
its not dropping the core,on our end when we use same... (1 Reply)
Discussion started by: khan_069
1 Replies
4. Shell Programming and Scripting
Hi, I have a script which invoke a java program and I would like to know whether it is possible to log the exception thrown by the program to a log file in the script? Thanks! (1 Reply)
Discussion started by: mpang_
1 Replies
5. UNIX for Dummies Questions & Answers
Hi all,
I am trying to write a script for an application server log file where i want to put this script as a cron tab entry and it will check the server log file last 1000/500 line for every fifteen minute.
i am using the script like this.
count=`tail -n 1000 Trace.log | grep -c... (1 Reply)
Discussion started by: senthilkumar_ak
1 Replies
6. Shell Programming and Scripting
Hello I have to do a program in Bash, need help because it does not go out for me and go enough time with this!!
Five directories(boards of directors) that more occupy, arranged according to size. To measure the size of every directory(board of directors) there must not be included the size... (1 Reply)
Discussion started by: danihj
1 Replies
7. Programming
Hey, i am trying to write a program that takes multiple files as command line arguments, then outputs them to a single file. i also need the option to read them back out again. essentially what i am trying to create is an archiver, however, a very simple one. The program i have accomplished so far... (1 Reply)
Discussion started by: wezzyb
1 Replies
8. Programming
The following is a program to convert an infix expression to postfix expression.
//Convert an infix expression to postfix expression...
#include<iostream>
#include<string>
#include<cstdlib>
using namespace std;
char ifx,pfx,stk;
int top=-1,n;
void push(char ch)
{
if(top!=n)
... (6 Replies)
Discussion started by: poonam.gaigole
6 Replies
9. Programming
Hello all ,
i need some help asap
i have a program that keeps killing the machine
when i did google searches and 2 days later i ran strace
it seems the programm keeps making a system call to gettimeofday
to i guess increment a counter ?
gettimeofday({1347986584, 464904}, NULL) = 0... (6 Replies)
Discussion started by: NetworkLearning
6 Replies
10. Shell Programming and Scripting
Hi Folks,
please advise , I have logs generated on unix machine at location /ops/opt/aaa/bvg.log , now sometimes there come exception in these logs also, so I want to write such a script such that it should continuously monitor these logs and whenever any exception comes that is it try to find... (3 Replies)
Discussion started by: tuntun27272727
3 Replies
Log(4) Kernel Interfaces Manual Log(4)
NAME
Log, .Log - Contains the uucp program log files
SYNOPSIS
/usr/spool/uucp/.Log
DESCRIPTION
The /usr/spool/uucp/.Log directories contain uucp program log files. The uucp program normally places status information about each trans-
action in the appropriate log file each time you use the networking utilities facility. All transactions of the uucico and uuxqt daemons
are logged in files named for the remote system concerned. The files are stored in a subdirectory of the /usr/spool/uucp/.Log directory
named for the daemon involved. Thus, the log files are named with a form of the following: /usr/spool/uucp/.Log/DaemonName/SystemName
The uucp and uuto commands call the uucico daemon. The uucico daemon activities for a particular remote system are logged in the System-
Name file in the /usr/spool/uucp/.Log/uucico directory on the local system.
The uux and uusend commands call the uuxqt daemon. The uuxqt daemon activities for a particular remote system are logged in the SystemName
file in the /usr/spool/uucp/.Log/uuxqt directory on the local system.
When more than one uucp process is running, however, the system cannot access the standard log file, so it places the status information in
a file with a .Log prefix that covers just the single transaction.
The uucp program can automatically append the temporary log files to a primary log file. This is called compacting the log files, and is
handled by the uudemon.cleanu command, a shell procedure, which combines the log files of the activities of the uucico and uuxqt daemons on
a system and stores them in the /usr/spool/uucp/.Old directory.
The default is for the uudemon.cleanu command to save log files that are 2 days old. This default can be changed by modifying the appro-
priate line in the shell script. If storage space is a problem on a particular system, reduce the number of days that the files are kept
in the individual log files.
The uulog command can be used to view the uucp program log files.
RELATED INFORMATION
Daemons: cron, uucico(8), uusched(8)
Commands: uucp(1), uudemon.cleanu(4), uulog(1), uusend(1), uuto(1), uux(1) delim off
Log(4)