Sorry to bring this thread back again for this trivial thing.
I was testing the awk command you mentioned to pipe the second column of the du output to ls command.
awk command returned the correct dumpfiles (second column) as shown above.
But when I piped it to ls command , it was returning lots of files which weren't expected like .log files, .dmp.gz file,..etc
Last week I was using the command:
' find /directory -mtime -2 -print' and it showed all the files modified within that period. However, now it only displays the directories and not the files modified. The only thing that changed is that I was granted access to some files.
Thanks (2 Replies)
I need to find out the last modified time for the files which are older than 6 months. If I use ls -l, the files which are older than 6 months, I am just getting the day, month and year instead of exact time. I am using Korn shell, and SUN OS.
Thanks in Advance,
Kiran (3 Replies)
Hi ,
I am trying to find out the List of files modified or added aftter installation of any component on SUN solaris box .
But i am not able to do it using ls or find command .
Can somebody help me out ?
Thanks
Sanjay Gupta (2 Replies)
Hi All,
I have a requirement to find out the files which are modified in the last 10 minutes.
I tried the find command with -amin and -mmin options, but its not working on my AIX server.
Can anyone of you could help me.
Thanks in advance for your help.
Raju (3 Replies)
Hi,
I want to modify a filename in AIX by attaching the last modified timestamp. I want the timestamp completely in numerical format (eg:200905081210. yr-2009, mnth - 05, date -08, hr - 12, mins - 10).
For example if the filename is a.log and it was modified on April 6th 2008 at 21.00. I... (16 Replies)
Hello,
I'm pretty stumped, and I don't know why I am not able to redirect the output to the 'graphme' file with the command below in Fedora 18.
tcpdump -l -n -t "tcp == 18" | perl -ane '($s,$j)=split(/,/,$F,2); print "$s\n";' > graphme
In case you're wondering, I was following the example... (2 Replies)
Need help reading file last modified date in format:
Filename (relative path);YYYYMMDDHHMMSS
And then write it back. My idea is to backup it to a text file to restore later.
Checked this command but does not work:
Getting the Last Modification Timestamp of a File with Stat
$ stat -f... (5 Replies)
This should recursively walk through all dirictories and
search for a specified string in all present files, if found
output manicured content (eg some regex) with CAT into
a specified directory (eg /tmp/)
one by one, keeping the original names
This is what I have so far, which seems to... (1 Reply)
Hi,
I would like use the output of my cut command as a variable in my following awk command. Here's what I've written.
cut -f1 info.txt | awk -v i=xargs -F'' '{if($6 == $i) print $20}' summary.txt
Where obviously the 'xargs' doesn't do what I want. How can I pass my cut result to my awk... (3 Replies)
Discussion started by: heyooo
3 Replies
LEARN ABOUT HPUX
vxdmp
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)