11-29-2014
hi,
when ran the script,its giving the o/p as File not exist even though file exist.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi All,
What is the difference b/w last modification time and last updated time.
Thanks
Sweta (1 Reply)
Discussion started by: sweta
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I've got a question. How do I show the last updated time?
Whenever I do any of the following:
ls -l
ls -lu
ls -lt
I get the creation time.
I need the modification/last update time. I'm FTP'ing a file to a different server. I'd like to know when the FTP is completed. (2 Replies)
Discussion started by: redge
2 Replies
3. Shell Programming and Scripting
Hi,
I'm trying to accomplish the following and would like some suggestions or possible bash script examples that may work
I have a directory that has a list of log files that's periodically dumped from a script that is crontab that are rotated 4 generations. There will be a time stamp that is... (4 Replies)
Discussion started by: primp
4 Replies
4. Programming
hi all, i'm a student and managing lab at my insti. there in one application in which log file has to be maintaine the number of bytes transferred and received. but after certain entries these two attributes stop getting updated and holds same values for rest of the session. This happens one time... (4 Replies)
Discussion started by: KornFire
4 Replies
5. Shell Programming and Scripting
Hello Friends
I am facing a weird problem :confused:, we receive thousands of files in my system on a daily basis, access time stamp on some of the files are being updated as old time stamp like 1968-01-19, Could some one help me what could be causing this? so that i can narrow down the problem... (4 Replies)
Discussion started by: Prateek007
4 Replies
6. Shell Programming and Scripting
Hi All,
I have a process which after some time continues move a files to some folder(say the name of the folder is logdir)
What i am trying to do is as the files are coming to the logdir folder, I want the latest updated time and date
of the folder in PERL. (1 Reply)
Discussion started by: parthmittal2007
1 Replies
7. Shell Programming and Scripting
Hi ,
We have around 22 logs , each has different entries. I have to automate this using shell script. The ideas which am sharing is given below
1) We use only TAIL -100 <location and name of the log> Command to check the logs.
2) We want to check whether the log was updated before 24... (13 Replies)
Discussion started by: Kalaihari
13 Replies
8. UNIX for Advanced & Expert Users
Hi with the help of Gabriel canepa, i have just edited filename only in his code. The help which i got and he helped is
1) I have around 22 logs and each log should be updated in the last 24 hours from the current timestamp.
2) It should check for ERROR message (not error,Error) in the log and... (2 Replies)
Discussion started by: Kalaihari
2 Replies
9. Shell Programming and Scripting
Hello,
Iam running with one issue, since particular date looks like one of the script vanished from the system after restarting of the system.
I dont know which scrit it was but definatelt there should be one.
but might be some logs would be there which have not updated from that day.
so... (2 Replies)
Discussion started by: ajju
2 Replies
10. Shell Programming and Scripting
I have a log file which have a date and time at the start of every line.
I need to search the log file starting from a specific time to the end of file.
For example:
Starting point: July 29 2018 21:00:00
End point : end of file
My concern is what if the pattern of `July 29 2018 21:00:00`... (3 Replies)
Discussion started by: erin00
3 Replies
LEARN ABOUT DEBIAN
ipwatchd.conf
IPWATCHD.CONF(5) File Formats Manual IPWATCHD.CONF(5)
NAME
ipwatchd.conf - Configuration file of IPwatchD daemon
SYNOPSIS
/etc/ipwatchd.conf
DESCRIPTION
IPwatchD daemon reads configuration from file specified with -c on command line. The file contains keyword-argument pairs, one per line.
Lines beginning with # sign and empty lines are ignored.
Possible keywords and their meanings are as follows:
iface_configuration
Specifies configuration mode for network interfaces. In automatic configuration mode IPwatchD detects all network interfaces auto-
matically and sets passive protection mode for them. In manual mode it is up to administrator to specify list of interfaces and pro-
tection modes. Accepted values are automatic or manual. Default is automatic.
iface Specifies network interface and its protection mode. Value is accepted only in manual configuration mode. In active protection mode
IPwatchD protects your host before IP takeover by answering Gratuitous ARP requests received from conflicting system. In passive
protection mode it just records information about IP conflict through standard syslog interface. Specified interface must exist and
protection mode must be passive or active.
defend_interval
Specifies minimum interval between defensive ARPs in seconds. Accepted value is number from 0 to 600. Default value is 0.
user_script
Specifies absolute path to user-defined script called by IPwatchD when IP conflict occurs. When there is no script specified
IPwatchD just generates syslog event for every IP conflict. Specified file must exist. There is no default value.
syslog_facility
Specifies facility for logging. Accepted values are auth, authpriv, cron, daemon, kern, lpr, mail, news, syslog, user, uucp, local0,
local1, local2, local3, local4, local5, local6 and local7. Default value is daemon.
EXAMPLES
Automatic configuration mode:
iface_configuration automatic
defend_interval 10
user_script /usr/sbin/ipwatchd-script
syslog_facility daemon
Manual configuration mode:
iface_configuration manual
iface eth0 active
iface eth0:0 passive
defend_interval 10
user_script /usr/sbin/ipwatchd-script
syslog_facility daemon
AUTHOR
This manual page was written by Jaroslav Imrich <jariq@jariq.sk>
SEE ALSO
ipwatchd(8), ipwatchd-script(1)
IPWATCHD.CONF(5)