02-10-2020
So two mornings in a row now and my 0 byte files are not present. Thank you very much.
This User Gave Thanks to MyUserName7000 For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
In my server migration requirement, I need to compare if one file on old server is exactly the same as the corresponding file on the new server.
For diff and comm, the inputs need to be sorted. But I do not want to disturb the content of the file and need to find byte-to-byte match.
Please... (4 Replies)
Discussion started by: krishmaths
4 Replies
2. Shell Programming and Scripting
Hi All
Can anyone please suggest me how to remove the last byte from a falt file .This is from the last line's last BYTE.
Please suggest me something.
Thank's and regards
Vinay (1 Reply)
Discussion started by: vinayrao
1 Replies
3. UNIX for Advanced & Expert Users
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
4. Shell Programming and Scripting
Hi,
How to give file name for the zip file while compressing in logrotate...
Should we need to give it in the logrotate.conf file or in the spec file...? (2 Replies)
Discussion started by: Dedeepthi
2 Replies
5. UNIX for Dummies Questions & Answers
Very silly question .. I deleted it .. Please delete this thread too . (0 Replies)
Discussion started by: stunn3r
0 Replies
6. Red Hat
I am having a requirement to rotate the my application logs dailay as it is keep on writiing to single file and below is the logrotate function which I am using,
cat /apps/bmc/bmtm/QPasa_logrotate.conf
/apps/bmc/bmtm/all_events.log /apps/bmc/bmtm/history_association.log {
missingok
... (1 Reply)
Discussion started by: sandyrajh
1 Replies
7. Shell Programming and Scripting
I have written script which is working in Home directory perfectly and also compressing log files and rotating correctly. But, when i try to run script for /var/log/ i am able to get compressed log files but not able to get rotation of compressed log files. Please suggest.
I am using below command... (5 Replies)
Discussion started by: VSom007
5 Replies
8. AIX
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
9. Solaris
Hi Guys -
We have the /var/adm/pacct file currently configured to log rotate using logadm - here is the entry in logadm.conf:
/var/adm/pacct -C 0 -N -P 'Wed Oct 23 08:00:00 2013' -a '/usr/lib/acct/accton pacct' -g adm -m 664 -o adm -p never
Just want to ask if it would like possible to... (1 Reply)
Discussion started by: akaterasu
1 Replies
10. UNIX for Beginners Questions & Answers
Hi all !
I've an issue to exclude a log file from logrotate, I tried this below:
/var/log/apache2/*.log {
olddir /var/log/apache2/old
missingok
rotate 50
compress
copytruncate
notifempty
create 644 root root
}
I tried also:... (0 Replies)
Discussion started by: Arnaudh78
0 Replies
LEARN ABOUT SUNOS
mlib_videocolorrgb2jfifycc420
mlib_VideoColorRGB2JFIFYCC420(3MLIB) mediaLib Library Functions mlib_VideoColorRGB2JFIFYCC420(3MLIB)
NAME
mlib_VideoColorRGB2JFIFYCC420 - RGB to JFIF YCbCr color conversion
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>
mlib_status mlib_VideoColorRGB2JFIFYCC420(mlib_u8 *y0, mlib_u8 *y1, mlib_u8 *cb, mlib_u8 *cr, const mlib_u8 *rgb0, const mlib_u8 *rgb1,
mlib_s32 n);
DESCRIPTION
The mlib_VideoColorRGB2JFIFYCC420() function performs color space conversion from RGB to YCbCr to together with sampling rate conversion
when used in the JPEG File Interchange Format (JFIF).
PARAMETERS
The function takes the following arguments:
y0 Pointer to upper destination Y component row. y0 must be 8-byte aligned.
y1 Pointer to lower destination Y component row. y1 must be 8-byte aligned.
cb Pointer to destination Cb component row. cb must be 8-byte aligned.
cr Pointer to destination Cr component row. cr must be 8-byte aligned.
rgb0 Pointer to upper source RGB multi-component row. rgb0 must be 8-byte aligned.
rgb1 Pointer to lower source RGB multi-component row. rgb1 must be 8-byte aligned.
n Length of Y component row. n must be even. The length of Cb and Cr component rows must be n/2. The length of the RGB multi-
component row must be 3*n.
RETURN VALUES
The function returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
mlib_VideoColorABGR2JFIFYCC420(3MLIB), mlib_VideoColorABGR2JFIFYCC422(3MLIB), mlib_VideoColorARGB2JFIFYCC420(3MLIB), mlib_VideoCol-
orARGB2JFIFYCC422(3MLIB), mlib_VideoColorRGB2JFIFYCC422(3MLIB), attributes(5)
SunOS 5.10 9 Nov 2004 mlib_VideoColorRGB2JFIFYCC420(3MLIB)