Re: Find Host Name thru Forte

At 1:42 PM 5/21/96, <@ig4.att.att.com:[email protected]> wrote:
Hi,
What is best way to find Hostname under forte on Solaris 2.X platform
within Forte?
Thanks in advance,
[email protected]
one quick way would be to issue a RunCommand with the command 'hostname',
capture the output in a file or memory stream and read it. RunCommand
is on partition or operatingsystem class - do a search on it.
operatingsystem or partition may also have a command to get the node name,
though this is not necessarily the hostname.
-John
John Jamison
Engineering Manager
Sage Solutions, Inc.
[email protected]
(415) 392-7243 x508
fax: (415) 392-4030
http://www.sagesoln.com/sage.html

Actually, Forte provides this info in an attribute call:
task.Part.OperatingSystem.NodeName
This is in the OperatingSystem class of the Framework Library.
There are other interesting information about the running env.
Lee Wei
>
At 1:42 PM 5/21/96, <@ig4.att.att.com:[email protected]> wrote:
Hi,
What is best way to find Hostname under forte on Solaris 2.X platform
within Forte?
Thanks in advance,
[email protected]
one quick way would be to issue a RunCommand with the command 'hostname',
capture the output in a file or memory stream and read it. RunCommand
is on partition or operatingsystem class - do a search on it.
operatingsystem or partition may also have a command to get the node name,
though this is not necessarily the hostname.
-John
John Jamison
Engineering Manager
Sage Solutions, Inc.
[email protected]
(415) 392-7243 x508
fax: (415) 392-4030
http://www.sagesoln.com/sage.html

Similar Messages

  • Using inetaddress to find host names

    I am currently writing a java program in which I need to capture the ip address of the client machine in which the browser is running. I know I can do this, but how can I find the host name associated with this ip address. If I run the code below, I receive the host name on some machines, but others I get the ip address returned.
    I only want to allow people to use my site that have a valid host name. Any suggestions?
    Code:
    import java.net.*;
    public class iplookup {
    public static void main(String[] args) {
         try {
              System.setProperty("sun.net.spi.nameservice.provider.1", "dns,sun");
              String test1 = args [0];
              InetAddress local = InetAddress.getByName(args[0]);
              System.out.println("Host Address = " + local.getHostAddress());
              System.out.println("Host Name = " + local.getHostName());
              System.out.println("Host Canonical Name = " + local.getCanonicalHostName());
              System.out.println("args = " + test1);
              String test2 = local.getHostAddress().toString();
              if (test1 == test2) {
                   System.out.println("bad address");
         catch(Exception e) {
              System.out.println("bad address");
              e.printStackTrace();
    }

    Thanks for the help! I am trying to use the conditional statement to
    check if the ipaddress has an associated host name. I am finding that if the ip address does not have a hostname, the method getHostName returns the ipaddress. I am using this logic to filter out ipaddress that do not have a host name associated with it. I understand that I will receive an exception if an ipaddress is not a valid ipaddress. But I also want to make sure that the ip has an associated hostname.
    Is my assumption correct?

  • Find host name and port number using query

    Hi,
    How do find the system_name, host_name and port no
    using sql query or data dictionary.
    plz

    SELECT i.instance_name, i.host_name, f.release_name RELEASE, i.version, k.patch_level FROM
    v$instance i, fnd_product_groups f, fnd_product_installations k WHERE
    UPPER(SUBSTR(i.instance_name, 1, 4)) = UPPER(SUBSTR(f.applications_system_name, 1, 4)) AND
    k.application_id = '200';

  • How to find table name and field name thru Tcode

    Hi,
         how to find out table name and field names thru transaction code..........plz point out step by step.

    Hi
    I am not getting your question... as i understand, if you go to SE84 tcode you can get it.
    Go to SE84.Select ABAP Dictionary sub tree. Double click on "database tables'. Give some number in "Maximum number of hits”. DONT GIVE ANY OTHER INPUTS. Just press F8. You will get all table names.
    For fields also do like this by selecting FIELDS sub tree.
    Reward if it is useful.
    Thanks
    Siva Kumar

  • AddNode cannot find Virtual Host name

    Hi,all;
    I want to replace a server in RAC for example RAC1. at first,I deleted node RAC1,this step is total clean out all information of RAC1 in the cluster.
    then prepare new machine of RAC1 for cluster install.
    When I run addNode.sh in RAC2 to re-add clusterware to RAC1. the first step of addNode is fill up the information of new node,Public node name,Private node name,Virtual host name.
    It will list such info of the remain node also.
    In my operation,It can find all info of new node which is rac2,rac2-priv,rac2-vip. but the remain node's Virtual host name is blank -- it shuould be rac1-vip.
    In this step,I still click "Next" to proceed my operation and return not any error.
    at the end of addNode.sh it will execute 3 script to end out operation of add clusterware to new node.
    the third script is to run /opt/oracle/product/10.2.0/crs_1/root.sh in the new node RAC1,
    the screen print "*Expecting the CRS daemons to be up within 600 seconds*."
    but after waited more than *6000* seconds,it returned nothing to me,It seem idle! I cancle the script manual.the result is the CRS can not run on RAC1.
    in RAC2,crs_stat -t can see ora.rac1.gsd , ora.rac1.ons , ora.rac1.vip. but they are all offline.
    and run vipca in RAC2 reture
    ora.rac1.gsd has placement error
    ora.rac1.ons has placement error
    has not more detail log file left in server.
    I think all of my operation is normal and In line with the rules except it cannot export remain node's Virtual host name.
    How to fix it? any ideal?
    thank you.

    [oracle@RAC1 ~]$ cluvfy stage -pre crsinst -n rac1
    Performing pre-checks for cluster services setup
    Checking node reachability...
    Node reachability check passed from node "RAC1".
    Checking user equivalence...
    User equivalence check passed for user "oracle".
    Checking administrative privileges...
    User existence check passed for "oracle".
    Group existence check passed for "oinstall".
    Membership check for user "oracle" in group "oinstall" [as Primary] passed.
    Administrative privileges check passed.
    Checking node connectivity...
    Node connectivity check passed for subnet "192.168.1.0" with node(s) rac1.
    Node connectivity check passed for subnet "10.10.10.0" with node(s) rac1.
    Suitable interfaces for the private interconnect on subnet "192.168.1.0":
    rac1 eth0:192.168.1.100
    Suitable interfaces for the private interconnect on subnet "10.10.10.0":
    rac1 eth1:10.10.10.1
    ERROR:
    Could not find a suitable set of interfaces for VIPs.
    Node connectivity check failed.
    Checking system requirements for 'crs'...
    Total memory check passed.
    Free disk space check passed.
    Swap space check passed.
    System architecture check passed.
    Kernel version check passed.
    Package existence check passed for "binutils-2.15.92.0.2-13".
    Group existence check passed for "dba".
    Group existence check passed for "oinstall".
    User existence check passed for "nobody".
    System requirement passed for 'crs'
    Pre-check for cluster services setup was unsuccessful on all the nodes.

  • HT201320 I have an email account through yahoo. I am having trouble setting it upon my iPhone and can't receive or send emails!!!! I contacted Rogers and they said I need to find out the host name of the incoming server, in other words yahoos host name. H

    I have an email account through yahoo. I am having trouble setting it upon my iPhone and can't receive or send emails!!!! I contacted Rogers and they said I need to find out the host name of the incoming server, in other words yahoos host name. Help!!

    Yahoo's servers are notoriously unreliable. Use the "Yahoo" account type when setting it up. If it doesn't work, and you are positive the credentials are correct, wait a while and try again.
    While you're waiting, set up a free gmail or iCloud email account.

  • Find current host name using Java

    I am running currently on Oracle 9i app server in a clustered environment. My application has business logic that needs current host name. How can I find out the host name without externalising(like properties file) the information. Is there a java api like
    .getHostName()
    Rama

    try this:
    import java.net.InetAddress;
    public class Foo {
        public static String getLocalhostName() {
            String hostName = "";
         try {
             InetAddress address =
              InetAddress.getLocalHost();
                hostName = address.getHostName();
            } catch (Exception e) {
                // error handle any which way you like
                e.printStackTrace (System.err);
            return hostName;
    }cheers,
    Georg.

  • How do I "scan" my LAN and find the host name of the server computer?

    I need to scan my LAN to find out the IP and host name of the computer in which is waiting for client acceptance because the server side of my program is not always on the same computer. Therefore, the IP and host name of my server is not final and can be placed on any computer on my network with over 50 connected computers. How might I check to see which computer is waiting for a client?
    EDIT: I need the host name only, disregard IP
    Thanks!

    watwatacrazy wrote:
    jwenting wrote:
    Peter__Lawrey wrote:
    If you know the port you can try to connect to each of the machines in turn.the people getting firewall warnings about intrusion attempts would just love that, as would the network admins whose network you're clogging with traffic (imagine several hundred clients doing that all day long, let alone tens of thousands).
    If they are all one the same subnet you can use the IP addresses.Which you don't necessarilly all know. Or do you propose just sweeping through all possible IP addresses in the subnet's range? That would be a sure trigger for your network admins to immediately kick you out.
    This should take a few seconds at most.Until the automatic safeguards kick in and you're thrown off the net :)In that case, what would you suggest?Not to bother. The server address should be part of the application configuration, not guessed at runtime.

  • Installing EM12c: Installer can't find database host name....?

    Hello all,
    I'm trying to install EM12c. I'm near the last steps, alll requirements passed.
    I have a fresh install of 11.2.0.3 database on a second host, listening for connections.
    But the EM12c installer keeps error'ing out saying it cannot find the host name for the database server.
    I can ping that same server name (I've quadruple checked to make sure it is right)....I've cut from the installer and pasted into a ssh session both as root and oracle user on the target GRID/EM install server...it pings just fine.
    ON the database server, I've done tnsping..and it shows listener is up, I've entered valid ports and host name.
    ON the target EM server, I've even entered in the /etc/hosts file...the IP and server name....still to no avail.
    Any suggestions out there on what else to check? I have downloaded and using the latest EM12c install media...I downloaded it about 2x weeks ago...so, should be latest patched version.
    Thanks in advance,
    cayenne
    ps. Sorry...both EM and database server are on RHEL5 These are VMWare VMs....

    mnazim wrote:
    Please paste the listener status and paste the value that you have entered at database connection screen.Ok.
    I'm having to edit out the actual server and SID names, but they do match:
    [oracle@servername ~]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 03-MAY-2012 14:45:12
    Copyright (c) 1991, 2011, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.3.0 - Production
    Start Date 02-MAY-2012 19:05:49
    Uptime 0 days 19 hr. 39 min. 24 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/11.2.0/grid/network/admin/listener.ora
    Listener Log File /u01/app/oracle/diag/tnslsnr/servername/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=servername.domain.name)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    Services Summary...
    Service "instance.domain.name" has 1 instance(s).
    Instance "instance", status READY, has 1 handler(s) for this service...
    Service "instanceXDB.domain.name" has 1 instance(s).
    Instance "instance", status READY, has 1 handler(s) for this service...
    The command completed successfully
    The connection info on the EM12c Installer screen,
    Database Host Name: servername.domain.name
    Port : 1521
    Service/SID: instance (Note, I've tried this with instance name simple and with FQDN attached, same error)
    SYS Password: *************
    Thank you,
    cayenne

  • How can I find the Host Name and Instance #

    I am having trouble finding the host name and instance #. Thanks in advance.

    Hi Kyle,
    Hope you are doing good.
    if it is the R/3 server, the easiest option would be to navigate to /nSm51 .  
    Hope this helps.
    Kind Regards,
    Hemanth
    SAP AGS

  • How to find the ITS and WAS host name

    HI all,
       I created one system in the portal .system admn->sysconfig->systems.
    Now under the property catagories I selected ITS.
    Now I have to enter ITS host name and port .How to get this host name and port from R/3.Can any body tell me the path from which transaction it will be available.
    Similarly for WAS also.
    Thanks in advance..!
    Regards,
    Krishna.

    HI,
    WAS Details
    1. Goto se37 type : RSBB_URL_PREFIX_GET , execute ->
    I_Handler class : CL_RSR_WWW_HTTP ->clear the I_message server entry -> execute -> WAS Details
    ITS DEtails
    1. goto se37 typr : RSBB_URL_PREFIX_GET , execute ->
    I_Handler class : CL_HTTP_EXT_ITS ->clear the I_message
    server entry -> execute -> ITS Details
    EX: its path you will get a value like this
    /sap/bc/gui/sap/its/....
    use the values before its and like /sap/bc/gui/sap and ignore the rest

  • How to find the host name of a client?

    Iam doing a project in grid computing. I have developed a client-server program. In that program I have to get the host name of the connected client. Can anyone tell me the code to do that?

    sure...
    Its the .getInetAddress().getHostName().getPort() methods...
    Good Luck.

  • Trying to add my thunderbird work email account to my new iphone, how do I find my "incoming mail server" and "outgoing mail server" host names?

    Got a new Iphone 6 and I need to add my work thunderbird email account onto the phone. It is asking me for the host name of my incoming and outgoing mail server and I have no idea what this means- please help!

    First off there is no such thing as a Thunderbird email account. Email providers issue email accounts and Thunderbird is email client software and not a provider.
    You can look at the server settings in Thunderbird to see the settings it is using or you could get a list from your provider.
    In Thunderbird go to the menu bar and select Tools-Account Settings-Server Settings to see the Inbound settings and Tools-Server Settings-Outbging Server(SMTP) for Outbound settings.
    No menu bar with Tools showing? Press the alt key.

  • How to find the physical Host Name from a short host name?

    Hi,
      I meet a problem that in RFC destination setting I see some people maintain the
    short name in 'HOST NAME' field. But I need the long phiscial name.
      For example, the short one 'bsw6107', the phisical name is 'bsw6107.wdf.sap.corp'. It there a table or FM to look for it?
      Thank you.
    Regards,
    Yan

    Hi,
    Changing a host name on a central instance is a BIG thing, I personally would rather reinstall instead of changing a hostname...
    What comes immediately to my mind is:
    - SAP profiles
    - .sapenv* .dbenv* scripts
    - OPS$ users
    - /etc/hostname*
    - /etc/hosts
    - TMS (/usr/sap/trans)
    - Backup clients (and backup server changes if you use a central backup system)
    - RFC destination of external systems
    - SAP printers
    - other external systems connecting to the server (Fax, Archiving etc.)
    Regards,
    Sankar

  • Host name find in SAP

    Dear Team,
    I am using comman SAP login ID i.e QA-USER1 . Four persion using this Login ID. But after  one day I found that some one run wrong report.How I can Found out  that from witch PC i.e host name  this report Run.? and what  time?
    Thanks & Regards
    jagdish

    Hi kumar this is used for auditing purpose
    to configure the users or filters we use SM19, and to display the log we use SM20.
    for more information
    usage of SM18, SM19, SM20
    http://help.sap.com/saphelp_nw04s/helpdata/en/8a/a8b5386f64b555e10000009b38f8cf/frameset.htm
    Regards
    Bhaskar

Maybe you are looking for

  • Getting and fsck error on startup about /bin/plymouth

    Hello, Yesterday I was rebooting my laptop when this happened, during the booting up there was an usual filesystem check and the it gave me an error and asked me to enter my root password for maintenance or press ctrl+D to continue I just continued t

  • How to refund a app on an iPad that does not work

    Today I purchase flash player and it does not work, how do I get a refund?

  • Gross Price Condition problem in Import PO

    Dear Freinds, I have a problem in my Import Po . I have contract for this Po , but when i make a Po both my Gross Price condt P000 & P001 are populated & with price in both the condition . The users have made the Po without checking that the price of

  • Do PSP converted videos work for the ipod?

    I heard that videos already converted for the PSP also work for the ipod. Is this true? Please i really need you to answer this jsut a simple yes or no if you can. Thxs.....

  • ORACLE ENTERPRISE EDITION VERSION 별 주요 특징

    제품 : ORACLE SERVER 작성날짜 : 2004-08-13 오라클 서버의 version 별 주요 특징은 다음과 같습니다 Oracle 7.1 =========== - 병렬 SQL 오퍼레이션 제공:      . Parallel Scan, Parallel Join, Parallel Sub-query 등      . Parallel loading      . Parallel Index Creation - Synchronous Distribute