DB Dummy|Sharing Experience on Oracle & Informix Databases …

Home|rss|OUR STRENGTH

October 03 2011

Informix: Tracing session’s hostname longer than 8 characters

Tagged Under : char, hostname, Informix, session

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
Search :
  • Recent Posts

    • Intercepting your record with triggles
    • How to check from Informix server if connections came from shared memory
    • Informix Archecker – point in time restore/recover table (Scenario 2)
    • Undefined subroutine &main::read_file called at crspatch.pm line 86. while running ./rootcrs.pl
    • HAIP is up on some nodes but not on all RAC nodes
  • Sponsors

  • Categories

    • Database General
    • Informix Database
    • Operating System
    • Oracle Database
    • Raspberry Pi
    • Ubuntu
    • UNIX / Linux
    • Utilities
  • Archives

    • October 2014
    • September 2014
    • August 2014
    • July 2014
    • June 2014
    • February 2014
    • January 2014
    • December 2013
    • October 2013
    • September 2013
    • June 2013
    • February 2013
    • 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