Sponsored Content
Top Forums Shell Programming and Scripting Logrotate - I am not able to rotate files using logrotate Post 302794011 by VSom007 on Monday 15th of April 2013 12:58:49 AM
Old 04-15-2013
Hi Hanson44 thanks for reply..
I am not getting any error message. I can see even status of handleld files. When I tried debugging mode It's displaying message that No need of log rotation.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

logrotate isn't rotating files any longer

I have been using logrotate for quite awhile now. Most logs are rotated daily, using /etc/cron.daily. I noticed that the logs in question have not been rotated since April 6, but daily up to that point. I have logrotate in /etc/cron.daily. The basic command is: /usr/sbin/logrotate... (1 Reply)
Discussion started by: manouche
1 Replies

2. UNIX for Advanced & Expert Users

logrotate with /etc/logrotate.conf file

Hi there, I want to rotate the logfiles which are located in /var/log/jboss/tomcat* so I have created a file named as 'tomat' in /etc/logrotate.d/tomcat with the following content. # cat /etc/logrotate.d/tomcat /var/log/jboss/tomcat_access_log*.log { daily nocreate ... (2 Replies)
Discussion started by: skmdu
2 Replies

3. UNIX for Advanced & Expert Users

how to logrotate log files

Hi, I have written a script that runs every five minutes in cron schedular. The Operating system is Fedora core 9. This script generates 2 log files, these log file size is increasing as some log data is being dumped into these 2 log files every five minutes. I need to logrotate these 2 files.... (1 Reply)
Discussion started by: renuka
1 Replies

4. Linux

Using logrotate to trim files that are created every 15 mins

I have an application (puppet) that generates report files every 15 minutes in the format: /var/lib/puppet/reports/hostname.fqdn/report-201007221515.yaml /var/lib/puppet/reports/hostname.fqdn/report-201007221530.yaml .. I only really need to keep one days worth of these reports and am trying... (0 Replies)
Discussion started by: aussieos
0 Replies

5. UNIX for Dummies Questions & Answers

logrotate ignore 'rotate' setting.

the 'rotate' setting in my logrotate configurations is being ignored when run from the crontab. I have tested my configurations using the "-d" option, the rotation count is working when I do the test. Here are my configuration settings, is there anything I am doing wrong? # cat -n... (5 Replies)
Discussion started by: frankkoenen
5 Replies

6. Red Hat

Logrotate not removing old files

Hi Guys, Need some help with the logrotate for one of our servers. I had setup a logrotation so that all files that go under old/ folder should be removed after one week. The log files are rotated daily from the main folder to old/ folder. (everything on one server) Below is the sample I am... (0 Replies)
Discussion started by: rockf1bull
0 Replies

7. UNIX for Advanced & Expert Users

rotate modsec log with logrotate in the global configuration

Hello Experts, I have an apache 2.2.17 on solaris 10 that I am not sure if I, could list the following in the global settings in httpd.conf. I tested it in the Virtual host section of httpd.conf and, it works but, not sure if I can do it in the global settings. Any help would be greatly... (0 Replies)
Discussion started by: afadaghi
0 Replies

8. Debian

Logrotate truncated my log files to 0 bytes and no logs are written

Hi, Yesterday I installed and configured logrotate on my Debian machine. I was expecting this to run at 06:25 in the morning and it actually did. All my old logs were compressed and zipped but the new logs were all with size equal to 0 bytes. Processes, while still running ok, they were not... (2 Replies)
Discussion started by: pmatsinopoulos
2 Replies

9. AIX

Logrotate - /etc/logrotate.conf does't exist

Hi Admins. I have installed logrotate rpm on Aix 6.1. After the installation of rpm, I don't find /etc/logrotate.conf file and /etc/logrotate.d dir . The config file is located in /opt/freeware/etc/logrotate.conf. When I ran logrotate -v /opt/freeware/etc/logrotate.conf I get below... (2 Replies)
Discussion started by: snchaudhari2
2 Replies

10. UNIX for Beginners Questions & Answers

Logrotate and Compressing only yesterdays files

Hello, I have a syslog server at home and am currently experiencing an issue where my logs will rotate and compress however it will rotate and compress yesterdays file and the newly created log file for the current day. When it does this however it will also create another new file for today... (9 Replies)
Discussion started by: MyUserName7000
9 Replies
xcb_randr_get_crtc_info(3)					   XCB Requests 					xcb_randr_get_crtc_info(3)

NAME
xcb_randr_get_crtc_info - SYNOPSIS
#include <xcb/randr.h> Request function xcb_randr_get_crtc_info_cookie_t xcb_randr_get_crtc_info(xcb_connection_t *conn, xcb_randr_crtc_t crtc, xcb_timestamp_t config_timestamp); Reply datastructure typedef struct xcb_randr_get_crtc_info_reply_t { uint8_t response_type; uint8_t status; uint16_t sequence; uint32_t length; xcb_timestamp_t timestamp; int16_t x; int16_t y; uint16_t width; uint16_t height; xcb_randr_mode_t mode; uint16_t rotation; uint16_t rotations; uint16_t num_outputs; uint16_t num_possible_outputs; } xcb_randr_get_crtc_info_reply_t; Reply function xcb_randr_get_crtc_info_reply_t *xcb_randr_get_crtc_info_reply(xcb_connection_t *conn, xcb_randr_get_crtc_info_cookie_t cookie, xcb_generic_error_t **e); Reply accessors xcb_randr_output_t *xcb_randr_get_crtc_info_outputs(const xcb_randr_get_crtc_info_request_t *reply); int xcb_randr_get_crtc_info_outputs_length(const xcb_randr_get_crtc_info_reply_t *reply); xcb_generic_iterator_t xcb_randr_get_crtc_info_outputs_end(const xcb_randr_get_crtc_info_reply_t *reply); xcb_randr_output_t *xcb_randr_get_crtc_info_possible(const xcb_randr_get_crtc_info_request_t *reply); int xcb_randr_get_crtc_info_possible_length(const xcb_randr_get_crtc_info_reply_t *reply); xcb_generic_iterator_t xcb_randr_get_crtc_info_possible_end(const xcb_randr_get_crtc_info_reply_t *reply); REQUEST ARGUMENTS
conn The XCB connection to X11. crtc TODO: NOT YET DOCUMENTED. config_timestamp TODO: NOT YET DOCUMENTED. REPLY FIELDS
response_type The type of this reply, in this case XCB_RANDR_GET_CRTC_INFO. This field is also present in the xcb_generic_reply_t and can be used to tell replies apart from each other. sequence The sequence number of the last request processed by the X11 server. length The length of the reply, in words (a word is 4 bytes). status TODO: NOT YET DOCUMENTED. timestamp TODO: NOT YET DOCUMENTED. x TODO: NOT YET DOCUMENTED. y TODO: NOT YET DOCUMENTED. width TODO: NOT YET DOCUMENTED. height TODO: NOT YET DOCUMENTED. mode TODO: NOT YET DOCUMENTED. rotation TODO: NOT YET DOCUMENTED. rotations TODO: NOT YET DOCUMENTED. num_outputs TODO: NOT YET DOCUMENTED. num_possible_outputs TODO: NOT YET DOCUMENTED. DESCRIPTION
RETURN VALUE
Returns an xcb_randr_get_crtc_info_cookie_t. Errors have to be handled when calling the reply function xcb_randr_get_crtc_info_reply. If you want to handle errors in the event loop instead, use xcb_randr_get_crtc_info_unchecked. See xcb-requests(3) for details. ERRORS
This request does never generate any errors. SEE ALSO
AUTHOR
Generated from randr.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. XCB
2014-06-10 xcb_randr_get_crtc_info(3)
All times are GMT -4. The time now is 06:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy