you can check the dependancy libraries which can distinguish the binaries
Code:
ldd binary_file
If their versions match that of the current version of the libs.
apparently you can check out the external libs they are using another way too.
Code:
nm -o binary_file | grep '\bU\b'
The binary file alone cannot give you the information about which version of gcc was used to build it.
If there is a difference b/w the kernel version they are using then you can check the binaries that are made for 2.4 or 2.6 . I suppose redhat-6.2 uses 2.4 while rhel uses 2.6.18.
example :
Code:
file a.out
a.out: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, not stripped
So it lists 2.6 on mine
So in order to distinguish you can rename all lthe binaries depending on the kernel version to later distinguish them
Code:
#!/bin/bash
for fil in $DIR/*;do if file $fil | grep -q '2.6' ;then echo "2.6-${fil}";else echo "2.4-${fil}";fi;done
Apparently you can rename the files with the kernel version to find out which OS it was built.
Hope this helps,
Regards,
gaurav.
Last edited by gaurav1086; 04-18-2010 at 02:34 AM..
Reason: correct variable names
Hi,
I have two Solaris machines.
1. SunOS X 5.8 Generic_108528-29 sun4u sparc SUNW,Sun-Blade-1500
2. SunOS Y 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-60
I am trying to buiild a project on both these machines. The Binary output file compiled on machine 2 runs on both the machines. Where... (0 Replies)
dears i working in solaris and when i type make for report it gives me the error kindly can you help me what is the reason
-bash-3.00$ make BPSEXT130
make: Warning: File `BPSEXT130.rc' has modification time 12 s in the future
make BPSEXT130.c
make: Entering directory... (3 Replies)
Hi,
When i'm compiling my C files, I'm getting an error saying that the file name i've defined is undeclared. Could someone tell me how to solve this error. I've defined the file name as
#define _FILE_CODE_ _XYZ_C_
The error is "_XYZ_C undeclared".
Thanks in advance (1 Reply)
I am planning carving out dual VIO servers on a P750 based and would like to know how to allocate internal disks to the VIOS. This has 4 internal disks and I would to assign 2 disks to each VIO.
This is what I was thinking of assigning . Any advise?
vio1
U5802.001.9K8H757-P1-C1 PCI-E x8... (17 Replies)
Hi,
Generally we will run to install, configure apache 2.x on Solaris machine, but dont want to follow these on the remaining machines.
I want to build the apache binary centrally, so that i can untar the tar file on remaining machines. Please suggest on how to prepare this file and when i... (12 Replies)
Hi,
So I downloaded this kernel source and was able to build it successfully.
But I want to add this SDK source code inside, can anyone help me how to do this? Note that the SDK source can be built by itself.
I added the SDK in the main Makefile:
init-y := init/
#added SDK... (0 Replies)
Hello *nix specialists,
Im working for a non profit organisation in Germany to transport DSL over WLAN to people in areas without no DSL. We are using Linksys WRT 54 router with DD-WRT firmware There are at the moment over 180 router running but we have to change some settings next time. So my... (7 Replies)
I have a tree structure as follows:
/vik/build/sc/botoh.sc
/vik/lib/endian.f
/vik/utils/botoh.f
Then I run the build script as
cd vik/build/sc
scons -f botoh.sc
The above shows that the SConstruct botoh.sc is down a few levels, and it
may be easiest to have the main... (6 Replies)
Hi Team,
My new build configuration always looking for the files from the build where i copied from.
please help me to resolve this.
I am using Visual studio 2008.It has Qt 4.8. plugins,qml,C++ development
I created new debug_new build configuration with additional preprocessor from the... (1 Reply)
Discussion started by: SA_Palani
1 Replies
LEARN ABOUT CENTOS
subscription-manager-gui
subscription-manager-gui(8) Subscription Manager subscription-manager-gui(8)NAME
subscription-manager-gui - Launches the UI client of the Subscription Manager.
SYNOPSIS
subscription-manager-gui [--register]
DESCRIPTION
subscription-manager-gui opens the local client tool to manage subscriptions and installed products on Red Hat Enterprise Linux systems.
The same tasks that can be performed by invoking subscription-manager can be performed in the GUI, including registering systems with a
subscription management service, applying and removing subscriptions, and viewing the subscription status of installed products.
The Subscription Manager UI can also be opened by selecting the Red Hat Subscription Manager item from the Applications > System Tools menu
in RHEL 5.x or the System > Administration menu in RHEL 6.x.
OPTIONS --register
If a system has not yet been registered, then the GUI registration page can be opened immediately, as the Subscription Manager GUI
comes up. This is only relevant for unregistered systems; if this is used after a system is registered, the option is ignored.
REFERENCES
For procedures and tasks that can be performed in the Subscription Manager UI, check the Gnome help files (by pressing <F1>) or refer to
the RHEL Subscription Management Guide at <https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Subscription_Management/1.0/html/Sub-
scription_Management_Guide/index.html>.
ASSOCIATED FILES
* /usr/sbin/subscription-manager-gui
* /usr/sbin/subscription-manager
* /etc/rhsm/rhsm.conf
BUGS
This client is part of Red Hat Subscription Manager. To file bugs against this client, go to https://bugzilla.redhat.com, and select Red
Hat > Red Hat Enterprise Linux > subscription-manager.
AUTHORS
Deon Lackey, <dlackey@redhat.com>.
COPYRIGHT
Copyright (c) 2010-2012 Red Hat, Inc. This is licensed under the GNU General Public License, version 2 (GPLv2). A copy of this license is
available at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
version 1.2 December 18, 2012 subscription-manager-gui(8)