02-01-2013
Quote:
Originally Posted by
sree vasu
I am new to shell.How to extract logs (Web,APP,Database) using shell in performance testing?
First of all define what do you mean by
extract?
May be you can post an excerpt from your app log and show us what exactly do you want extract.
Show us what you tried so far and what challenges or issues are you facing?
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi there,
I'm a newbie to using Solaris. I need to test an existing application that is monitoring applications/processes of its health and state. My task is to see if the application is doing the monitoring correctly. Everything is very new to me... please suggest some ideas of how I can... (2 Replies)
Discussion started by: laila63
2 Replies
2. AIX
I'm doing performance testing for one application which works on AIX.
But I don't know which performance parameters of memory need to be collected. Now, I just know very few:
1. page in
2. page out
3. fre
They are all collected by "vmstat" command.
I want to know, except for above... (2 Replies)
Discussion started by: adasong
2 Replies
3. Web Development
What is a good approach for a performance testing tool suite for web applications? I am specifically interested in tools that execute a certain set of tasks well as opposed to tuning high traffic sites. In other words, a profiler would be a good idea to have, although I understand these tools are... (4 Replies)
Discussion started by: figaro
4 Replies
4. Linux
Hello friends,
I'm working on a Thesis and right now I'm in a phase of comparing a Linux vs Windows performance in similar situations on the same machine.
I'm asking here because I would like help on this, since I've always worked in Linux as an Administrator and a user, never as a... (6 Replies)
Discussion started by: lzcool
6 Replies
5. IP Networking
Hello all!
I have the need to performance-test a MPLS switch, I was thinking of using iperf to accomplish the task.
I had in mind using a linux box with a Gigabit interface connected to a L2 switch on a 802.1Q trunk. In the interface I would create 20 VLANs with 20 different IP subnets.
... (0 Replies)
Discussion started by: ppucci
0 Replies
6. Emergency UNIX and Linux Support
Hello all!
I have the need to performance-test a MPLS switch, I was thinking of using iperf to accomplish the task.
I had in mind using a linux box with a Gigabit interface connected to a L2 switch on a 802.1Q trunk. In the interface I would create 20 VLANs with 20 different IP subnets.
... (2 Replies)
Discussion started by: ppucci
2 Replies
7. UNIX for Dummies Questions & Answers
Hi Everyone,
My company is involved in performing performance testing and now they want to perform couple of training related with executing those tests on the servers based on Unix sytems.
And I have to provide them draft of the content for those trainings.
I think this kind of training... (2 Replies)
Discussion started by: Bartuss
2 Replies
8. Shell Programming and Scripting
Hi Friends,
Can anybody help me to create a perl script to generate log file for last 24 hrs from cron log file ??
Thank You (2 Replies)
Discussion started by: syamji.vm
2 Replies
LEARN ABOUT DEBIAN
mu-extract
MU-EXTRACT(1) General Commands Manual MU-EXTRACT(1)
NAME
mu_extract - display and save message parts (attachments), and open them with other tools.
SYNOPSIS
mu extract [options] <file> mu extract [options] <file> <pattern>
DESCRIPTION
mu extact is the mu sub-command for extracting MIME-parts (e.g., attachments) from mail messages. It works on message files, and does not
require the message to be indexed in the database.
For attachments, the file name used when saving it, is the name of the attachment in the message. If there is no such name, or when saving
non-attachment MIME-parts, a name is derived from the message-id of the message.
If you specify a pattern (a case-insensitive regular expression) as the second argument, all attachments with filenames matching that pat-
tern will be extracted. The regular expressions are Perl-compatible (as per the PCRE-library).
Without any options, mu extract simply outputs the list of leaf MIME-parts in the message. Only 'leaf' MIME-parts (including RFC822 attach-
ments) are considered, multipart/* etc. are ignored.
OPTIONS
-a, --save-attachments
save all MIME-parts that look like attachments.
--save-all
save all non-multipart MIME-parts.
--parts=<parts>
only consider the following numbered parts (comma-separated list).The numbers for the parts can be seen from running mu extract
without any options but only the message file.
--target-dir=<dir>
save the parts in the target directory rather than the current working directory.
--overwrite
overwrite existing files with the same name; by default overwriting is not allowed.
--play Try to 'play' (open) the attachment with the default
application for the particular file type. On MacOS, this uses the open program, on other platforms is uses xdg-open. You can choose
a different program by setting the MU_PLAY_PROGRAM environment variable.
EXAMPLES
To display information about all the MIME-parts in a message file:
$ mu extract msgfile
To extract MIME-part 3 and 4 from this message, overwriting existing files with the same name:
$ mu extract --parts=3,4 --overwrite msgfile
To extract all files ending in '.jpg' (case-insensitive):
$ mu extract msgfile '.*.jpg'
To extract an mp3-file, and play it in the the default mp3-playing application.
$ mu extract --play msgfile 'whoopsididitagain.mp3'
BUGS
Please report bugs if you find them: http://code.google.com/p/mu0/issues/list
AUTHOR
Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
SEE ALSO
mu(1)
User Manuals February 2012 MU-EXTRACT(1)