06-03-2018
Thank you very much for your thoughts on this issue. The rsync is between two local disks, source is a 8-disk vdev, target an ssd. No network involved.
I am travelling and will be able to connect to server on Tuesday, but I will test using only 1 file, source and target on same local disk, to eliminate as many factors as possible.
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hello, everyone:
i encounter a problem these days , pls help me ,thanks in advance.
my env:
machine: ES40 A ES40 B
os: true64 Unix 4.0f
note: src.tar 8M network card speed 100M
my problem:
... (3 Replies)
Discussion started by: q30
3 Replies
2. AIX
how do i determine the speed of a cpu on AIX 4.3.3 or 5.1? (5 Replies)
Discussion started by: csaunders
5 Replies
3. HP-UX
Need to find the CPU speed of HP UX for a non root login.
echo "itick_per_usec/D" | adb /stand/vmunix /dev/mem | tail -1 will give the following for non root users
ERROR: cannot open `/dev/mem', errno = 13, Permission denied (2 Replies)
Discussion started by: surajb
2 Replies
4. Shell Programming and Scripting
We have an egrep search in a while loop.
egrep -w "$key" ${PICKUP_DIR}/new_update >> ${PICKUP_DIR}/update_record_new
${PICKUP_DIR}/new_update is 210 MB file
In each iteration, the egrep on an average takes around 50-60 seconds to search. Ther'es nothing significant in the loop other... (7 Replies)
Discussion started by: hidnana
7 Replies
5. UNIX for Advanced & Expert Users
Need to make a very fast file existence checker. Passing in 20-50K num of files
In the code below ${file} is a file with a listing of +20,000 files. test_speed is the script. I am commenting out the results of <time test_speed try>.
The normal "test -f" is much much too slow when a system... (2 Replies)
Discussion started by: nullwhat
2 Replies
6. Shell Programming and Scripting
Hey together,
You should know, that I'am relatively new to shell scripting, so my solution is probably a little awkward.
Here is the script:
#!/bin/bash
live_dir=/var/lib/pokerhands/live
for limit in `find $live_dir/ -type d | sed -e s#$live_dir/##`; do
cat $live_dir/$limit/*... (19 Replies)
Discussion started by: lorus
19 Replies
7. Red Hat
Hi All,
I have RHEL 5.6 with a 70GB local directory of Web content. Images, PHP scripts etc.
I need to copy all this content to an NFS array thats mounted on the RHEL server.
I did a baseline cp to copy the content one week ago. Since my baseline copy the local directory has grown by 8GB.... (2 Replies)
Discussion started by: general_lee
2 Replies
8. Shell Programming and Scripting
I had written a perl script to compare two files: new and master and get the output of the first file i.e. the first file: words that are not in the master file
STRUCTURE OF THE TWO FILES
The first file is a series of names
ramesh
sushil
jonga
sudesh
lugdi
whereas the second file (could be... (4 Replies)
Discussion started by: gimley
4 Replies
9. Shell Programming and Scripting
Gents,
Please can u help me to improve this script to be more faster, it works perfectly but for big files take a lot time to end the job..
I see the problem is in the step (while) and in this part the script takes a lot time..
Please if you can find a best way to do will be great.
... (13 Replies)
Discussion started by: jiam912
13 Replies
LEARN ABOUT FREEBSD
pc-sysinstall
PC-SYSINSTALL(8) BSD System Manager's Manual PC-SYSINSTALL(8)
NAME
pc-sysinstall -- System installer backend
SYNOPSIS
pc-sysinstall [-c file] [command]
DESCRIPTION
The pc-sysinstall utility is a hybrid backend for installing FreeBSD. When run in install mode it takes a configuration file and performs an
installation according to the parameters specified in the configuration file. When called with one of the system query commands it provides
information about the system to aid a front end in building an appropriate configuration file.
The following options are available:
-c file
Perform an installation as directed by file.
COMMANDS
The command can be any one of the following:
help Display a list of all commands.
help command
Display the help data for the specified command.
disk-list
Provide a listing of the storage devices detected on this system.
disk-part disk
Queries the specified storage device and returns information about its partitions.
disk-info disk
Returns information about a storage device's size, cylinders, heads, and sectors.
detect-laptop
Tests to see if this system is a laptop or desktop.
detect-emulation
Tests to see if this system is running in an emulator
detect-nics
Returns a listing of the detected network cards on this system.
list-components
Returns a listing of the available components which can be installed.
list-rsync-backups user host port
Returns a listing of available rsync-backups on the target server in the life-preserver/ directory.
list-tzones
Returns a listing of available timezones.
query-langs
Returns a list of languages that the installer supports.
sys-mem
Returns the size of installed system RAM in MegaBytes.
test-netup
test if an internet connection is available.
update-part-list
Returns a list of PC-BSD and FreeBSD installs on this system for updates.
xkeyboard-layouts
Returns a list of keyboard layouts that xorg supports.
xkeyboard-models
Returns a list of keyboard models that xorg supports.
xkeyboard-variants
Returns a list of keyboard variants that xorg supports.
create-part disk size
Create a new MBR primary slice on the target disk using size MB.
delete-part partition
Delete the disk partition specified. If this is the last partition, the disk partition layout will also be scrubbed, leaving a clean
disk ready for MBR or GPT file system layouts.
start-autoinstall file
Start an automated installation with the specified file. Normally only used by automated install scripts.
setup-ssh-keys user host port
Setup SSH without a password for the target host, user, and port. Used to prompt the user to log into a server before doing a rsync
+ ssh restore.
HISTORY
This version of pc-sysinstall first appeared in FreeBSD 9.0.
AUTHORS
Kris Moore <kmoore@FreeBSD.org>
BUGS
This utility was written to install PC-BSD and has seen limited use as an installer for FreeBSD. It's likely that usage to install FreeBSD
will expose edge cases that PC-BSD doesn't, as well as generate feature requests based on unforeseen needs.
BSD
June 24, 2010 BSD