Hi,
We use an application that is dumping logs to a file on disk. However, this is dumping very verbosely and there is no method of turning down the logging level. We need to remove certain contents from these before they are commited to disk.
Has anybody got any ideas how I can do this... (3 Replies)
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)
I want to find the unique url in a apache logs which got 404 error .
I can do something like
"cat apache.log|grep 404|awk '{print $2,$3}'|grep 404
this will give me say
/foo.html 404
/foo.html 404
/foo.html 404
/bar.html 404
/cat.html 404
However my output should only find... (3 Replies)
Hi all,
I have a file which will be updated every half an hour and time stamp will be printed in the beginning of the updation. i just want to grep the content between every hoalf an hour.
Pls help me on this issue. how to grep contents between tim stamp?
Ex of file:
29/09/2010... (20 Replies)
Suppose there are log entries like
16 Jul 2012 11:46:45,628 SendToClientService ExecuteThread: '256' for queue: 'weblogic.kernel.Default (self-tuning)': Received an unknown fault.
16 Jul 2012 11:47:45,650 SendToClientService ExecuteThread: '256' for queue: 'weblogic.kernel.Default... (4 Replies)
Hello all. I am new to this forum and also very new to using grep - so please excuse me if this question is not in the correct forum and/or is not pertinent to this website.
I use greps like this:
gunzip -c L:\System1\SailLogger_20071019* L:\System2\SailLogger_20071019*... (14 Replies)
Hi Guys,
I want to write a script which can grep the logs (server.log) from a file for Error String and output to a other file.
Problems:
How to know about the errors only between the current restart and not in previous as server.log has earlier restarts also?
thanks for the help! Much... (5 Replies)
Hi,
I need to count the number of lines wc command for next 12 hrs in the log file given the starting time in the log (hello.log) looks like the below.
135.63.34.29 - - "POST /ShopCart/MyBest HTTP/1.1" 200 6310
130.15.126.22 - - "POST /ShopCart/MyBest HTTP/1.1" 200 4021
130.18.16.2 - - ... (2 Replies)
So basically I have a log file and each line in this log file starts with a timestamp:
MON DD HH:MM:SS
SEP 15 07:30:01
I need to grep all the lines between last hour timestamp and current timestamp. Then these lines will be moved to a tmp file from which I will grep for particular strings. ... (1 Reply)
Hi,
system date format
Thu Jun 13 12:55:18 EDT 2019
My log date format
09.148.192.60 - - "GET /akamai/sureroute-test-object.html HTTP/1.1" 404 231
can someone please help me, how to get last 5mins of logs please ? I need the command
Please wrap your samples/codes in CODE TAGS,... (3 Replies)
Discussion started by: scazed
3 Replies
LEARN ABOUT HPUX
rusersd
rusersd(1M)rusersd(1M)NAME
rusersd - network username server
SYNOPSIS
log_file]
DESCRIPTION
is an RPC server that returns a list of users on the network. The command prints this information (see rusers(1)).
invokes through (see inetd(1M)).
Options
recognizes the following options and command-line arguments:
Log any errors to the named log file,
log_file. Errors are not logged if the option is not specified.
Information logged to the file includes date and time of the error, the host name, process ID and name of the func-
tion generating the error, and the error message. Note that different services can share a single log file since
enough information is included to uniquely identify each error.
Exit after serving each RPC request.
Using the option, the security file can control access to RPC services.
Exit only if
o dies (see portmap(1M)),
o another registers with or
o becomes unregistered with
The option is more efficient because a new process is not launched for each RPC request. This option is the default.
AUTHOR
was developed by Sun Microsystems, Inc.
SEE ALSO rusers(1), inetd(1M), portmap(1M), inetd.conf(4), inetd.sec(4), services(4).
rusersd(1M)