Hi every one.
I have a client with a Unixware 7.1.3 system.
4GB Ram
2 x Xeon CPU's
4 x 147GB scsi Raid 5 Config
1 x 147GB Scsi spare drive
Running a database application on top of Unixware
What is the formula you use to determine what the size of the swap file is suppose to be ?.
... (5 Replies)
Hello, I'm searching for a proper way to let the kernel space ISR(implemented in a kernel module) wake up a user space thread on a hardware interrupt.
Except for sending a real-time signal, is it possible to use a semaphore?
I've searched it on google, but it seems impossible to share a... (0 Replies)
Good afternoon! Im new at scripting and Im trying to write a script to
calculate total space, total used space and total free space in filesystem names matching a keyword (in this one we will use keyword virginia). Please dont be mean or harsh, like I said Im new and trying my best. Scripting... (4 Replies)
#!/bin/sh
CURRENTSTATE=2
CSVCSTATE=2
LASTSTATECHANGE=8
CSVCSTATEAGE=5
if (($CURRENTSTATE==$CSVCSTATE))&&(($LASTSTATECHANGE>=$CSVCSTATEAGE))
echo GREAT
fi
returns:
./aff: line 12: syntax error near unexpected token `fi'
./aff: line 12: `fi'
what am i doing wrong here? (6 Replies)
Hi,
I run Fedora 17.
I created a physical volume of 30GB on a disk with 60GB of space so there is 30GB of free space. On the physical volume, I created my volume group and logical volumes. I assigned all the space in the physical volume to my volume group. I need to add the 30GB of free space... (1 Reply)
Hi,
I have a space delimited text file but I only want to change the first space to a tab and keep the rest of the spaces intact. How do I go about doing that? Thanks! (3 Replies)
I have about 350 programs in which I have to add 2 lines; one before and one after a specfic line.
The following script does the job except that I lose the indentation.
#!/usr/bin/bash
while read line ... (8 Replies)
Script showStreamsGLIS$reg.$env.ksh gives me output as below-
Job Stime Etime Status ExitCode
GLIS-AS-S-EFL-LOCK-B ----- ----- OI 103313880/0
GLIS-ALL-Q-EOD-FX-UPDT-1730-B ----- ----- TE 0/0
GLIS-TK-S-BWSOD-B ... (8 Replies)
Discussion started by: Tanu
8 Replies
LEARN ABOUT DEBIAN
log4c_appender_type_stream
appender_type_stream.h(3) log4c appender_type_stream.h(3)NAME
appender_type_stream.h -
Log4c stream appender interface.
SYNOPSIS
#include <log4c/defs.h>
#include <log4c/appender.h>
Variables
__LOG4C_BEGIN_DECLS const log4c_appender_type_t log4c_appender_type_stream
Detailed Description
Log4c stream appender interface.
The stream appender uses a file handle FILE* for logging. The appender's name is used as the file name which will be opened at first log.
An appender can also be associated to an opened file handle using the log4c_appender_set_udata() method to update the appender user data
field. In this last case, the appender name has no meaning. 2 default stream appenders are defined: 'stdout' and 'stderr'.
The following examples shows how to define and use stream appenders.
o the simple way
log4c_appender_t* myappender;
myappender = log4c_appender_get('myfile.log');
log4c_appender_set_type(myappender, &log4c_appender_type_stream);
o the sophisticated way
log4c_appender_t* myappender;
myappender = log4c_appender_get('myappender');
log4c_appender_set_type(myappender, &log4c_appender_type_stream);
log4c_appender_set_udata(myappender, fopen('myfile.log', 'w'));
Variable Documentation
__LOG4C_BEGIN_DECLS const log4c_appender_type_t log4c_appender_type_stream Stream appender type definition.
This should be used as a parameter to the log4c_appender_set_type() routine to set the type of the appender.
Author
Generated automatically by Doxygen for log4c from the source code.
Version 1.2.1 Mon May 2 2011 appender_type_stream.h(3)