Hello....
AIX has a limit of 11 shared memory segments per process, does any one know how many HP have?? If so how do I find that out??
Thanks in advance...... (2 Replies)
Hi I am relatively new to programming on UNIX platform. I was wondering if there is any system call so that a process can access systems page table or swap pages from main memory by specifying the page number. I am trying to implement various page replacement algorithms like LRU, OPT, FIFO etc.... (1 Reply)
I am fairly new to HP-UX and trying to get a better understanding of the operating system. While poking around a bit I find myself questioning whether I should be concerned about Shared Memory segments with missing CPID and LPID? For example:
ipcs -mp
IPC status from /dev/kmem as of Mon Mar... (2 Replies)
I have created a shared memory segment (which size is 64 bytes) using shmget, shmat e.t.c and i want to divide it into 2 areas. One area for input data and one area for output? How can i do that?
Furthermore, When i have to write my input data into the shared memory segment i want to write... (3 Replies)
Hi,
I have a file that I want to average. So specifically I want to average every third column for each row.
Here is an example of my file
2 2 2 3 3 3 1 1 1 5 5 5
Heres what I want it to look like after averaging every third column
2 3 1 5
thanks (11 Replies)
Hello,
I have a awk line that averages rows.
So if my file looks like this:
Jack 1 1 1 1 1 1
Joe 1 1 1 1 1 1
Jerry 0 0 0 0 0 0
John 1 1 1 0 0 0
The awk line below skips column 1 and then averaged the rows
awk -F'\t' -v r=3... (3 Replies)
Hi all,
I got an application that is running on SUSE Linux. I would like to get some data about the number of TCP segments retransmission on a particular interface. Is there any way I can get that?
Thanks, (2 Replies)
I have queue.txt with the following contents:
Queue on node ...
description :
type : local
max message len : 104857600
max queue depth : 5000
queue depth max event : enabled
persistent msgs : yes
backout... (5 Replies)
Discussion started by: Daniel Gate
5 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)