Sponsored Content
Top Forums Shell Programming and Scripting unix command to find the version of Informix database Post 302143561 by matrixmadhan on Friday 2nd of November 2007 01:56:39 AM
Old 11-02-2007
when the client connects to the server, it would display a message stating

connected to server <version>

which client are you using ? dbaccess
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How do I find Unix Version

I am extremely new here. Someone wants to upgrade off of Unix to Windows 2000 and wants to know if they need to buy new hardware How do I find out what type of Unix they're using? How do I find out the current hardware of the system? (Intel, ..etc) Thanks (3 Replies)
Discussion started by: tomsha
3 Replies

2. UNIX for Advanced & Expert Users

how to figure out the size in MB for an informix database

This is the info i have so far. please if you are dead positive can u let me know if i my math/process is correct. Chunks address chk/dbs offset size free bpages flags pathname 5003e1f8 1 1 0 250000 177177 PO- /database/link_cw_p01_rootdbs 5003e494 2 ... (5 Replies)
Discussion started by: Optimus_P
5 Replies

3. UNIX for Dummies Questions & Answers

accessing the informix database

How do I access Informix from unix? It's been about 2 years since I've last used unix and I've forgotten the command. (2 Replies)
Discussion started by: pbouknight
2 Replies

4. Shell Programming and Scripting

using the perl version of the find command...

hi, i am looking through the perl documentation in the man pages for the first time but I have looked at some other reference giudes before (at a glance) and remember that there is a find command used by perl can any one give me a structured example of that command and how it works and if possible... (2 Replies)
Discussion started by: moxxx68
2 Replies

5. Shell Programming and Scripting

DBD-Informix drive for windows version of perl

Hi, I want to know where can I download the DBD-Informix drive for windows version of perl. Regards, Mahehs :confused: (0 Replies)
Discussion started by: maheshsri
0 Replies

6. UNIX for Dummies Questions & Answers

command(s) to find size of mysql database?

hello, i'm trying to figure out the size of a mysql database shelling into my server with putty / command line. is there / are there any commands that will return the size of a database, in MB? thanks. (4 Replies)
Discussion started by: sbourgeois
4 Replies

7. SCO

SCO & Informix SE version 7

hi, I need to download Informix SE version 7 for SCO but i could'nt find the link. please if someone can send me the link. thinks. (1 Reply)
Discussion started by: whisper
1 Replies

8. UNIX for Dummies Questions & Answers

Unix command help version 2.0

Having trouble doing the following things, I know it has something to do with using metacharacters but I'm not able to get it working correctly. I need a command to get a long directory listing of all the files that have: exactly two characters following the letters zot. all files that... (1 Reply)
Discussion started by: lakers34kb
1 Replies

9. UNIX for Dummies Questions & Answers

Debian - Connect To Informix Database

Can anyone point me toward information on setting up a Debian server ODBC connection to an Informix server? I have a Windows server set up with the Informix drivers in ODBC and I'd like to do the same thing on Debian so that my Rails apps can query the database beneath our call-logging software. ... (1 Reply)
Discussion started by: badmoon75
1 Replies

10. Shell Programming and Scripting

How find Linux version from command line?

Hi, I am looking to extract linux version from /etc/*-release file. I am specifically tring to avoid use of awk command here. would be great if can do done via sed or grep command. Red Hat Enterprise Linux Server release 6.5 (Tikanga) output must be 6 regards, Litu (7 Replies)
Discussion started by: Litu1988
7 Replies
XOpenDisplay()															    XOpenDisplay()

Name
  XOpenDisplay - connect a client program to an X server.

Synopsis
  Display *XOpenDisplay(display_name)
	char *display_name;

Arguments
  display_name	 Specifies the display name, which determines the server to connect to and the communications domain to be used.  See
		 Description below.

Returns
  The display structure.

Description
  The XOpenDisplay() routine connects the client to the server controlling the hardware display through TCP or DECnet communication proto-
  cols, or through some local inter-process communication protocol.

  On a POSIX-conformant system, if display_name is NULL, the value defaults to the contents of the DISPLAY environment variable on POSIX-
  based systems.  On non-UNIX-based systems, see that operating system's Xlib manual for the default display_name.  The encoding and inter-
  pretation of the display name is implementation-dependent.  Strings in the Host Portable Character Encoding are supported; support for
  other characters is implementation-dependent.  The display_name or DISPLAY environment variable is a string that has the format host-
  name:server	or   hostname:server.screen.  For example, frog:0.2 would specify screen 2 of server 0 on the machine frog.

  hostname    Specifies the name of the host machine on which the display is physically connected.  You follow the hostname with either a
	      single colon (:) or a double colon (::), which determines the communications domain to use.  Any or all of the communication
	      protocols can be used simultaneously on a server built to support them (but only one per client).

	      o  If hostname is a host machine name and a single colon (:) separates the hostname and display number, XOpenDisplay() connects
		 to the server using TCP streams.  If the hostname is not specified, Xlib uses what it believes is the fastest transport.

	      o  If hostname is a host machine name and a double colon (::) separates the hostname and display number, XOpenDisplay() con-
		 nects with the server using DECnet streams.  To use DECnet, however, you must build all software for DECnet.  A single X
		 server can accept both TCP and DECnet connections if it has been built for DECnet.

	      o  Note that support for use of the string "unix" in a display name is no longer part of the Xlib specification as of Release
		 4.

  server      Specifies the number of the server on its host machine.  This display number may be followed by a period (.).  A single CPU can
	      have more than one display; the displays are numbered starting from 0.

  screen      Specifies the number of the default screen on server.  Multiple screens can be connected to (controlled by) a single X server,
	      but they are used as a single display by a single user.  screen merely sets an internal variable that is returned by the
	      DefaultScreen() macro.  If screen is omitted, it defaults to 0.

  If successful, XOpenDisplay() returns a pointer to a Display.  This structure provides many of the specifications of the server and its
  screens.  If XOpenDisplay() does not succeed, it returns NULL.

  After a successful call to XOpenDisplay(), all of the screens on the server may be used by the application.  The screen number specified in
  the display_name argument serves only to specify the value that will be returned by the DefaultScreen() macro.  After opening the display,
  you can use the ScreenCount() macro to determine how many screens are available.  Then you can reference each screen with integer values
  between 0 and the value returned by (ScreenCount() -1).  You can access elements of the Display and Screen structures only using the infor-
  mation macros and functions listed in Appendix C, Macros.

  For more information, see Volume One, Chapter 2, X Concepts, and Chapter 3, Basic Window Program.

See Also
  XDefaultScreen(), XCloseDisplay(), XFree(), XNoOp().

Xlib - HouseKeeping														    XOpenDisplay()
All times are GMT -4. The time now is 06:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy