Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

writelog(1) [bsd man page]

writelog(1)							  Writelog Manual						       writelog(1)

       writelog - Logfile writing daemon for gatling

       writelog LOGFILE CMDLINE

       Writelog is a daemon that writes the logfile of gatling. Gatling only writes to stdout, so writelog enables logrotation of this data stream
       by providing a handler of SIGUSR1 for closing and reopening the specified logfile.

       The following signals are handled by writelog:

	      SIGTERM Terminates writelog and its child (gatling).

	      SIGUSR1 Causes writelog to reopen the logfile. Useful for logrotation.

	      SIGHUP Delegates SIGHUP to gatling.

       writelog /var/log/gatling.log tlsgatling -e -v -D -S -F -U -u nobody

       Roland Stigge <>

Version 1							  14 August 2011						       writelog(1)

Check Out this Related Man Page

WRITELOG(8)						      System Manager's Manual						       WRITELOG(8)

writelog - add a entry to an INN log file. SYNOPSIS
writelog name text... DESCRIPTION
The writelog script is used to write a log entry or send it as mail. The name parameter specifies the name of the log file where the entry should be written. If it is the word ``mail'' then the entry is mailed to the news administrator, <USER specified with --with-news-mas- ter at configure>. The data that is written or sent consists of the text given on the command line, followed by standard input indented by four spaces. Shlock(1) is used to avoid simultaneous updates to a single log file. HISTORY
Written by Landon Curt Noll <> and Rich $alz <> for InterNetNews. This is revision 1.4, dated 1998/12/09. SEE ALSO
innd(8), innstat(8), news.daily(8), newslog(5), nnrpd(8), scanlogs(8). WRITELOG(8)
Man Page

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

getopts in a subshell

Hello, I've a little problem with one of my ksh scripts and I manage to narrow it to the script here: #!/bin/ksh writeLog() { paramHandle="unknown" OPTIND=1 while getopts :i: option $* do case $option in i) paramHandle=${OPTARG} ;; esac done echo... (2 Replies)
Discussion started by: Dahu
2 Replies

2. Shell Programming and Scripting

Bash script to Automate the Virtual Host creation process!!

Hi all, This is my sample code in /etc/httpd/conf.d/applications.conf file currently we are creating subdomain mannually for every new subdomain. I want to automate this process througs bash script , how its possible. <VirtualHost *:80> ServerName ServerAlias (5 Replies)
Discussion started by: anishkumarv
5 Replies

3. Shell Programming and Scripting

Run shell script on different machine using perl script

I want to execute my shell script on remote machine using SSH in perl script. Please help me with syntax. (2 Replies)
Discussion started by: james1988
2 Replies

4. UNIX for Advanced & Expert Users

Mutt for html body and multiple html & pdf attachments

Hi all: Been racking my brain on this for the last couple of days and what has been most frustrating is that this is the last piece I need to complete a project. There are numerous posts discussing mutt in this forum and others but I have been unable to find similar issues. Running with... (1 Reply)
Discussion started by: raggmopp
1 Replies

5. Ubuntu

Date format in the files written by syslogd

Hi, Below is what i am seeing in /var/log/messages on ubuntu machine. 2013-01-14T18:29:39.319736+00:00 test01 ldap-mail: test1 Jan 14 18:29:39 test01 ldap-mail: test2 2013-01-14T18:29:39.320792+00:00 test01 ldap-mail: test3 Jan 14 18:29:39 test01 ldap-mail: test4But on other ubuntu... (29 Replies)
Discussion started by: prash358
29 Replies

6. UNIX for Advanced & Expert Users

Apache Mod_rewrite Mystery

Hi Folks, I am running on a CentOS 6.3 server, whose primary function until recently has been my Zimbra mail server exclusively. I added wordpress and I have not been disappointed, with this one exception of Apache mod_rewrite. I have already tried to set selinux to permisive to eliminate that... (5 Replies)
Discussion started by: cjm51213
5 Replies

7. Programming

Logging in shared file

Hi. The problem is to write logs in a shared file from several processes. The cooperate call of fprintf() leads to messing the content even in one call example: fprintf(f,"a1 \n a2"); fprintf(f,"a3 \n a4"); out: a1 a3 a2 a4 Ofcourse this is possible to implement the file as a... (9 Replies)
Discussion started by: z7ql
9 Replies

8. Shell Programming and Scripting

Script to find users not logged in for 90 days

Dear All, I need your help in finding out users not logged in to linux system for more than 90 days. I found a script from our forum i am getting error while using that. from the code i have debugged line by line to see where i am getting the problem. i found out the below line i am getting... (5 Replies)
Discussion started by: Sachinlinux
5 Replies

9. Shell Programming and Scripting

How to keep staying on remote server after executing a shell script with if then exit end statement?

i have a "if .. then exit end " in s shell script on remote servers. now the connection to the remote server got killed after i run this script on the remote servers. How do i run this script on remote hosts and still keep remote connections alive after executing the script. Thank you. (10 Replies)
Discussion started by: moonmonk
10 Replies