Use find to create a file that has checksums. Do it on box1 and then box2.
Next, merge the two files into one larger file with sort.
Now you can awk to find the duplicates, and the checksums tell you if the files are the same or not. box1.lis and box2.lis tell you the names of all of the files on each box.
If this did not so homework-ish, I'd show the awk code.
Hi Jim t
thanks for the reply,but there is a constraint which i forgot to tell you and that is , i must be on the source server only and need to remotely log onto the target server using the ssh command.
Thank You once again
There is a "Map"? of Unix and all its varients somewhere on the net. I used to have the link , but can't find it now. Anyone out there have a clue????
A good magician never reveals his secret; the unbelievable trick
becomes simple and obvious once it is explained. So too with... (3 Replies)
Hi there,
I am using the STL map and I print the map using:
map <string, float> ngram_token_index ;
map <string, float>::iterator map_iter ;
//read the map
...
// print the map
for ( map_iter = ngram_token_index.begin() ; map_iter != ngram_token_index.end() ; map_iter++ )
cout << ... (2 Replies)
Hi, I'm trying to map a vi editor key to some commands. I'm using HP-UX 11.11. the command looks like
map ~cmnt o * Suman Satpathy : <Esc> :r! date "\%d\%m\%y" <Esc> j$J
basically my idea is to map a shortcut for my commentlines.
but when I run the shortcut it inserts the line as below
*... (1 Reply)
I modified some code I found on Wikipedia concerning maps to see if it would work before applying it to a project I'm working on that has a similar idea.
What I would want is for a user to be able to enter sentences and then be able to distinguish how many times a the person entered a word in a... (4 Replies)
Hi,
I have many files in the source directory but I need to process with the latest timestamp file.
I am using linux operating system. i want extract the file created timestamp( Ext_File_create_date=)
With this format YYYYMMDD-
i have searched the relevent command in the unix forms but did... (5 Replies)
Dear all
Would anyone tell me how to prevent user from input non asterisk(i.e. *) character via keyboard?
#!/bin/ksh
targetHour=-1
while ]
do
echo "Please input target hour":
read targetHour
done
When I execute the above coding, and then input a "j", it return the following... (3 Replies)
Hi ,
Please look into the query
1)Date format: mm/dd/yyyy example (10/22/2013)
2) compare this date with the System date
3) if the difference of dates less than 30 days. Then return true otherwise false.
4)commands date-d is not there in my unix version.
5)present version 6
6)using... (7 Replies)
Hello All,
I am having an issue of putting a Boolean value in the maps as the 3rd parameter. Something like the following :
int value;
std::map<String str, int x, bool bl>
where bool returns false if x>value else true.
All I see in the map examples is that I can add the... (2 Replies)
Hi All, Please suggest some file comparison tool in Linux.
The tool have the provision for command line option for file comparison and the output will be stored in to html file. Thanks in advance (2 Replies)
Discussion started by: k_manimuthu
2 Replies
LEARN ABOUT OSF1
ypxfrd
ypxfrd(8) System Manager's Manual ypxfrd(8)NAME
ypxfrd - High speed NIS map transfer daemon
SYNOPSIS
/usr/sbin/ypxfrd
DESCRIPTION
The ypxfrd daemon is the transfer agent that handles map transfer requests from yppush on the master server and ypxfr on slave servers and
clients. This program performs the actual transfer of the NIS maps to slave servers and clients. Typically, the maps are transferred to
all slave servers and clients unless the transfer is restricted to those subnets or hosts by an entry or entries in the /etc/yp/securenets
file. See ypserv(8) for information on this file.
The ypxfrd daemon is activated at system startup time by an entry in the /sbin/init.d/nis file of an NIS master server machine. If the log
file /var/cluster/members/{memb}/yp/ypxfrd.log exists, ypxfrd appends all its output to that file. You can use the log file to retain a
record of what was attempted, and the results.
See ypfiles(4) and ypserv(8) for an overview of NIS.
RESTRICTIONS
The ypxfrd daemon transfers NIS maps stored as ndbm files only. It does not transfer maps stored as btree or hash files.
FILES
The ypxrfd log file. Each cluster member has its own copy.
SEE ALSO
Commands: yppush(8), ypserv(8), ypxfr(8)
Files: ypfiles(4)ypxfrd(8)