CMP(1) General Commands Manual CMP(1)NAME
cmp - compare two files
SYNOPSIS
cmp [-ls] file1 file2
OPTIONS -l Loud mode. Print bytes that differ (in octal)
-s Silent mode. Print nothing, just return exit status
EXAMPLES
cmp file1 file2 # Tell whether the files are the same
cmp -l file1 file2 # Print all corresponding bytes that differ
DESCRIPTION
Two files are compared. If they are identical, exit status 0 is returned. If they differ, exit status 1 is returned. If the files cannot
be opened, exit status 2 is returned. If one of the file arguments is -, then stdin is compared to the other file.
SEE ALSO comm(1), diff(1).
CMP(1)
Check Out this Related Man Page
BZDIFF(1) General Commands Manual BZDIFF(1)NAME
bzcmp, bzdiff - compare bzip2 compressed files
SYNOPSIS
bzcmp [ cmp_options ] file1 [ file2 ]
bzdiff [ diff_options ] file1 [ file2 ]
DESCRIPTION
Bzcmp and bzdiff are used to invoke the cmp or the diff program on bzip2 compressed files. All options specified are passed directly to
cmp or diff. If only 1 file is specified, then the files compared are file1 and an uncompressed file1.bz2. If two files are specified,
then they are uncompressed if necessary and fed to cmp or diff. The exit status from cmp or diff is preserved.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Availability | SUNWbzip |
+--------------------+-----------------+
|Interface Stability | External |
+--------------------+-----------------+
SEE ALSO cmp(1), diff(1), bzmore(1), bzless(1), bzgrep(1), bzip2(1)BUGS
Messages from the cmp or diff programs refer to temporary filenames instead of those specified.
BZDIFF(1)
Hi all,
I wonder, how I can change Time To Live field for icmp packet in Redhat 7.1, kernel 2.4.2-2? I looked up in /proc/sys/net/ipv4 and did find this field in there.
There should be a way to change TTL. If it's in header file, in which one?
Thank you all :p (11 Replies)
Hi,
I needed space on a FS, and when I've added the space on the filesystem, I did it trough the regular smitty fs inteface and not with smitty cl_lvm.
Can someone help me to repair the situat before a faileover happen ?
Thanks for your help,:mad: (13 Replies)
Hi,
need advice on this.
Is it possible to assign a mountpoint from a SAN storage to server1 & server2.
Use NFS to the same mountpoint from server2 so that concurrent access is allowed.
Can this setup be used together with HACMP?
If server1 crash, the mountpoint resource will swing to... (8 Replies)
Hello folks,
I am facing a problem with NFS after doing the HACMP configuration
Issue : The showmount -e pr2serv at pr1serv ,it is only showing 1 mount exported /oracle , instead of showing all 7 as per /etc/exports file.
issue : while mounting /oracle at pr1serv getting permission... (8 Replies)
Hi all,
I have an HACMP (v5.3.0.0) cluster vg attached to ibm shark that need to be decommissioned. The data need to move to the HP EVA disk. The OS is on AIX 5200-10. The plan is to add a new disk from EVA & mirror the existing vg & break the mirror from Shark disk once the mirror finished.
... (12 Replies)
Hi all,
I am new to HACMP. So sorry for the newie question. But I did search the forum and it seems that no one asks this before.
So if a 2-node cluster runs in active-active mode (and the same application), what is the benefit of using HACMP ?
If it runs in active-stanby, it is easy to... (9 Replies)
Hello,
Does HACMP have bugs ? I have version 5.4 on AIX 6.1 and when I try to increase filesystem space or logical volume partitions which are under HACMP VG it gives me error:
# lsvg
rootvg
pr0oravg
px0oravg
pb0oravg
pr0sapvg
px0sapvg
pb0sapvg
pr1_pr2_vg
pr2_px1_vg
#
#... (11 Replies)
Hi
I had an active passive cluster. Node A went down and all resource groups moved to Node B.
Now we brought up Node A. What is the procedure to bring everything back to Node A.
Node A #lssrc -a | grep cl
clcomdES clcomdES 323782 active
clstrmgrES cluster... (9 Replies)
Hi,
Not sure if this is the correct forum to post this on but maybe a mod could move it if not.
When trying to move a HACMP resource group between lpars on AIX I receive the following.
State not STABLE/RP_RUNNING or ibcasts Join for node 2 rejected,
Clearing in join protocol flag... (11 Replies)
Hello Everyone,
Hope you all doing well. I have configured a powerHA with 2 RG. Whenever am moving a RG to the 2 node, the 2 node becoming unavailable. But its working fine in the console also cluster not having any issues. Once i ran the tcp/ip configuration via smitty , the node... (9 Replies)
Hello!
I have this infraestructure:
- 1 POWER7 with single VIOS on Site A.
- 1 POWER6 with single VIOS on Site B.
- 1 LPAR called NodeA as primary node for PowerHA 6.1 on Site A.
- 1 LPAR called NodeB as secondary (cold) node for PowerHA 6.1 on SiteB.
- 1 Storage DS4700 on Site A.
- 1... (8 Replies)
I have troubles making clstat work. All the "usual suspects" have been covered but still no luck. The topology is a two-node active/passive with only one network-interface (it is a test-setup). The application running is SAP with DB/2 as database. We do not use SmartAssists or other gadgets.
... (8 Replies)
Hello Everyone,
Hope you all are doing great!
As you can see by the title on top, we are in the process of migrating alot of our servers from Power5 (physical) to Power8 (Virtual). Now it's turn for servers with HACMP Cluster on it. Let me lay out the environment like:
OLD ENVIRONMENT:
... (12 Replies)
Dear Fellows,
I'm now working under a HACMP Cluster (version 7.1) with 2 nodes (Node1 active / Node2 passive), and 1 Resource Group on active node (Node1), which is UNMANAGED for boths nodes.
So, all VG Data are on Node1.
Then I had a JFS2 FileSystem full (located on one of these VG Data... (8 Replies)