11-29-2011
if you administer multiple servers search:
clusterit
and cssh
They can seriously cut down your workload.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Say I have 2 files of 2 rows of 3 columns each
file1:
cat catdata1 catdata2
dog dogdata1 dogdata2
file2:
cat catdata3 catdata4
dog dogdata3 dogdata4
and I need to combine both files so that is appears like:
cat catdata1 catdata2 catdata3 catdata4
dog dogdata1 dogdata2 dogdata3... (8 Replies)
Discussion started by: Awanka
8 Replies
2. Shell Programming and Scripting
Hi Guys,
I am currently working on a script to find all the files that have not been accessed for the past 2 years. This, i guess has been discussed n number of times in this forum. Now, my requirement is to find all the files in the remote windows server. I have it mounted in unix.
I was... (1 Reply)
Discussion started by: bond_bhai
1 Replies
3. UNIX for Advanced & Expert Users
Hi Guys,
I am currently working on a script to find all the files that have not been accessed for the past 2 years. This, i guess has been discussed n number of times in this forum. Now, my requirement is to find all the files in the remote windows server. I have it mounted in unix.
I... (1 Reply)
Discussion started by: bond_bhai
1 Replies
4. AIX
Hi,
I need to login to a remote server.
Go to a particular path.
Get the lists of files on that path.There may be n number of files.
I need to delete only those files from above created list which are 7 days older.
I have achieved above using ftp protocol, but now the constraint has... (0 Replies)
Discussion started by: mail_amitnagpal
0 Replies
5. Shell Programming and Scripting
Hi all,
I'm having a problem with a script which should ultimately provide a filename by reading a value from file1 and file2 then join together.
I'm planning to use a loop/ loops to get the values out of both files and create a single string unfortunately the code currently treats the second... (7 Replies)
Discussion started by: chris01010
7 Replies
6. Shell Programming and Scripting
Hello,
I wrote a basic script that works however I am was wondering if it could be sped up. I am comparing files over ssh to remove the file from the source server directory if a match occurs. Please Advise me on my mistakes.
#!/bin/bash
for file in `ls /export/home/podcast2/"$1" ` ; do
... (5 Replies)
Discussion started by: jaysunn
5 Replies
7. Shell Programming and Scripting
Requirement
Several files in remote machines ought to be deleted via sh. Name of the files to be deleted are know
Approach
1) script was written with ftp (requires credential) and delete command. File names were passed as array(iterated via for loop-with ftp+delete commands enclosed within... (1 Reply)
Discussion started by: vkalya
1 Replies
8. UNIX for Dummies Questions & Answers
Hi All,
Please help me for a shell. I am a New to unix
I am trying to DB dump file from one server and copying it to another server.
From My Local ServerA connecting to remote ServerB using ssh and taking dump of a instance. That Dump file i need to copy to ServerC.
I am able to connect... (6 Replies)
Discussion started by: maddyd2k
6 Replies
9. How to Post in the The UNIX and Linux Forums
I have made password less connection to my remote account. and i tried to execute commands at a time. but i am unable to execute the commands.
ssh $ACCOUNT_DETAILS@$HOST_DETAILS
cd ~/JEE/*/logs/ (1 Reply)
Discussion started by: kishored005
1 Replies
10. Shell Programming and Scripting
Hello,
I'm new to shell scripting and need a quick note on how to write a shell script to perform deletion of files from 5 different hostnames in various locations.
Found out to delete files from one path by using below command and made it to work on cron job but need to do it in a shell... (2 Replies)
Discussion started by: Teja G
2 Replies
LEARN ABOUT CENTOS
filebench
filebench(1) USER COMMANDS filebench(1)
NAME
filebench - interprets WML script and generates appropriate filesystem workload
SYNOPSIS
filebench [-f <filename>] [-h]
DESCRIPTION
Filebench is a file system and storage benchmark that allows to generate a large variety of workloads. Unlike typical benchmarks it is very
flexible and allows to minutely specify (any) applications' behaviour using extensive Workload Model Language (WML). Filebench uses load-
able workload personalities to allow easy emulation of complex applications (e.g., mail, web, file, and database servers). Filebench is
quick to set up and easy to use compared to deploying real applications. It is also a handy tool for micro-benchmarking.
Filebench includes many features to facilitate file system benchmarking:
o Multiple workload types support via loadable personalities
o Ships with more than 40 pre-defined personalities, including the one that describe mail, web, file, and database servers behaviour
o Easy to add new personalities using reach Workload Model Language (WML)
o Multi-process and multi-thread workload support
o Configurable directory hierarchies with depth, width, and file sizes set to given statistical distributions
o Support of asynchronous I/O and process synchronization primitives
o Integrated statistics for throughput, latency, and CPU cycle counts per system call
OPTIONS
-f <filename>
use specified file as an input instead of stdin
-h Display verbose help
EXAMPLES
Run filebench interactively:
$ filebench
Start filebench interactive shell, filebench prompt will appear after that.
filebench> load fileserver
Load fileserver personality using load command.
filebench> set $dir=/mnt
After personality is loaded, tunables of the workload personality can be set. Here we change the benchmark directory to /mnt where
the file system we want to benchmark is presumably mounted.
filebench> run 60
Start workload for 60 seconds. After 60 seconds of the run the statistics is printed and Filebench exits.
Run filebench non-interactively:
filebench -f /usr/share/filebench/workloads/fileserver.f
Run filebench non-interactively, however, you need to add 'run <time>' to the end of the workload personality file before calling
filebench.
EXIT STATUS
0 if OK,
1 if workload file is not found.
REPORTING BUGS
http://sourceforge.net/tracker/?group_id=133644&atid=727883
revision 01 Sep 1, 2011 filebench(1)