Summary: Hi, I'm having problem writing to a log file. Appreciate if anyone can help. I'm running an application thru a script ("A") with input and output file...
Summary: Hi there, I have a program which will write some log information to a log file. The problem is this log file grows too fast. But the log information i...
Summary: Hello, How do you write a file to a log file? and what kind of information should we write to it, say for example i want to delete a core file and wri...
Summary: Your flat file fields, as shown, are delimited by both spaces and bar characters. If I process the fields as delimited by bar characters, the spaces ...
Summary: Ultimatly Perl or Python would be better suited for such a task. I typically use Perl. They are both more extensible and powerful. But in computing yo...
Summary: Hi all!! I am totally new to shell scripting. I need a script that will monitor a log file (shown below). It should scan the log file for distinct i...
Summary: Hi, I've been working on a log script and I keep running into problems with the code. Can anyone help me? I'd like the script to read each line in a ...
Summary: I have a script that has to record it's actions in a log file. I'd like to ensure that it always writes to a log file that is in the same directory as...
Summary: Well, perl is quite an overkill for a task that can be done easily with basic unix. And not all shops have perl installed. #!/bin/sh cat mylist.txt |...
Summary: I want to redirect the output of a PL/SQL procedure to a log file. In this file I want to have all the output of the execution, the results of every s...
Summary: Hi, in one of my application server i have some log file which writes as below, 10/02/09-12:49:00 ,0,0,0,0 10/02/09-12:50:00 ,1,2,3,4 And this entry ...
Summary: for file in /tmp/tools/* ; do # get a list of files under /tmp/tools file=`basename $file` # strip the directory from the file name if [ ! -a $file -a...
Summary: I would use exec (as below) to redirect all stdout and stderr to a log file. That single command eliminates redirecting on many individual commands, ...
Summary: Here is a short script that may help. It is very simplistic and you can concatenate the echo output to a log file if you wish. #!/bin/ksh eval `date ...
Summary: Jo, An exec command will switch stdin from the pipe to the terminal, as shown below. But note that less-than-signs get special handling by this web s...
Summary: The script below works on HP-UX. On each cycle, if awk writes any lines to the workfile, the workfile is mailed. If it does not work, you can post a...
Summary: Dear all. I want to achieve the following: 1/grep all the lines starting with id 35.64 for example, from a log file: grep [3][5][.][6][4] file.log res...
Summary: I'm a windows 2000 user with a Quake 3 game server being hosted on a remote Linux machine. I've been playing around with telnetting over to the linux ...
Summary: Hi all, I was editing my c++ file in sun-solaris and then when i ran the make file i got an error saying some junk char not defined in the file,later ...
Summary: hi!!, i wanna trap all Signal 10, 11, 15 generated by any process running on my server irrespective of the user and wanna write to a log file. Any i...
Summary: I need to capture the status of the script run into a log file and mail the log file on error. The script I used is: Run.pl 2>> log k=$? if test $k ...
Summary: I am running Solaris 7 and am trying to monitor log messages on a particular port and direct them to a log file. When I try to run a tip in the backg...
Summary: Hi, I am tailing a log file that rollsover. For example, I have a log file named a.log. I tail this file with the command: tail -f a.log. My proble...
Summary: Hi i have different versions like v1.0.0.0,v1.0.2.0 and etc in each version i have a file called checksum.csv. in checksum.csv i have different script...