Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gettable(1m) [sunos man page]

gettable(1M)						  System Administration Commands					      gettable(1M)

NAME
gettable - get DoD Internet format host table from a host SYNOPSIS
/usr/sbin/gettable host DESCRIPTION
gettable is a simple program used to obtain the DoD Internet host table from a "hostname" server. The specified host is queried for the table. The table is placed in the file hosts.txt. gettable operates by opening a TCP connection to the port indicated in the service specification for "hostname". 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(1M) program which converts the DoD Internet host table format to that used by the net- work library lookup routines. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWnisu | +-----------------------------+-----------------------------+ SEE ALSO
htable(1M), attributes(5) Harrenstien, Ken, Mary Stahl, and Elizabeth Feinler, HOSTNAME Server, RFC 953, Network Information Center, SRI International, Menlo Park, California, October 1985. NOTES
Should allow requests for only part of the database. SunOS 5.10 14 Sep 1992 gettable(1M)

Check Out this Related Man Page

htable(1M)                                                System Administration Commands                                                htable(1M)

NAME
htable - convert DoD Internet format host table SYNOPSIS
/usr/sbin/htable filename DESCRIPTION
htable converts a host table in the format specified by RFC 952 to the format used by the network library routines. Three files are cre- ated as a result of running htable: hosts, networks, and gateways. The hosts file is used by the gethostbyname(3NSL) routines in mapping host names to addresses. The networks file is used by the getnetbyname(3SOCKET) routines in mapping network names to numbers. The gateways file is used by the routing daemon to identify "passive" Internet gateways. 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 without interpretation. This allows sites to maintain local aliases and entries which are not normally present in the mas- ter database. htable is best used in conjunction with the gettable(1M) program which retrieves the DoD Internet host table from a host. FILES
localhosts localnetworks localgateways ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWnisu | +-----------------------------+-----------------------------+ SEE ALSO
gettable(1M), gethostbyname(3NSL), getnetbyname(3SOCKET), attributes(5) Harrenstien, Ken, Mary Stahl, and Elizabeth Feinler, DoD Internet Host Table Specification, RFC 952, Network Information Center, SRI International, Menlo Park, California, October 1985. NOTES
htable does not properly calculate the gateways file. SunOS 5.10 14 Sep 1992 htable(1M)
Man Page

6 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Server name + IP address removed from host table after rebooting

Hi, I have a problem with a Unix server (SCO Unix version 3.2). If this server is rebooted the own server name and it's IP address is removed from the host table. How is this possible? How can i solve this problem? (3 Replies)
Discussion started by: FIRE
3 Replies

2. Programming

htable + verification

hello every body, I have to verifiy if the param_key is selectionned twice or more and to print only one occurence i'm using htable what's the good implementation to add to the code to verify this. code : { char *tmpStr = NULL; ght_iterator_t iterator_param; void... (0 Replies)
Discussion started by: kamel.seg
0 Replies

3. UNIX for Dummies Questions & Answers

Extracting all table names from a given server

Using ksh and sqlplus... does anybody have an idea of how we can possibly extract all table names from server :confused:? thanks in advance. (6 Replies)
Discussion started by: fmina
6 Replies

4. UNIX for Dummies Questions & Answers

Reommendations for hp-ux wipe software

I am looking for software to do DoD compiliant wipes on Hp-Ux. Thank you in advance for any recommendations provided. (1 Reply)
Discussion started by: jim15800
1 Replies

5. UNIX for Dummies Questions & Answers

How to determine if a host is connected to the Internet in Unix?

How to determine if a host is connected to the Internet in Unix ? (1 Reply)
Discussion started by: shuhang2
1 Replies

6. Shell Programming and Scripting

DoD STIG Automation/Remediation

Curious if anyone has any working/in process STIG automations for Unix/Linux? I've gotten about 10% of them done so far and don't have HP-UX to add into the files, so was kind of hoping to find anyone else doing the same thing or similar. Not having any problems per se, I just can't imagine I'm... (0 Replies)
Discussion started by: Vryali
0 Replies