When I run logadm on my Solaris 10 machine I get exe status - 1.
My target is to run the command with exe status - 0
What do I need to do in order to run my logadm successfully and to get exe status – 0?
star1a:/ ROOT > /usr/sbin/logadm -rv hw-alarms_2
# loading /etc/logadm.conf
# processing logname: hw-alarms_2
# /etc/logadm.conf unchanged
star1a:/ ROOT > echo $?
1
I'm running logadm manually to test and it seems to be rotating my /var/log/oracle/oracle_audit.log file every single time it's ran instead of rotating once it gets passed 10 gigs, any ideas? Here's the logadm.conf for reference.
Hi All,
I m new to this forum & UNix too.
currently i have a requirement which can fetch data from a logfile between two dates or timestamp.
for example:
1. data from 2012 Jun to 2012 Jul
2. data from 2012 Jun to 2012 Jul 07
3.
Hi guys,
Good day to all and Happy New Year!!! Cheers!!!
I hope anyone could help/suggest me on hot to create a script that will monitor the directory where files are being dumped.
Hi Folks,
I have an application of which logs are being made on unix machine at the back end , i open putty and access that location
Code:
cd /var/log/abc.log
but those logs are getting refreshed after every minute or on every request and response Now I am opening those logs on putty but please advise me the unix command so that my logs are also get refreshed on putty as the logs are gettin
I need to be able to export SQL Server logs into CSV files, which I can easily do with the export function. However in doing so I've noticed there's a range of dates missing from the SQL Server logs in Management Studio, two months actually. I'm wondering where these logs might be found, and if it's possible to reload them so I can view and then export them.
I am developing an app that gets all the logs on the phone. I have completed call and sms logs. But I still need to get the logs of apps like whatsapp and viber. All of whatsapps logs seem to be encrypted. Can anyone pls tell me how to access these logs?
I want to setup a simple log server to accept logs from all clients. I am not talking about standard system logs such as /var/log/mail , message, boot etc. I want to redirect or send application logs and they may not be using syslog daemon at all to log their message.
Such as /appdir/log/error.log.
I ran across many posts on the internet; most suggest using rsyslog or syslog-ng.
To delete log files content older than 30 days and append the lastest date log file date in the respective logs
I want to write a shell script that deletes all log files content older than 30 days and append the lastest log file date in the respective logs
This is my script
Code:
cd /hyperion/logs/essbase/app
Check to find all the Essbase Application logs
Code:
find .