Search Results

Search: Posts Made By: dmirza
Forum: Programming 11-03-2005
10,287
Posted By dmirza
any help would be greatly appreciated
any help would be greatly appreciated
Forum: Programming 11-02-2005
10,287
Posted By dmirza
printing a stack trace with backtrace
I am trying to print a stack trace programatically using backtrace and backtrace_symbols.

The problem is that the stack being printed in a mangled format. Is there a way to get the output in...
Forum: Programming 10-25-2005
3,988
Posted By dmirza
writing to multiple syslog facilities
is there a way to allow one application to simultaneously write to multiple syslog facilities?
15,029
Posted By dmirza
sending syslog output to stderr or stdout
Is there a way to send the syslog output for a given facility to stderr or stdout?

I do not want to use the "tail" command to achieve this, I would like it to go directly to stderr.

Thanks in...
Forum: Programming 10-17-2005
3,164
Posted By dmirza
detecting errors in writing to syslog
I am calling "void syslog(int, const char *, ...);" from my c++ application (definition taken from man page for syslog.h". Is there any way to detect that the syslog is not working, so that I can...
Forum: Programming 10-17-2005
4,875
Posted By dmirza
getting the system time with ms percision
I would like to get the system time down to the milli second. Is there any way to do this.

clock_gettime only gives you the time to the nearest second. How can I get it down to the nearest...
7,137
Posted By dmirza
limiting the size of syslog log files
I would like to limit the size of syslog log files. Is there a setting I can enter in syslog.conf that does this for me. Ideally I would like something along the lines of a circular buffer of N...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 11:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy