10-04-2008
Excellent
It is working.
Thanks for your valuable info.
Regards,
Nimu
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi,
I am new to unix.
I need send html content as a mail from my sun-solaris2.6 work station. When I tried that the recipient gets it as html code with all the tags.
any solutions?
thanx in advance (2 Replies)
Discussion started by: gmchoudary
2 Replies
2. Shell Programming and Scripting
I'm new to scripting and have been tasked with creating a script that will read a mailbox, such as /var/mail/user1, scan it for new messages, then send those new messages to another file.
It also has to be looped to run almost continuously.
Any help would be greatly appreciated (1 Reply)
Discussion started by: rsw626
1 Replies
3. Shell Programming and Scripting
hi I need help urgently...i need to write a shell script which can solve the following problem....its urgent plz help me out coz m totally newbie in shell scripting....
the problem is:
Suppose I have a folder called logs. whenever some error occurs some correspondence error file is generated.
I... (4 Replies)
Discussion started by: sukhdip
4 Replies
4. Shell Programming and Scripting
How Can I send the content of a file in Expect? Do I have to use cat command in a way? if yes how? lets say my file is called 1.txt.
example:
expect "Enter command to send:" {send "???? \r"} ???? --> content of the file 1.txt (1 Reply)
Discussion started by: alireza6485
1 Replies
5. Shell Programming and Scripting
Hi
I am looking for a help in designing a bash script on linux which can do below:-
1) Look in a specific directory for any new files
2) Mail the content of the new file
Appreciate any help
Regards
Neha (5 Replies)
Discussion started by: neha0785
5 Replies
6. Shell Programming and Scripting
Hi Guru's,
I am new to shell scripting. I have a unique requirement:
The system generates a single pdf(/tmp/ABC.pdf) file with Invoices for Multiple Customers, the format is something like this:
Page1 >> Customer 1 >>Invoice1 + invoice 2 >> Page1 end
Page2 >> Customer 2 >>Invoice 3 + Invoice 4... (3 Replies)
Discussion started by: DIps
3 Replies
7. Shell Programming and Scripting
Hi,
We have a requirement to send multiple attachment(pdf and csv) along with html content in a single mail. For that we are using uuencode. It is working for single pdf attachment and html content. But we are unable to send both pdf and csv attachment with html content. Below is the script.... (5 Replies)
Discussion started by: dholea
5 Replies
8. Shell Programming and Scripting
Hi All,
I want to fetch records from Oracle DB table and send it in a mail to a set of users. i.e, I have a query which returns a set of records. I want to send mail with below content:
Hi ,
PFB the details:
<first database record>
<Second database record>
…………….
………………..... (3 Replies)
Discussion started by: anil029
3 Replies
9. Shell Programming and Scripting
HI
i am running a shell script in cron and storing the output of that script in a file say test.then i am copying the content of test to test1 and i will send the output of test to some email ids using mutt. Next time when the script executes i am comparing the contents of test and test1 and... (3 Replies)
Discussion started by: venkitesh
3 Replies
10. Shell Programming and Scripting
Hi Gurus,
I am SQL developer and new unix user.
I need to create some file and file content based on information in two files.
I have one file contains basic information below file1 and another exception file file2. the rule is if "zone' and "cd" in file1 exists in file2, then file name is... (13 Replies)
Discussion started by: Torhong
13 Replies
LEARN ABOUT CENTOS
lvmdump
LVMDUMP(8) System Manager's Manual LVMDUMP(8)
NAME
lvmdump - create lvm2 information dumps for diagnostic purposes
SYNOPSIS
lvmdump [-a] [-c] [-d directory] [-h] [-l] [-m] [-u]
DESCRIPTION
lvmdump is a tool to dump various information concerning LVM2. By default, it creates a tarball suitable for submission along with a prob-
lem report.
The content of the tarball is as follows:
- dmsetup info
- table of currently running processes
- recent entries from /var/log/messages (containing system messages)
- complete lvm configuration and cache (content of /etc/lvm)
- list of device nodes present under /dev
- list of files present /sys/block
- list of files present /sys/devices/virtual/block
- if enabled with -m, metadata dump will be also included
- if enabled with -a, debug output of vgscan, pvscan and list of all available volume groups, physical volumes and logical volumes will be
included
- if enabled with -c, cluster status info
- if enabled with -l, lvmetad state if running
- if enabled with -u, udev info and context
OPTIONS
-a Advanced collection. WARNING: if lvm is already hung, then this script may hang as well if -a is used.
-c If clvmd is running, gather cluster data as well.
-d directory
Dump into a directory instead of tarball By default, lvmdump will produce a single compressed tarball containing all the informa-
tion. Using this option, it can be instructed to only produce the raw dump tree, rooted in directory.
-h Print help message
-l Include lvmetad(8) daemon dump if it is running. The dump contains cached information that is currently stored in lvmetad: VG meta-
data, PV metadata and various mappings in between these metadata for quick access.
-m Gather LVM metadata from the PVs This option generates a 1:1 dump of the metadata area from all PVs visible to the system, which can
cause the dump to increase in size considerably. However, the metadata dump may represent a valuable diagnostic resource.
-u Gather udev info and context: /etc/udev/udev.conf file, udev daemon version (output of 'udevadm info --version' command), udev rules
currently used in the system (content of /lib/udev/rules.d and /etc/udev/rules.d directory), list of files in /lib/udev directory
and dump of current udev database content (the output of 'udevadm info --export-db' command).
ENVIRONMENT VARIABLES
LVM_BINARY
The LVM2 binary to use. Defaults to "lvm". Sometimes you might need to set this to "/sbin/lvm.static", for example.
DMSETUP_BINARY
The dmsetup binary to use. Defaults to "dmsetup".
SEE ALSO
lvm(8)
Red Hat, Inc. LVM TOOLS 2.02.105(2)-RHEL7 (2014-03-26) LVMDUMP(8)