![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Limit the size of a directory | agasamapetilon | UNIX for Dummies Questions & Answers | 3 | 08-25-2008 07:15 AM |
| Limit directory size | jredx | Linux | 2 | 05-27-2008 04:25 AM |
| how to set size in logrotate.conf | icehero | UNIX for Dummies Questions & Answers | 0 | 02-24-2008 04:41 AM |
| Limit Folder Size | tisdmin | UNIX for Dummies Questions & Answers | 2 | 01-17-2007 11:00 PM |
| file size limit | vjm | AIX | 2 | 09-27-2005 10:46 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
logrotate size limit
Hi
i configured log rotate for a specific file. /var/log/sauer i configured create a file in logrotate.d [root@ci logrotate.d]# cat /etc/logrotate.d/sauer #this is a logrotate configuration file for msu_ng logs /var/log/sauer { rotate 5 size=1M daily compress postrotate /usr/bin/killall -HUP syslogd endscript } then i update the file by using l"ogrotate -f /etc/logrotate.d/sauer" then i test the new log with IO(while true ; do echo "blabla" >> /var/log/sauer ;done) i dont understand why the log size is getting larger then 1MB (as you can see i configured size=1M)? do you know why the size limit didnt effect. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|