i am trying to figure a way to email my access_log twice a month to myself right before the system zeros it.
using crontab is the way to go, but the command to get mail to do the job is my problem.
#-------------------------------------------
#0-59 0-23 1-31 1-12 0-6 (0=Sunday)
#min hour... (3 Replies)
Hi,
I've worked out that my server was getting clogged with the access_log.processed file.
I deleted it using the command
> /var/www/vhosts/domain.com/statistics/logs/access_log.processed
I also set that up as a crontab job for every Wednesday.
What I was wondering is the version using... (4 Replies)
Hey guys,
I have this file generated by me... i want to create some HTML output from it.
The problem is that i am really confused about how do I go about reading the file.
The file is in the following format:
TID1 Name1 ATime=xx AResult=yyy AExpected=yyy BTime=xx BResult=yyy... (8 Replies)
Hi
I need to look for the range dates of access_log for example:
between 02/May/2009:14:56:20 and 05/May/2009:18:46:06
then write the content to another file. Date and time is very important for me to concatenate them into access_log later.
Thanks (2 Replies)
Hi Folks
I have been debugging a script that is called every thirty seconds. Basically it is doing a ps, well two actually, one to file (read by the getline below) and the other into a pipe. The one into the pipe is: -
V_SYSVPS=/usr/sysv/bin/ps
$V_SYSVPS -p$PIDLIST -o$PSARGS... (0 Replies)
I found the /var/www/logs/access_log file (access log in order to find specific information about IP, And when users last logged in.)
but in my fedora the access_log file is is in my /var/log/cups and it looks different from what it should be. Why is that?
my goal is to get a list of IP... (4 Replies)
among the below socket programming api's, please let me know which are blocking and non-blocking.
socket
accept
bind
listen
write
read
close (2 Replies)
Discussion started by: VSSajjan
2 Replies
LEARN ABOUT NETBSD
screenblank
SCREENBLANK(1) BSD General Commands Manual SCREENBLANK(1)NAME
screenblank -- screen saver daemon for wscons and FBIO machines
SYNOPSIS
screenblank [-k | -m] [-d inactivity-timeout] [-e wakeup-delay] [-f framebuffer] [-i input-device]
screenblank {-b | -u}
DESCRIPTION
screenblank disables the framebuffer if the keyboard and mouse are idle for a period of time, and re-enables the framebuffer when keyboard or
mouse activity resumes.
When killed with a SIGINT, SIGHUP, or SIGTERM, screenblank will re-enable the framebuffer. The pid can be found in the file
/var/run/screenblank.pid.
The options are as follows:
-b Overriding the other options, simply try (once) to blank the framebuffer, then exit.
-d inactivity-timeout
Wait the number of seconds specified by inactivity-timeout, expressed in the format ``xxx.xxx'', before disabling the framebuffer due
to inactivity. The default is 600 seconds (10 minutes).
-e wakeup-delay
Wait the number of seconds specified by wakeup-delay, expressed in the format ``xxx.xxx'', before re-enabling the framebuffer once
activity resumes. The default is .25 seconds.
-f framebuffer
Use the framebuffer device framebuffer instead of the default /dev/fb.
-i input-device
Add input-device to the list of devices to monitor for activity.
-k Do not check the keyboard for activity.
-m Do not check the mouse for activity.
-u Overriding the other options, simply try (once) to unblank the framebuffer, then exit.
Note that the -k and -m flags are mutually exclusive.
FILES
/dev/kbd The keyboard device.
/dev/mouse The mouse device.
/dev/console The console device.
/dev/fb The default framebuffer.
/dev/wskbd The keyboard for wscons machines.
/dev/wsmouse The mouse device for wscons machines.
/dev/ttyE0 The console device for wscons machines.
/var/run/screenblank.pid File containing the pid of screenblank.
BSD September 23, 2006 BSD