Sponsored Content
Full Discussion: Remove logs by date
Operating Systems Solaris Remove logs by date Post 302200942 by cvdev on Friday 30th of May 2008 11:45:07 AM
Old 05-30-2008
Remove logs by date

Hi

I Need To Remove Logs Older Than April 1 St(4/1/2007) By Date

I Have A Script To Remove 3 Months Old Like Using 90 Days

Thanks
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Remove out date logs

hi all, i would like to write the shell script to remove the out-dated log my log file name will be like this: access_20050101.log access_20050102.log . . . access_20071007.log access_20071008.log access_20071009.log i has try to write the command as following, it will be remove the... (2 Replies)
Discussion started by: eric_wong_ch
2 Replies

2. Shell Programming and Scripting

not able to redirect the logs of a singl date in one system

Hi All, I have around 15 servers. I need to check for the error in /var/adm/messages in 15 servers of current date everyday and log it in one server. rsh is configured in all servers. The command I am using to accomplish this in shell script is rsh <remote sever> grep 'Jun 17'... (2 Replies)
Discussion started by: partha_bhunia
2 Replies

3. Shell Programming and Scripting

Get Data Between a specific Date Range from logs

I need to extract data from logs for a mentioned date range..Its quite urgent can anyone help me out with it..its to be written in unix..just thought its better to specify.. (4 Replies)
Discussion started by: sankasu
4 Replies

4. Shell Programming and Scripting

How to find the password in the logs and remove the log which indicate it.

I want to crypt my files but as you know I have to write the password in the xterm...as you know there is a log where every thing I write in the xterm are store on it..how can I get the logs and delete the record which indicate my password..or prevent the xterm from storing my password in the... (2 Replies)
Discussion started by: ahmad.diab
2 Replies

5. Shell Programming and Scripting

Lots of logs to move....don't remove if open

I have a ksh script that currently moves a day's worth of log files (about 15,000) files to a different directory. The issue is that about 100 of these files are still open for write when this happens. I need an efficient way to ensure that these files aren't open without doing an lsof on each... (7 Replies)
Discussion started by: nestafaria
7 Replies

6. Shell Programming and Scripting

How to remove the logs more than 5 days old

All, How to remove the logs that are more than 5 days old from a particular folder. Help will be highly appreciated. Regards Oracle User (2 Replies)
Discussion started by: Oracle_User
2 Replies

7. UNIX for Dummies Questions & Answers

Removing the logs of previous date

Hi folks, Please advise there is directory named logs and which there are several logs are there with the name appended by date , I can take out the latest one through cd /var/log ls -ltr but please suggest the command through which I can remove the logs of all the previous dats , the... (2 Replies)
Discussion started by: SankalpS
2 Replies

8. Shell Programming and Scripting

Grep a pattern in current date logs

Hello, I need to write one script which should search particular pattern like ABCD in log file name hello.txt only in current date logs. in current directory i have so many past date logs but grep should be applied on current date logs. on daily basis current date logs are in number 30 and... (2 Replies)
Discussion started by: ajju
2 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

10. Shell Programming and Scripting

If I ran perl script again,old logs should move with today date and new logs should generate.

Appreciate help for the below issue. Im using below code.....I dont want to attach the logs when I ran the perl twice...I just want to take backup with today date and generate new logs...What I need to do for the below scirpt.............. 1)if logs exist it should move the logs with extention... (1 Reply)
Discussion started by: Sanjeev G
1 Replies
Net::XMPP::Stanza(3)					User Contributed Perl Documentation				      Net::XMPP::Stanza(3)

NAME
Net::XMPP::Stanza - XMPP Stanza Module SYNOPSIS
Net::XMPP::Stanza is a private package that serves as a basis for all XMPP stanzas generated by Net::XMPP. DESCRIPTION
This module is not meant to be used directly. You should be using either Net::XMPP::IQ, Net::XMPP::Message, Net::XMPP::Presence, or another package that inherits from Net::XMPP::Stanza. That said, this is where all of the namespaced methods are documented. The current supported namespaces are: jabber:iq:auth jabber:iq:privacy jabber:iq:register jabber:iq:roster urn:ietf:params:xml:ns:xmpp-bind urn:ietf:params:xml:ns:xmpp-session For more information on what these namespaces are for, visit http://www.jabber.org and browse the Jabber Programmers Guide. The following tables can be read as follows: ny:private:ns Name Type Get Set Remove Defined Add ========================== ======= === === ====== ======= === Foo scalar X X X X Bar child X Bars child X Test master X X Withing the my:private:ns namespace, there exists the functions: GetFoo(), SetFoo(), RemoveFoo(), DefinedFoo() AddBar() GetBars(), DefinedBars() GetTest(), SetMaster() Hopefully it should be obvious how this all works. If not feel free to contact me and I'll work on adding more documentation. jabber:iq:auth Name Type Get Set Remove Defined Add ========================== ========= === === ====== ======= === Digest scalar X X X X Hash scalar X X X X Password scalar X X X X Resource scalar X X X X Sequence scalar X X X X Token scalar X X X X Username scalar X X X X Auth master X X jabber:iq:privacy Name Type Get Set Remove Defined Add ========================== ========= === === ====== ======= === Active scalar X X X X Default scalar X X X X List child X Lists child X X X Privacy master X X jabber:iq:privacy - item objects Name Type Get Set Remove Defined Add ========================== ========= === === ====== ======= === Action scalar X X X X IQ flag X X X X Message flag X X X X Order scalar X X X X PresenceIn flag X X X X PresenceOut flag X X X X Type scalar X X X X Value scalar X X X X Item master X X jabber:iq:privacy - list objects Name Type Get Set Remove Defined Add ========================== ========= === === ====== ======= === Name scalar X X X X Item child X Items child X X X List master X X jabber:iq:register Name Type Get Set Remove Defined Add ========================== ========= === === ====== ======= === Address scalar X X X X City scalar X X X X Date scalar X X X X Email scalar X X X X First scalar X X X X Instructions scalar X X X X Key scalar X X X X Last scalar X X X X Misc scalar X X X X Name scalar X X X X Nick scalar X X X X Password scalar X X X X Phone scalar X X X X Registered flag X X X X Remove flag X X X X State scalar X X X X Text scalar X X X X URL scalar X X X X Username scalar X X X X Zip scalar X X X X Register master X X jabber:iq:roster Name Type Get Set Remove Defined Add ========================== ========= === === ====== ======= === Item child X Items child X Roster master X X jabber:iq:roster - item objects Name Type Get Set Remove Defined Add ========================== ========= === === ====== ======= === Ask scalar X X X X Group array X X X X JID jid X X X X Name scalar X X X X Subscription scalar X X X X Item master X X urn:ietf:params:xml:ns:xmpp-bind Name Type Get Set Remove Defined Add ========================== ========= === === ====== ======= === JID jid X X X X Resource scalar X X X X Bind master X X urn:ietf:params:xml:ns:xmpp-session Name Type Get Set Remove Defined Add ========================== ========= === === ====== ======= === Session master X X AUTHOR
Ryan Eatmon COPYRIGHT
This module is free software, you can redistribute it and/or modify it under the LGPL. perl v5.12.1 2010-07-05 Net::XMPP::Stanza(3)
All times are GMT -4. The time now is 09:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy