10-24-2011
Adding '!' -name '*.xml' '!' -name '*.dmp' should do.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
We currently use the below basic scripts to output details that the business requires for our AIX and Sun servers. I have been asked to produce the same sort of script to be used for our NCR MP-RAS UNIX and OS/2 UNIX servers but am not formilar with these forms of Unix. Would greatly... (0 Replies)
Discussion started by: kmuir
0 Replies
2. UNIX for Advanced & Expert Users
Hello All
I have always had a question about find and replace in Vi. As this uses Vi, sed, and RegEx I never knew how or where to post the question but I thought I would give it a shot here. Say I have a text file filled with the following:
Sue, your IP address is 192.168.1.10 which is... (4 Replies)
Discussion started by: NoSalt
4 Replies
3. UNIX for Dummies Questions & Answers
i feel weird with this 2 command
find /tmp/*test* -user `whoami` -mtime +1 -type f -exec rm -f {}\;
find /tmp/*test* -user `whoami` -mtime +1 -type f -exec ls -lrt {}\;
the first one return correct which only delete those filename that consist *test* where second command it listed all the... (12 Replies)
Discussion started by: lsy
12 Replies
4. UNIX Desktop Questions & Answers
Hello,
I would like to ask you, how to match directory names. I need to find only directories, which are created only from numbers and doesn't include any letters.
I used command
find $AC_WORKDIR/work_archive/test/$dirs_years -maxdepth 1 -name \\* -print
If I have dirs like
12... (3 Replies)
Discussion started by: satin1321
3 Replies
5. Shell Programming and Scripting
Platform: AIX 6.1/ksh
Question1.
I want to grep for the string "CUSTOM_PKMS" in all the files in server except those files with extensions .dbf , .ctl and .dmp
I started running the following command but it is taking too long because there are lots of .dbf , .ctl and .dmp files in this... (6 Replies)
Discussion started by: John K
6 Replies
6. Shell Programming and Scripting
Hello Friends,
I have a problem about a little script,
when i run the following two lines one by one on CLI then they work well:
/usr/bin/mkdir `perl -e 'use POSIX qw(strftime); print strftime "%Y-%m-%d",localtime(time() - 30*24*60*60);'`
find . -type f -name "fuseesb.log.*" -mtime 30... (5 Replies)
Discussion started by: EAGL€
5 Replies
7. AIX
Hello every one.
I know little to nothing about AIX. Recently I have been assigned to an AIX project.
For some reason or another the find command is hanging the server.
Well it does not hand server per say, it just freezes my terminal session.
after running find, I waited up to 40 min and... (3 Replies)
Discussion started by: busi386
3 Replies
8. UNIX for Dummies Questions & Answers
Hello all,
I need some help and education creating a script.
Basically I have a file with a list of numbers..
2125554444
2124445555
I need to put them into a format that looks like this....
UQ-V8.1,2125554444,hdaudio
UQ-V8.1,2124445555,hdaudio
Any help would be greatly... (6 Replies)
Discussion started by: jay11789
6 Replies
9. UNIX for Beginners Questions & Answers
Hello Forum,
I'm using the following command to find all inactive kernels installed on my RHEL server:
$ rpm -qa | grep '^kernel-' |grep -vE `uname -r`
but the result is in two lines:
kernel-3.10.0-1062.1.1.el7.x86_64
kernel-3.10.0-1062.el7.x86_64
Is there a one line command I can... (3 Replies)
Discussion started by: greavette
3 Replies
10. Shell Programming and Scripting
Hello Forum,
We have two bootstraps of Chef in our environment which are identified by colour:
/var/chef/cache/cookbooks/bootstrap_cookbooks_version_green
and
/var/chef/cache/cookbooks/bootstrap_cookbooks_version_red
I'm attempting to identify which version is installed based on the name... (11 Replies)
Discussion started by: greavette
11 Replies
vxdmp(7) Miscellaneous Information Manual vxdmp(7)
NAME
vxdmp - Veritas Volume Manager multipathing disk devices
DESCRIPTION
Multipathed disk devices in Veritas Volume Manager (VxVM) represent virtual devices with one or more physical access paths to a physical
disk. The Multipathing feature provides disk access reliability by dynamically switching to another physical path if there is a path fail-
ure.
Every disk that is visible to VxVM is represented by a multipath device node in the /dev/vx/dmp and /dev/vx/rdmp directories for block type
and character type interfaces. A simple disk is represented by a multipath device having one physical path, whereas a disk that is part of
a multiported disk array is represented by a multipath device with many device access paths depending upon the type of the disk array.
VxVM uses standard disk device naming conventions to name multipath devices. For example, if there is a disk device with two physical
access paths such as c1t0d0 and c2t0d0, the multipathing device node for this particular disk is created under /dev/vx/dmp and /dev/vx/rdmp
as c1t0d0 or c2t0d0.
To provide multipathing, VxVM maintains an internal database of all the multipathed devices detected by the system and their respective
paths. The database is created at system boot time. When disks are added or removed from the system, VxVM provides support to reconfigure
the multipath device database to reflect new states of the hardware, while the system is online.
To reconfigure the DMP database, run ioscan followed by insf, and then invoke vxdctl enable (see vxdctl(1M)).
The various access paths to a multipathed device can be seen by using a vxdisk command (see vxdisk(1M)). These commands open the multi-
pathing configuration device /dev/vx/dmpconfig to obtain the required information about the various paths to a multipathed device and their
states.
VxVM also provides the facility to enable or disable a disk controller. This feature can be used to stop all I/Os through a particular con-
troller to perform maintenance operations on it. Use the vxdmpadm command to do this and also perform other operations on the multipath
device database.
VxVM can provide notification about events that occur in the DMP database due to a change in hardware. See the vxnotify(1M) man page for
more information.
VxVM is capable of multipathing both Active/Active and Active/Passive disk arrays.
FILES
/dev/vx/dmp Multipathing block devices.
/dev/vx/rdmp Multipathing character devices.
SEE ALSO
ioctl(2), vxdctl(1M), vxdisk(1M), vxdmpadm(1M), vxnotify(1M)
VxVM 5.0.31.1 24 Mar 2008 vxdmp(7)