If I have loads of logs like below and I am interested to print the requests(lines) which have taken more than 1000 ms. In this case how could I print the two highlighted lines ?
abc.log
Thanks,
Narayana.V
Last edited by Don Cragun; 11-04-2013 at 06:12 PM..
Reason: Add CODE tags.
This site has been very helpful thus far.. I thank you all in advance for sharing the knowledge. Let me get to it.
I am trying to write a very small script to take away from the boredom of doing the same thing over and over.
Everynow and again I have to get the hex value of a file using a... (2 Replies)
Hi guys. Is it possible (I'm sure it is) to use the output of a simple 'ls' command as input of another command 'tail'.
It is not really the output of the 'ls'. I have to useeach line of the output.
This is the first command...
ls *myFile*021308*
Which it outputs many filenames. For each... (3 Replies)
Hi,
I am having an Input file .which is having a list of names.
comapring with our database , needs to write the out put in file called output.txt , format should be name--> country--->phone number
could you please help me..
thanks in advance (7 Replies)
Hi,
I have two files , one file with data file with attributes that need to be sent to another file to generate a predefined format.
Example:
File.txt
AP|{SSHA}VEEg42CNCghUnGhCVg==
APVG3|{SSHA}XK|"password"
AP3|{SSHA}XK|"This is test"
....
etc
---------
test.sh has... (1 Reply)
Hello All,
I have created a script to capture logs on every day at every 3 Min.Please find in attach.So my goal is to mail all the logs to myself for pertical date.So can anyone guide me how can i this on the basis of the attached logs.
Regards
Ankit (0 Replies)
Hi All,
Is it wrong to do something like this:
ssh -T $PROXY_USER@$PROXY_SERVER < script.txt > ssh_output.log
I ran and it works fine and does what I need. I wanted to pass a set of commands to the ssh session and store an output in the log file.
Thanks (4 Replies)
Hi,
If I have loads of logs like below and I am interested to print the requests(lines) which have taken more than 1000 ms. In this case how could I print the two highlighted lines ?
abc.log
reqquest id232342 , adfghfasdfsaf, TIME=30
reqquest id11111 , asdfdfghdffsaf, TIME=54
reqquest... (0 Replies)
My scenario is as follows.
1. I have a reference file with the IP addresses and names
$ cat ref.list
10.11.xxx.xxx AA
10.12.xxx.xxx BB
10.13.xxx.xxx CC
10.14.xxx.xxx DD
2. A script runs and gets me one of the IP addresses and puts it in a separate file, for e.g... (2 Replies)
Hi All,
I have a input file as below. Input file may contain more hostlists.
sample Input file
$ cat hostlist.lst
cs18-db1-1-sjl
cs22-db1-1-was
na88-db1-1-chi
na21-db1-2-was
I want the output like below format. Pls help. Thanks !
Output format:
... (4 Replies)
Discussion started by: kamauv234
4 Replies
LEARN ABOUT DEBIAN
ibid-objgraph
IBID-OBJGRAPH(1) Ibid - Multi-protocol Bot IBID-OBJGRAPH(1)NAME
ibid-objgraph - Memory usage graph generation utility for Ibid
SYNOPSIS
ibid-objgraph [options...] logfile type...
ibid-objgraph -e TIME [options...] logfile
ibid-objgraph -h
DESCRIPTION
This utility is for graphing object-type usage from an Ibid bot configured to log such usage.
Matplotlib is required for graphing.
OPTIONS -e TIME, --examine=TIME
Examine the object usage at time TIME, and print a sorted list of type statistics at that time. This function can be useful in
determining which types to graph, when chasing down a detected leak.
-o FILE, --output=FILE
Output to FILE instead of displaying interactive graph GUI. FILE can be any format supported by Matplotlib, detected by the file
extension.
-d DPI, --dpi=DPI
When outputting in raster formats, use DPI output DPI.
-h, --help
Show a help message and exit.
FILES
logfile
A log file generated by loading the memory plugin into Ibid, which will periodically log object usage. It can be gzip compressed,
if the filename ends in .gz.
SEE ALSO ibid(1), ibid-memgraph(1), http://ibid.omnia.za.net/
Ibid 0.1 March 2010 IBID-OBJGRAPH(1)