10-07-2008
Thanks a lot methyl, will check on the same...
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is there any problems of binaries compatibility between HPUX 10.20 et 11 ? (2 Replies)
Discussion started by: Olivier
2 Replies
2. HP-UX
:( i got couple of weeks ago a : HP Visualize workstation , model B100.
everithing is ok in the box the only problem is that i 'am not familiar with this operational sys, and i try to uninstall and see if i can get on it windows net server 64 bit. or any other 64 bit operational sys that i'll... (1 Reply)
Discussion started by: newbird
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I am a SAP Basis admin recentely been asked to administer a HPUX server. Could someone recommend some good study material to learn with the Sap
prespective.
-carry (1 Reply)
Discussion started by: carryclare
1 Replies
4. Shell Programming and Scripting
Hi,
I am trying to write a script which would go search and get the info from the logs based on yesterday timestamp and write yesterday logs in new file. The log file format is as follows:
""""""""""""""""""""""""""... (3 Replies)
Discussion started by: harish.parker
3 Replies
5. Shell Programming and Scripting
I am running HPUX and using WLM (workload manager). I want to write a script to fork CPUs to basically take CPUs from other servers to show that the communication is working and CPU licensing is working. Basically, I want to build a script that will use up CPU on a server. Any ideas? (2 Replies)
Discussion started by: cpolikowsky
2 Replies
6. Shell Programming and Scripting
Hello.
I cant figure out how can i move entire row up , so it pasted on the one above at the end , or to do that for one character.
In notepads,word, or some other text editors we would do that with backspace button.
Example.
Content of my text file is this :
I am trying to do
that.
And... (2 Replies)
Discussion started by: tonijel
2 Replies
7. Infrastructure Monitoring
I have been trying to get net-snmp working on a HPUX box for over a week now. I do not think it should be this difficult. I must be missing a step. this morning I tried once again and now not even the native HPUX agent is working so I have no SNMP monitoring. So here is where I am at. Any help... (0 Replies)
Discussion started by: krisarmstrong
0 Replies
8. HP-UX
I'm sharing this in case anybody needs it. Modified from the original solaris pwage script. This modified hpux script will check /etc/password file on hpux trusted systems search /tcb and grep the required u_succhg field. Calculate days to expiry and notify users via email.
original solaris... (2 Replies)
Discussion started by: sparcguy
2 Replies
9. Shell Programming and Scripting
Hello All
Why is hpux is not much spoken in the unix/Linux platform. what is the disadvantes in HPUX
Thanks,
VJ (1 Reply)
Discussion started by: Vijaykannan T
1 Replies
10. Shell Programming and Scripting
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
LEARN ABOUT SUSE
scanlogs
SCANLOGS(8) InterNetNews Documentation SCANLOGS(8)
NAME
scanlogs - Summarize and rotate INN log files
SYNOPSIS
scanlogs [norotate]
DESCRIPTION
scanlogs summarizes the information recorded in the INN log files which reside in the pathlog directory set in inn.conf (see newslog(5) for
further details about these log files). It is normally invoked by the news.daily(8) script which performs daily server maintenance tasks.
It invokes "ctlinnd flushlogs" to close the news and error log files, rename them to add ".old" to the file names and open fresh news and
error logs; the active file is also flushed to disk, along with the history database.
By default, scanlogs rotates and cleans out the logs. It keeps up to logcycles old compressed log files in pathlog/OLD (the logcycles
parameter can be set in inn.conf). scanlogs also keeps archives of the active file in this directory.
It invokes tally.control if newgroup.log or rmgroup.log exists in pathlog (see the control.log entry of newslog(5) for more information
about that).
scanlogs displays the contents of errlog and news.crit, if non-empty, and runs innreport to summarize the contents of news and news.notice,
and to update the unwanted.log file amongst other things (see more information about that in innreport(8)).
OPTIONS
Only one option is currently accepted:
norotate
Using this option disables the rotating and cleaning aspect of the log processing: the logs files are only scanned for information and
no contents are altered. If scanlogs is invoked more than once a day, the norotate option should be used to prevent premature log
cleaning.
FILES
See newslog(5) for the list of log files processed by scanlogs.
HISTORY
Written by Landon Curt Noll <chongo@toad.com> and Rich $alz <rsalz@uunet.uu.net> for InterNetNews. Converted to POD by Julien Elie.
$Id: scanlogs.pod 8357 2009-02-27 17:56:00Z iulius $
SEE ALSO
inn.conf(5), innreport(8), news.daily(8), newslog(5), shlock(1), tally.control(8).
INN 2.5.2 2009-05-21 SCANLOGS(8)