Sponsored Content
Operating Systems Solaris Solaris Diagnostic Reporter Logs Post 302276677 by incredible on Wednesday 14th of January 2009 10:48:47 AM
Old 01-14-2009
You can have a script to check the logs and rotate them
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Diagnostic Software

Hi, I'm running Redhat 7.2 Advanced server on a compaq dl380 G1, and i wanted to do a diagnostic on a Harddrive that has an amber light. I've reseated the drive and the light is showing green. I was just wondering whether there are some diagnostic tools I can run on this drive. The drive has been... (2 Replies)
Discussion started by: camerja1
2 Replies

2. Solaris

where the logs store in the sun solaris?

hi friends, i would like to know where the logs are store in the sun solaris . i want to know particular logs where user are executing command , editing some process,deleting some file etc,file tranfers. I have tried editing syslog.conf file,but i am not getting the information which i... (2 Replies)
Discussion started by: ronsy84
2 Replies

3. Solaris

rsh logs in Solaris

Hi we run rsh (password-less) among solaris 9/10 boxes very frequently and would like to know if there exist any logs which will capture either login session or the commands run (using rsh) or with any other info. TIA Reddy (0 Replies)
Discussion started by: reddyr
0 Replies

4. Solaris

Disable all the logs in Solaris

Hi Is there anyway to disable all logs/logging (lastlog, sulog, messages etc.) in Solaris 9&10? I know this is not recommended but i just want to know if this is possible. TIA Reddy (8 Replies)
Discussion started by: reddyr
8 Replies

5. Shell Programming and Scripting

Command to clear logs for every 6 hours in solaris

Hi Folks, I need to remove log files for six hours on Solaris. before i used to do for every 24 hours below is the code for 1 day older log files, now i tried using -mmin +360 but it says command not found. Can someone please help me out!!! part of the code: LOG_FILE=`find /home/Logdir... (1 Reply)
Discussion started by: Sendhil.Kumaran
1 Replies

6. Solaris

Solaris logs - Tracking failed attempts from my host

Hey all I'm having a big problem here. Someone is attempting an SSH to a destination host on which an account resides and locking the account. I'm trying to determine who is performing the SSH attempts from my host. For instance they're logged in as their standard account but then (I'm assuming)... (13 Replies)
Discussion started by: MaindotC
13 Replies

7. Solaris

How to view audit logs in Solaris?

Does anyone know if there is software written to view the audit logs generated by Solaris? I am referring the the logs created by auditd. It produces an unreadable log. I am familiar with auditreduce and praudit, but I am looking for something that produces a report, much like logwatch looks at the... (4 Replies)
Discussion started by: brownwrap
4 Replies

8. Solaris

In Solaris 10 where to see print logs?

Hi friends, In Solaris 10 where to see print logs? Following is the command I used to give test page. echo "Michael Ponting - test page_New1" |lpr -P pip-qc3-lki890 pip-qc3-lki890 is print queue name. Please Advise. Thanks, Manali (3 Replies)
Discussion started by: manalisharmabe
3 Replies

9. Solaris

How to print the particular date logs on UNIX (Solaris)?

I would like to get only some particular date logs from /var/adm/messages. Please suggest any command or script to get this. (3 Replies)
Discussion started by: seenuvasan1985
3 Replies
Mail::Box::Locker::DotLock(3pm) 			User Contributed Perl Documentation			   Mail::Box::Locker::DotLock(3pm)

NAME
Mail::Box::Locker::DotLock - lock a folder with a separate file INHERITANCE
Mail::Box::Locker::DotLock is a Mail::Box::Locker is a Mail::Reporter SYNOPSIS
See Mail::Box::Locker DESCRIPTION
The "::DotLock" object lock the folder by creating a file with the same name as the folder, extended by ".lock". METHODS
Constructors Mail::Box::Locker::DotLock->new(OPTIONS) Name of the file to lock. By default, the folder's name is extended with ".lock". -Option --Defined in --Default dotlock_file <undef> expires Mail::Box::Locker 1 hour file Mail::Box::Locker <folderfile>.lock folder Mail::Box::Locker <undef> log Mail::Reporter 'WARNINGS' method Mail::Box::Locker 'DOTLOCK' timeout Mail::Box::Locker 10 seconds trace Mail::Reporter 'WARNINGS' dotlock_file => FILENAME Alternative name for "file", especially useful to confusion when the multi locker is used. expires => SECONDS file => FILENAME folder => FOLDER log => LEVEL method => STRING|CLASS|ARRAY timeout => SECONDS|'NOTIMEOUT' trace => LEVEL The Locker $obj->filename([FILENAME]) See "The Locker" in Mail::Box::Locker $obj->folder([FOLDER]) See "The Locker" in Mail::Box::Locker $obj->name() See "The Locker" in Mail::Box::Locker Locking $obj->hasLock() See "Locking" in Mail::Box::Locker $obj->isLocked() See "Locking" in Mail::Box::Locker $obj->lock() $obj->unlock() Error handling $obj->AUTOLOAD() See "Error handling" in Mail::Reporter $obj->addReport(OBJECT) See "Error handling" in Mail::Reporter $obj->defaultTrace([LEVEL]|[LOGLEVEL, TRACELEVEL]|[LEVEL, CALLBACK]) Mail::Box::Locker::DotLock->defaultTrace([LEVEL]|[LOGLEVEL, TRACELEVEL]|[LEVEL, CALLBACK]) See "Error handling" in Mail::Reporter $obj->errors() See "Error handling" in Mail::Reporter $obj->log([LEVEL [,STRINGS]]) Mail::Box::Locker::DotLock->log([LEVEL [,STRINGS]]) See "Error handling" in Mail::Reporter $obj->logPriority(LEVEL) Mail::Box::Locker::DotLock->logPriority(LEVEL) See "Error handling" in Mail::Reporter $obj->logSettings() See "Error handling" in Mail::Reporter $obj->notImplemented() See "Error handling" in Mail::Reporter $obj->report([LEVEL]) See "Error handling" in Mail::Reporter $obj->reportAll([LEVEL]) See "Error handling" in Mail::Reporter $obj->trace([LEVEL]) See "Error handling" in Mail::Reporter $obj->warnings() See "Error handling" in Mail::Reporter Cleanup $obj->DESTROY() See "Cleanup" in Mail::Box::Locker $obj->inGlobalDestruction() See "Cleanup" in Mail::Reporter DIAGNOSTICS
Warning: Couldn't remove lockfile $lock: $! Error: Failed to remove expired lockfile $lockfile: $! Warning: Folder already locked with file $lockfile Error: Package $package does not implement $method. Fatal error: the specific package (or one of its superclasses) does not implement this method where it should. This message means that some other related classes do implement this method however the class at hand does not. Probably you should investigate this and probably inform the author of the package. Warning: Removed expired lockfile $lockfile SEE ALSO
This module is part of Mail-Box distribution version 2.105, built on May 07, 2012. Website: http://perl.overmeer.net/mailbox/ LICENSE
Copyrights 2001-2012 by [Mark Overmeer]. For other contributors see ChangeLog. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://www.perl.com/perl/misc/Artistic.html perl v5.14.2 2012-05-07 Mail::Box::Locker::DotLock(3pm)
All times are GMT -4. The time now is 07:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy