ehe may i know what are the difference between Unix & Linux, and what are the advantages of having Unix as well as disadvantages of having Unix or if u dun mind i am dumb do pls tell me what are the advantages as well as the disadvantages of having linux as well. thanks (1 Reply)
Hello Friends,
I want to write a script for the following:
nlscux62:tibprod> grep "2008 Apr 30 01:" SA_EHV_SPEED_SFC_IN_03-SA_EHV_SPEED_SFC_IN_03-2.log | grep -i post | more
2008 Apr 30 01:01:23:928 GMT +2 SAPAdapter.SA_EHV_SPEED_SFC_IN_03-SA_EHV_SPEED_SFC_IN_03-2 Info AER3-000095 IDOC... (2 Replies)
Hi All,
I've written a script which reads all the systems backup information and saves it in a log file.
#!/bin/ksh
export ORACLE_SID=$1
export primaryhost=$2
export sid=`echo $ORACLE_SID| tr `
RESULTFILE=/oracle/PC9/backupstatus_prod.log
LOGP=`ssh -o StrictHostKeyChecking=no -l... (1 Reply)
How can view log messages between two time frame from /var/log/message or any type of log files.
when logfiles are very big and especially many messages with in few minutes, I would like to display log messages between 5 minute interval.
Could you pls give me the command? (1 Reply)
I would like to write a shell script that calculated the time difference bettween the log entries. If the time difference is higher as 200 sec. print the complette lines out.
My Problem is, i am unable to jump in the next line and calculate the time difference.
Thank you for your Help.
... (5 Replies)
ENVIROMENT
Linux: Fedora Core release 1 (Yarrow)
iPlanet: iPlanet-WebServer-Enterprise/6.0SP1
Log Path: /usr/iplanet/servers/https-company/logs
I have iPlanet log rotation enabled rotating files on a daily basis.
The rotated logs are NOT compressed & are taking up too much space.
I... (7 Replies)
I was looking at this script which outputs the two lines which differs less than one sec.
#!/usr/bin/perl -w
use strict;
use warnings;
use Time::Local;
use constant SEC_MILIC => 1000;
my $file='infile';
## Open for reading argument file.
open my $fh, "<", $file or die "Cannot... (1 Reply)
ENVIROMENT
Linux: RHEL 6.4
Log Path: /usr/iplanet/servers/https-company/logs
Log Format: user.log.03-15-2015
I have log4j log rotation enabled rotating files on a daily basis.
The rotated logs are NOT compressed & are taking up too much space.
I need a script that will run daily that... (1 Reply)
Hello good day
I would like to know what is the difference between these two commands please
both warrant the output in the file
echo " ORACLE_SID : $ORACLE_SID" | tee -a $logfile
echo " ORACLE_SID : $ORACLE_SID" > $logfile (3 Replies)
Discussion started by: tricampeon81
3 Replies
LEARN ABOUT DEBIAN
fstrace_clear
FSTRACE_CLEAR(8) AFS Command Reference FSTRACE_CLEAR(8)NAME
fstrace_clear - Clears the trace log
SYNOPSIS
fstrace clear [-set <set name>+]
[-log <log name>+]
[-help]
fstrace c [-s <set name>+]
[-l <log name>+] [-h]
DESCRIPTION
The fstrace clear command erases the contents of the trace log from kernel memory, but leaves kernel memory allocated for the log.
OPTIONS -set <set name>+
Names the event set for which to clear the associated trace log. The only acceptable value is "cm" (for which the associated trace log
is "cmfx"). Provide either this argument or the -log argument, or omit both to clear the "cmfx" log by default.
-log <log name>+
Names the trace log to clear. The only acceptable value is "cmfx". Provide either this argument or the -set argument, or omit both to
clear the "cmfx" log by default.
-help
Prints the online help for this command. All other valid options are ignored.
EXAMPLES
The following command clears the "cmfx" trace log on the local machine:
# fstrace clear
PRIVILEGE REQUIRED
The issuer must be logged in as the local superuser "root".
SEE ALSO fstrace(8), fstrace_lslog(8), fstrace_lsset(8)COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas
Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
OpenAFS 2012-03-26 FSTRACE_CLEAR(8)