Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

uuid_gen(1ncs) [ultrix man page]

uuid_gen(1ncs)															    uuid_gen(1ncs)

Name
       uuid_gen - UUID generating program

Syntax
       /etc/ncs/uuid_gen [ -c ] [ -C ] [ -version ]

Description
       The  program  generates	Universal  Unique Identifiers (UUIDs).	Without options, it generates a character-string representation of a UUID.
       The -c option enables you to generate a template for Network Interface Definition Language (NIDL) files.  The -C option enables you to gen-
       erate source-code representations of UUIDs, suitable for initializing variables of type

Options
       -c	 Generate a template, including a UUID attribute, for an interface definition in the C syntax of NIDL.

       -C	 Generate a C source-code representation of a UUID.

       -version  Display  the  version of the Network Computing Kernel (NCK) that this belongs to but do not generate a UUID.  (NCK is part of the
		 Network Computing System (NCS) on which DECrpc is based.)

Examples
       Generate a character-string representation of a UUID:
       $ /etc/ncs/uuid_gen
       34dc23469000.0d.00.00.7c.5f.00.00.00
       Generate a template for an interface definition in the C syntax of NIDL:
       $ /etc/ncs/uuid_gen -c
       %c
       [
       uuid(34dc239ec000.0d.00.00.7c.5f.00.00.00),
       version(1)
       ]
       interface INTERFACENAME {

       }
       Generate a template for an interface definition in the C syntax of NIDL.  Redirect the output to the file
       $ /etc/ncs/uuid_gen -c >myfile.idl
       Generate a C source-code representation of a UUID:
       $ /etc/ncs/uuid_gen -C
       = { 0x34dc23af,
       0xf000,
       0x0000,
       0x0d,
       {0x00, 0x00, 0x7c, 0x5f, 0x00, 0x00, 0x00} };

See Also
       DECrpc Programming Guide

																    uuid_gen(1ncs)

Check Out this Related Man Page

nrglbd(8ncs)															      nrglbd(8ncs)

Name
       nrglbd - non-replicating global location broker (GBL) daemon

Syntax
       /etc/ncs/nrglbd [ -version ]

Description
       The  global location broker (GLB), enables clients to locate servers on a network or internet.  The GLB database stores the locations (that
       is, the network addresses and port numbers) where server processes are running.	The GLB maintains this database and provides access to it.

       The daemon should run as a background process.  It requires no options or arguments.  A Local Location Broker daemon ( ) must be running on
       the local host when is started.

       You can run only one on a network or internet.

       On ULTRIX systems, is typically started by a line in such as the following:
       /etc/ncs/nrglbd& echo -n ' nrglbd' > /dev/console

Options
       -version  Display  the version of the Network Computing Kernel (NCK) that this belongs to but do not start the daemon.  (NCK is part of the
		 Network Computing System (NCS) on which DECrpc is based.)

Restrictions
       This section discusses the procedure to follow if the system running the is taken off-line.

       If you restart on the same system and no server on any other system changed state, all things should run as before.  If, however, an appli-
       cation tries to contact a server that is no longer running or which has different port numbers, the application will fail.  The application
       also will not see any new server registrations.

       If a copy of is not available, you must create an up to date version of the file before restarting To do so, use to query the for registra-
       tion data on every system running an DECrpcserver and then use to register all DECrpc servers with the GLB on the new host.  Then restart

See Also
       lb_admin(1ncs), llbd(8ncs)
       Guide to the Location Broker

																      nrglbd(8ncs)
Man Page

7 More Discussions You Might Find Interesting

1. Programming

Want To Learn Network Programming

I want to learn Network Programming with C,but I don't know how to start. Thank you. (2 Replies)
Discussion started by: hubin330
2 Replies

2. Shell Programming and Scripting

Generate a string

Hi, I want to generate a string like 99999 or 00000 depending upon the number of zeros or nines.. that is if I say 9 then I need the string "9" as 999999999. if I say 4 zeros then i need to get a string 0000. Like my input to a function are number ( 0,1,2) which should be there in the string and... (5 Replies)
Discussion started by: Tux_Raju
5 Replies

3. UNIX for Advanced & Expert Users

Generate UUID for a host

Hello Experts, Is there a way to generate Universally Unique identifiers on all Unix flavours such as Solaris, RHELinux,Suse Linux, MacOS,HP UX etc? If i can get a system command or a system call or an algorithm/script/program to generate a unique identifier, it will be helpful. Thanks in... (1 Reply)
Discussion started by: GajendraSharma
1 Replies

4. Red Hat

How to generate UUID for 2nd Ethernet card?

Dear all, I have two NIC's on my machine. UUID for the first interface (eth0) was generated by the machine automatically. Now I want to generate UUID for the 2nd interface (eth1) please help me out. Thanks in advance...:) (2 Replies)
Discussion started by: saqlain.bashir
2 Replies

5. Shell Programming and Scripting

Another Building Block, Binary File Manipulation...

Apologies for any typos, and IF this has been done before... This is yet another building block. The code generates a 256 byte binary file of _characters_ 0x00 to 0xFF for general usage and generates another binary file manipulated in a basic way. I need this facility for a kids project I am... (0 Replies)
Discussion started by: wisecracker
0 Replies

6. Programming

UNIX Network Programming making files problem

I have started reading the book Unix Network Programming, Volume 1: The Sockets Networking API. I downloaded all the source code and the readme says I must make the files. zuro@zuro:~/book/unpv12e$ cd lib zuro@zuro:~/book/unpv12e/lib$ make gcc -g -O2 -D_REENTRANT -Wall -c -o... (5 Replies)
Discussion started by: xuro
5 Replies

7. UNIX for Beginners Questions & Answers

Syntax error in code snippet

Hello, I am attaching a code snippet. Some of the variables are set in earlier code like count, arrays harr1, harr2, barr1 and barr2. The code below gives syntax errors. I am very new to Bash. for (( i=0; i<=$(( $count -1 )); i++ )) do #Now read the element at barr2 location i. Also find... (2 Replies)
Discussion started by: ngabrani
2 Replies