DB Dummy|Experience with Oracle & Informix Databases …

Home|rss|OUR SERVICES

Informix: Tracing session’s hostname longer than 8 characters

Sometimes you like to find out the hostname/IP address the sessions that came from.

onstat -g ses only display 8 characters out the hostname.

Use below query to retrive the hostname direct from sysmaster database :-

# dbaccess sysmaster -

SQL> select sid, username, hostname from syssessions where sid=session_id

Posted by ghsun25 in Database General, Informix Database
No Comments Read more

Tagged Under : char, hostname, Informix, session

Make a Comment

Search :
  • Recent Posts

    • How to test INSERT/UPDATE in Informix BYTE column?
    • Informix: Shall we plan to backup logical logs on the RSS instances?
    • Setup another Informix instance on the same machine
    • Informix: Tracing session’s hostname longer than 8 characters
    • Oracle ORA-31671: Worker process DW08 had an unhandled exception.
    • Oracle RAC 11.1.0.6.0 installation on AIX 6.1 Java issue.
    • Oracle : Determine PSU (Patch Set Update) Version
    • SQL*Plus Preliminary connection (Oracle 10g and above)
    • Upgrading Oracle Database from 11.2.0.1 to 11.2.0.2
    • Upgrade Oracle Grid Infrastructure patchset 11.2.0.2 from 11.2.0.1 (Part 2)
  • Category

    • Database General (22)
    • Informix Database (8)
    • Oracle Database (13)
  • Blogroll

    • TechieCorner.com
  • Archives

    • November 2011
    • October 2011
    • March 2011
    • January 2011
    • September 2010
    • August 2010
    • July 2010
    • June 2010
    • May 2010
  • Meta

    • Log in
© All Rights Reserved. DB Dummy