10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hello
we have upload some data in 15 servers in usa asia ...
i consider to add new feature , script can detect download speed between localhost and destination and use fastest server,
i have cut this part from a script which have this feature, download a xx MB file from all its source and... (0 Replies)
Discussion started by: nimafire
0 Replies
2. Solaris
Dear Experts,
I would like to know what's the best method for copy data around 3 mio (spread in a hundred folders, size each file around 1kb) between 2 servers?
I already tried using Rsync and tar command. But using these command is too long.
Please advice.
Thanks
Edy (11 Replies)
Discussion started by: edydsuranta
11 Replies
3. Shell Programming and Scripting
Hi expert,
Is there any fastest way to calculate recursive directory, and I have total 600 directories have 100000 files and 10 directory approximately 9000000 - 10000000 each files per directory. currently using this command "du -k --max-depth=0" to get the size but very slow it take 24 hours... (9 Replies)
Discussion started by: rufino
9 Replies
4. Programming
Hi all,
We use strlen() fun provided by library to find the length of a string.
Looking inside of it, it has some different mechanism to find the length of string.
Normally, we scan the string byte by byte until the '\0' character. It takes a logn time to count length.
The Library strlen()... (2 Replies)
Discussion started by: yogeshrl9072
2 Replies
5. Solaris
Hi Experts,
I've been asked if there is a fast way to duplicate a file(10GB) and zip it at the same time. The zipped file would be FTP'd.....management is asking this. Maybe there is a better method all together? any ideas? CP will not cut it.
Thanks in advance
Harley (1 Reply)
Discussion started by: Harleyrci
1 Replies
6. Shell Programming and Scripting
I have a 5 GB text file(log/debug)
I want to delete all lines containing 'TRACE'
Command used
sed -i '/TRACE/d' mylog.txt
Is there any other fastest way to do this? (1 Reply)
Discussion started by: johnbach
1 Replies
7. UNIX for Dummies Questions & Answers
How can we copy a command string from a previous command line and paste it into the cursor position on the current command line? I know that ^c will not work as the shell will interpret as an interrupt signal.
Thanks, (1 Reply)
Discussion started by: Pouchie1
1 Replies
8. UNIX for Advanced & Expert Users
I want to search a file in fastest manner.
Presently I am using 'find' command. But it is taking around 15min for searching. Is there any other method through which I can do it fast? (3 Replies)
Discussion started by: vaibhavbhat
3 Replies
9. Shell Programming and Scripting
hello
i need help to remove directory . The directory is not empty ., it contains
several sub directories and files inside that..
total number of files in one directory is 12,24,446 .
rm -rf doesnt work . it is prompting for every file ..
i want to delete without prompting and... (6 Replies)
Discussion started by: getdpg
6 Replies
10. Shell Programming and Scripting
I have searched the FAQ - by using sort, duplicates, etc.... but I didn't get any articles or results on it.
Currently, I am using:
sort -u file1 > file2 to remove duplicates. For a file size of 1giga byte approx. time taken to remove duplicates is 1hr 21 mins.
Is there any other faster way... (15 Replies)
Discussion started by: radhika
15 Replies
vxconfigbackupd(1M) vxconfigbackupd(1M)
NAME
vxconfigbackupd - disk group configuration backup daemon
SYNOPSIS
vxconfigbackupd [-l]
DESCRIPTION
The vxconfigbackupd daemon automatically backs up information about a disk group's new configuration whenever the configuration is changed.
OPTIONS
-l Logs backup daemon activities to the file /etc/vx/cbr/bkdaemonLog.
FILES
/sbin/init.d/vxvm-recover
Startup file for vxconfigbackupd.
/etc/vx/cbr/bk/dgname.dgid/dgid.dginfo
Location of backup file for disk group information.
/etc/vx/cbr/bk/dgname.dgid/dgid.diskinfo
Location of backup file for disk attributes.
/etc/vx/cbr/bk/dgname.dgid/dgid.binconfig
Location of backup file for binary configuration copy.
/etc/vx/cbr/bk/dgname.dgid/dgid.cfgrec
Location of backup file for configuration records in vxprint -m format.
NOTES
The vxconfigbackup command can be used to back up a disk group's configuration manually at any desired time.
The disk group configuration backup and restore utilities do not save any data in the public region. This includes file system or other
application data that is configured within VxVM objects.
When a disk group is destroyed, its configuration backup information (including the backup directory) is also removed. The only exception
to this behavior is when the disk group is in the precommit state of restoration.
The backup directory should be large enough to accommodate copies of all the currently imported disk groups. The minimum recommended size
of the backup directory is P * (N + 1) megabytes, where P is the private region in megabytes (by default, 32MB), and N is the number of
disk groups. The additional P megabytes is required to hold a temporary copy of the disk group configuration when a disk group is imported
or a configuration change is made.
The default backup directory is /etc/vx/cbr/bk. The location of the backup directory can be configured by using the vxconfigbackup -l
backup_directory_path command.
SEE ALSO
vxconfigbackup(1M), vxconfigrestore(1M)
VxVM 5.0.31.1 24 Mar 2008 vxconfigbackupd(1M)