03-04-2015
Welcome to the forums. Have you tried something?
This User Gave Thanks to clx For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
So I got this old webapp doing some strange format with its logging and I need to extract only specific parts.
Basically the format of the log goes:
Date:<space>timestamp
User:<space>userid
AppID:<space>applicationid
Duration:<space>time(ms)
<line>
<line>
Date:<space>timestamp... (1 Reply)
Discussion started by: kenm0j0
1 Replies
2. Shell Programming and Scripting
HI,
I have a log file (sync.log) in the following format.
05-14 05:34:56 INFO Hxxx Start: Id:xxx
05-14 05:45:32 INFO Hxxx End: Id:xxxx
05-19 11:23:21 INFO Hxxx Start: Id:xxx
05-19 11:34:45 INFO Hxxx End: Id:xxxx
05-20 02:09:47 INFO Hxxx Start: Id:xxx
05-20 02:36:03 INFO Hxxx End: Id:xxx... (5 Replies)
Discussion started by: praveenvi
5 Replies
3. Shell Programming and Scripting
give me a shell-script which extract data from log file on a server by giving date and time as input (for both start time and end time) and it will give the logs generated during the given time as output. (4 Replies)
Discussion started by: abhishek27
4 Replies
4. Shell Programming and Scripting
Hi , I am having a script which will start a process and appends the process related logs to a log file. The log file writes logs with every line starting with date in the format of: date +"%Y %b %d %H:%M:%S".
So, in the script, before I start the process, I am storing the date as DATE=`date +"%Y... (5 Replies)
Discussion started by: chiru_h
5 Replies
5. Shell Programming and Scripting
If I have a log like :
Mon Jul 19 05:07:34 2010; TCP; eth3; 52 bytes; from abc to def
Mon Jul 19 05:07:35 2010; UDP; eth3; 46 bytes; from aaa to bbb
Mon Jul 19 05:07:35 2010; TCP; eth3; 52 bytes; from def to ghi
I will need an output like this :
Time abc to def... (1 Reply)
Discussion started by: hitha87
1 Replies
6. Shell Programming and Scripting
Hi Gurus,
I've been having some problem in extracting the log data based on the current date and month.
As shown in the sample data below, how to extract the log info for Aug 11?
Sample data:
root pts/ta userpc Wed Aug 11 09:46 - 20:21 (10:35)
root pts/ta userpc... (13 Replies)
Discussion started by: superHonda123
13 Replies
7. Shell Programming and Scripting
Please help me out to extract the Data from the XML Log files.
So here is the data
ERROR|2010-08-26 00:05:52,958|SERIAL_ID=128279996|ST=2010-08-2600:05:52|DEVICE=113.2.21.12:601|TYPE=TransactionLog... (9 Replies)
Discussion started by: raghunsi
9 Replies
8. Shell Programming and Scripting
I was searching for parsing a log file and found what I need in this link
http://stackoverflow.com/questions/7575267/extract-data-from-log-file-in-specified-range-of-time
But the most useful answer (posted by @Kent):
# this variable you could customize, important is convert to seconds.
# e.g... (2 Replies)
Discussion started by: kingk110
2 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I am trying to extract lines of data within a log file on a Redhat 5 Linux system.
eg I need all the lines with a particular username over the last 3 minutes.
the log file may read like this, and I want a way to search all the lines extracting all the relevant lines over the last 3... (2 Replies)
Discussion started by: mantis100
2 Replies
10. Shell Programming and Scripting
So, we have a script, that is supposed to have a couple of functions like showing number of failed connections, recieved bytes per IP-address, and so on. We are supposed to be able to limit the number of results to either 0-24 hours or X days back from the last data in the log file.
Everything... (3 Replies)
Discussion started by: Plumpen
3 Replies
LEARN ABOUT DEBIAN
ppserver
PPSERVER(1) User Commands PPSERVER(1)
NAME
ppserver - manual page for Parallel Python Network Server
SYNOPSIS
ppserver [-hda] [-i interface] [-b broadcast] [-p port] [-w nworkers] [-s secret] [-t seconds]
DESCRIPTION
Parallel Python Network Server
OPTIONS
-h this help message
-d debug
-a enable auto-discovery service
-r restart worker process after each task completion
-n <proto>
protocol number for pickle module
-c <path>
path to config file
-i <interface>
interface to listen
-b <broadcast>
broadcast address for auto-discovery service
-p <port>
port to listen
-w <nworkers>
number of workers to start
-s <secret>
secret for authentication
-t <seconds>
timeout to exit if no connections with clients exist
-k <seconds>
socket timeout in seconds which is also the maximum time a remote job could be executed. Increase this value if you have long run-
ning jobs or decrease if connectivity to remote ppservers is often lost.
Please visit http://www.parallelpython.com for extended up-to-date documentation, examples and support forums
SECURITY
Due to the security concerns it is highly recommended to run ppserver.py with an non-trivial secret key (-s command line argument) which
should be paired with the matching secret keyword of PP Server class constructor. An alternative way to set a secret key is by assigning
pp_secret variable in the configuration file .pythonrc.py which should be located in the user home directory (please make this file read-
able and writable only by user). The secret key set in .pythonrc.py could be overridden by command line argument (for ppserver.py) and
secret keyword (for PP Server class constructor).
AUTHOR
This manual page was written by Sandro Tosi <matrixhasu@gmail.com>, and Vitalii Vanovschi support@parallelpython.com
Parallel Python Network Server February 2010 PPSERVER(1)