Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gettable(8) [bsd man page]

GETTABLE(8)						      System Manager's Manual						       GETTABLE(8)

gettable - get NIC format host tables from a host SYNOPSIS
/usr/sbin/gettable [ -v ] host [ outfile ] DESCRIPTION
Gettable is a simple program used to obtain the NIC standard host tables from a ``nicname'' server. The indicated host is queried for the tables. The tables, if retrieved, are placed in the file outfile or by default, hosts.txt. The -v option will get just the version number instead of the complete host table and put the output in the file outfile or by default, hosts.ver. Gettable operates by opening a TCP connection to the port indicated in the service specification for ``nicname''. A request is then made for ``ALL'' names and the resultant information is placed in the output file. Gettable is best used in conjunction with the htable(8) program which converts the NIC standard file format to that used by the network library lookup routines. SEE ALSO
intro(3N), htable(8), named(8) BUGS
If the name-domain system provided network name mapping well as host name mapping, gettable would no longer be needed. 4.2 Berkeley Distribution November 17, 1996 GETTABLE(8)

Check Out this Related Man Page

HTABLE(8)						      System Manager's Manual							 HTABLE(8)

htable - convert NIC standard format host tables SYNOPSIS
/etc/htable [ -c connected-nets ] [ -l local-nets ] file DESCRIPTION
Htable is used to convert host files in the format specified in Internet RFC 810 to the format used by the network library routines. Three files are created as a result of running htable: hosts, networks, and gateways. The hosts file may be used by the gethostbyname(3N) rou- tines in mapping host names to addresses if the nameserver, named(8), is not used. The networks file is used by the getnetent(3N) routines in mapping network names to numbers. The gateways file may be used by the routing daemon in identifying ``passive'' Internet gateways; see routed(8C) for an explanation. If any of the files localhosts, localnetworks, or localgateways are present in the current directory, the file's contents is prepended to the output file. Of these, only the gateways file is interpreted. This allows sites to maintain local aliases and entries which are not normally present in the master database. Only one gateway to each network will be placed in the gateways file; a gateway listed in the localgateways file will override any in the input file. If the gateways file is to be used, a list of networks to which the host is directly connected is specified with the -c flag. The net- works, separated by commas, may be given by name or in Internet-standard dot notation, e.g. -c arpanet,128.32,local-ether-net. Htable only includes gateways which are directly connected to one of the networks specified, or which can be reached from another gateway on a connected net. If the -l option is given with a list of networks (in the same format as for -c), these networks will be treated as ``local,'' and informa- tion about hosts on local networks is taken only from the localhosts file. Entries for local hosts from the main database will be omitted. This allows the localhosts file to completely override any entries in the input file. Htable is best used in conjunction with the gettable(8C) program which retrieves the NIC database from a host. SEE ALSO
intro(3N), gettable(8C), named(8) BUGS
If the name-domain system provided network name mapping well as host name mapping, htable would no longer be needed. 4.2 Berkeley Distribution May 22, 1986 HTABLE(8)
Man Page

15 More Discussions You Might Find Interesting

1. Solaris

Dual NIC problem

Hi, I have a problem with a server disconnecting from the network. This is a SUN box with dual NIC's running Solaris 8. We have a Nokia router that routes traffic but it's virtual address doesn't respond to pings. When the SUN box sends out a ping, if nothing comes back it will shut down... (5 Replies)
Discussion started by: m_smith
5 Replies

2. IP Networking

Users logged in through which NIC

We have two NIC cards in our IBM RS/6000 F50 running AIX 4.3.3 We are trying to make sure we have moved all users to log in through the new NIC. 10.22.x.y (old) 10.22.x.z (new) How can I tell which users are still using the old address for logging in so I can update their work station to... (5 Replies)
Discussion started by: cburtgo
5 Replies

3. Shell Programming and Scripting

Converting tables of row data into columns of tables

I am trying to transpose tables listed in the format into format. Any help would be greatly appreciated. Input: test_data_1 1 2 90% 4 3 91% 5 4 90% 6 5 90% 9 6 90% test_data_2 3 5 92% 5 4 92% 7 3 93% 9 2 92% 1 1 92% ... Output:... (7 Replies)
Discussion started by: justthisguy
7 Replies

4. AIX

how many ip's

in aix how many ip's we can assign for single NIC . (4 Replies)
Discussion started by: chomca
4 Replies

5. IP Networking

How to extract NIC and other info ,given Ip

Hi all, I am working on a networking project that requires me to find out the NIC on that particular machine and many more things. Now Given the IP and the subnet. I would like to know how we can extract such informations? I am talking in exclusivity to Solaris boxes!! The required... (6 Replies)
Discussion started by: wrapster
6 Replies

6. UNIX for Dummies Questions & Answers

Unix Experts Answer this INterview Questions please

1, why Boot server should be in a network in jumpstart? 2, what is the different between patch and package? 3, how to list the avilable NIC in solaris9? 4, User complaing system is slow (solaris) what are the steps to check? 5, what is hardware error and software error and Transport Error? in... (5 Replies)
Discussion started by: suresh_krish
5 Replies

7. UNIX for Dummies Questions & Answers

Server NIC/network utilization

Hi, as topic. We have 2 NIC in the server. How can I check the utilization/network load for each individual NIC? using netstat seems not showing any percentage. Is there any command which is able to do so? Thx! (3 Replies)
Discussion started by: *Jess*
3 Replies

8. Solaris

Strange problem need expert advice

Hey guys I am into strange problem where I have to integrate cluster and EMC storage for that I have to take 1 NIC port from default nic port present on the server and 3 NIC port from quad card which is also present on the server. Right now I have connect all ports to a network for testing... (6 Replies)
Discussion started by: amity
6 Replies

9. Solaris

Mulitple Zones on Dual NIC host

Greetings Forumers! I am running into an issue with multiple zones on an M5000 with 2 NICs. The NICs are on separate VLANs. These zones are using the 2 NICs to communicate with other systems but when they need to communicate with a zone on the same system, but different NIC, the application... (9 Replies)
Discussion started by: bluescreen
9 Replies

10. Solaris

Not able to find the new NIC

I have a Sun Blade 2500 with SUN 5.9 OS installed. I have one NIC built-in which is working fine. I insert another new NIC in the machine with four RJ45 connector options(means four NICs in one Card). The problem is i am not able to see the new NIC Thanks (13 Replies)
Discussion started by: z_haseeb
13 Replies

11. IP Networking

How to find the ip of ...

hi, i want to know how can i get the ip of the hosts that are directly connected to my computer. for example in picture 1, host A is directly connected to the hosts C, E and B. if i'm working on host A, i want to know how can i get the ip of C,E and B that are directly connected to my host(host... (7 Replies)
Discussion started by: gongotar
7 Replies

12. Programming

Help with mapping two tables and filling the null values

Hi All , I have two tables. I will provide sample data in the tables below. table1: dept_id dept_name rep_id admin_lastname 10 dept of int.medicine Paul 10 dept of int.medicine Frank 20 dept of chemistry Young 20 dept of chemistry Bill 30 school of denistry kaufmann 40... (3 Replies)
Discussion started by: megha2525
3 Replies

13. IP Networking

squid proxy: one NIC for inbound & one NIC for outbound?

I am new in squid proxy. My question is how to (and if it's necessary) to set one NIC for inbound traffic (http requests) and one NIC for outbound traffic (http answers)? Thank you in advance! (4 Replies)
Discussion started by: aixlover
4 Replies

14. UNIX for Advanced & Expert Users

Red Hat Disable a NIC permanently..

Hi, I have a task here where I need to write a script to disable one of my NIC when it checks certain event. Till now I am not able to find a way to do this, because, it should be persistent though restart of services as well as reboots. I have tested putting it in rc.local, but it doesn't... (6 Replies)
Discussion started by: nixhead
6 Replies

15. AIX

AIX CPU usage

hi, We have two LPARs, both have same capacity and believe same configuration. ulimit settings for oracle user is unlimited for both LPARs. Installed oracle databases with same configurations on both LPARs, both databases sync every second so volume is same. Both LPARs/databases have identical... (10 Replies)
Discussion started by: baladelaware73
10 Replies

Featured Tech Videos