05-29-2013
Since you are setting up ssh for automatic command execution I would recommend using dsh (distributed shell) to execute the commands in parallel - whatever that command may be. Then the output will be in one file and it should be easy to compare output.
On AIX 6.1 the fileset name is csm.dsh
On AIX 7.1 the fileset name is dsm.dsh (because csm is discontinued)
Hope this helps!
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want to write a Kshell program which will start the servers(Oracle,DataIntegrator).
Can anybody help me with this?
I would appreciate your help.
Thanks in advance (0 Replies)
Discussion started by: pari111222
0 Replies
2. Shell Programming and Scripting
Please ignore.
I found the answer at:
https://www.unix.com/shell-programming-scripting/24557-difference-between.html (1 Reply)
Discussion started by: JamesByars
1 Replies
3. UNIX for Dummies Questions & Answers
system = AIX
How can I explain this.....
Keep in mind I do not want to login to the boxes, persay, and that I am fairly new to scripting and unix.
I want to use SSH.
I have a script on server1, this is where I want it to run from.
I have server2 and server3, where I want the script to... (2 Replies)
Discussion started by: cml2008
2 Replies
4. Shell Programming and Scripting
Hi all
I am running a major script of my application in development for implementing code changes for process improvement in time. The script runs in production once in a month . It takes 8 hours 30 mins in Production server . what surprice me is , when I run the same script in development server... (9 Replies)
Discussion started by: sakthifire
9 Replies
5. Shell Programming and Scripting
Hello All,
I have a problem calculating the time difference between start and end timings...!
the timings are given by 24hr format..
Start Date : 08/05/10 12:55
End Date : 08/09/10 06:50
above values are in mm/dd/yy hh:mm format.
Now the thing is, 7th(08/07/10) and... (16 Replies)
Discussion started by: smarty86
16 Replies
6. Shell Programming and Scripting
Hello,
I am looking for a way for a server to launch a connection command to one of the other servers where the connection command has already embedded in it a server name, user name and a password. (2 Replies)
Discussion started by: LiorAmitai
2 Replies
7. UNIX for Dummies Questions & Answers
Hi ,
What is the diffence between executing the script like
./myscript.ksh
. ./myscript.ksh
I have found 2 difference but could not find the reason
1. If i export a variable in myscript.ksh and execute it like . ./myscript.ksh the i can access the other scripts that are present in... (5 Replies)
Discussion started by: max_hammer
5 Replies
8. Shell Programming and Scripting
HI all
I have written a ksh to execute PL/sql procedure and generate the log file. The script is working fine to the extent of calling the taking input, executing PL/SQL procedure.
On one server the log file is getting generated properly. i,e it shows the DBMS output . The log file size was... (9 Replies)
Discussion started by: ramakrishnakini
9 Replies
9. Shell Programming and Scripting
Hi Friends,
I have 2 varaibles which contain
START=`date '+ %m/%d/%y %H:%M:%S'`
END=`date '+ %m/%d/%y %H:%M:%S'`
i want the time difference between the two variables in Seconds.
Plz help. (2 Replies)
Discussion started by: i150371485
2 Replies
10. Shell Programming and Scripting
I was looking at this script which outputs the two lines which differs less than one sec.
#!/usr/bin/perl -w
use strict;
use warnings;
use Time::Local;
use constant SEC_MILIC => 1000;
my $file='infile';
## Open for reading argument file.
open my $fh, "<", $file or die "Cannot... (1 Reply)
Discussion started by: cele_82
1 Replies
mkfset(8) System Manager's Manual mkfset(8)
NAME
mkfset - Create a fileset in an existing AdvFS file domain
SYNOPSIS
/sbin/mkfset domain fileset
OPERANDS
Specifies the name of an existing AdvFS file domain. Specifies the name of the fileset to be created in the specified file domain.
DESCRIPTION
The mkfset command creates an AdvFS fileset within an existing file domain. You must create at least one fileset per file domain; however,
you can create multiple filesets within a file domain. You can mount and unmount each fileset independently of the other filesets in the
file domain. You can assign fileset quotas (block and file usage limits) to filesets.
Use the following commands to manipulate filesets: Displays the filesets associated with a domain. Removes a fileset (and all of its
files) from the file domain. Assigns a new name to an existing fileset. Changes fileset attributes; specifically fileset quotas.
For more information, see the reference pages for each command.
RESTRICTIONS
You must be the root user to use this utility.
Each fileset within a domain must have a unique name of up to 31 characters. All whitespace characters (tab, new line, space and so on)
and the / # : * ? characters are invalid for fileset names.
EXAMPLE
The following example creates two filesets, credit_fs and debit_fs, within an existing domain called accounts_dmn. # mkfset accounts_dmn
credit_fs # mkfset accounts_dmn debit_fs To mount the newly created credit_fs fileset on the /mnt/credit directory, enter: # mount -t advfs
accounts_dmn#credit_fs /mnt/credit You can add filesets to the /etc/fstab file in the same manner that you add any file system. Once added,
filesets are mounted each time you reboot the system and fileset quotas are enabled. For example, to automatically mount the credit_fs
fileset, add the following line to your fstab file:
accounts_dmn#credit_fs /mnt/credit advfs rq, userquota, groupquota
SEE ALSO
Commands: chfsets(8), mkfdmn(8), renamefset(8), rmfset(8), showfdmn(8), showfsets(8)
File Formats: advfs(4)
mkfset(8)