• Aucun résultat trouvé

view filename

Dans le document ---<)--Intel Processors ---<)-- (Page 189-199)

Sort and list the output of the Is command with more(l).

3/91

nslookup(1M) (Internet Utilities) nslookup (1 M)

3/91

help

? Print a brief summary of commands.

set keyword [

=

value ] This command is used to change state information that affects the lookups. Valid keywords are:

all Prints the current values of the various options to set. Informa-tion about the current default server and host is also printed.

[no] deb [ ug]

Tum debugging mode on. A lot more information is printed about the packet sent to the server and the resulting answer. The default is nodebug.

[ no ] def [ name ]

Append the default domain name to every lookup. The default is nodefname.

do [ main ]

=

filename

Change the default domain name to filename. The default domain name is appended to all lookup requests if defname option has been set. The default is the value in /etc/resolve.conf.

q [ querytype ]

=

value

Change the type of information returned from a query to one of:

A The host's Internet address (the default).

CNAME The canonical name for an alias.

HINFO The host CPU and operating system type.

lID The mail destination.

MX The mail exchanger.

MB The mailbox domain name.

MG The mail group member.

MINFO The mailbox or mail list information.

(Other types specified in the RFC883 document are valid, but are not very useful.)

[ no ] recurse

Tell the name server to query other servers if it does not have the information. The default is recurse.

ret [ ry ]

=

count

Set the number of times to retry a request before giving up to count. When a reply to a request is not received within a certain amount of time (changed with set timeout), the request is resent.

The default is count is 2.

ro [ ot ]

=

host

Change the name of the root server to host. This affects the root command. The default root server is sri -nic. arpa.

Page 3

nslookup (1 M) (Internet Utilities) nslookup(1M)

FILES

t [ timeout ] = interval

Change the time-out for a reply to interval seconds. The default interval is 10 seconds.

[no] v[ c]

Always use a virtual circuit when sending requests to the server.

The default is nove.

/etc/resolve.conf initial domain name and name server addresses.

SEE ALSO

named(lM), resolver(3N), resolve.conf(4), RFC 882, RFC 883 DIAGNOSTICS

Page 4

If the lookup request was not successful, an error message is printed. Possible errors are:

Time-out

The server did not respond to a request after a certain amount of time (changed with set timeout = value) and a certain number of retries (changed with set retry = value).

No information

Depending on the query type set with the set querytype command, no information about the host was available, though the host name is valid.

Non-existent domain

The host or domain name does not exist.

Connection refused Network is unreachable

The connection to the name or finger server could not be made at the current time. This error commonly occurs with finger requests.

Server failure

The name server found an internal inconsistency in its database and could not return a valid answer.

Refused

The name server refused to service the request.

The following error should not occur and it indicates a bug in the program.

Format error

The name server found that the request packet was not in the proper for-mat.

3/91

nsquery(1M) (RFS) nsquery (1 M)

NAME

nsquery - Remote File Sharing name server query SYNOPSIS

nsquery [-h] [name]

DESCRIPTION

nsquery provides information about resources available to the host from both the local domain and from other domains. All resources are reported, regardless of whether the host is authorized to access them. When used with no options, nsquery identifies all resources in the domain that have been advertised as shar-able. A report on selected resources can be obtained by specifying name, where name is:

nodename The report will include only those resources available from nodename.

domain. The report will include only those resources available from domain.

domain. nodename The report will include only those resources available from domain.nodename.

When the name does not include the delimiter ".", it will be interpreted as a nodename within the local domain. If the name ends with a delimiter ".", it will be interpreted as a domain name.

The information contained in the report on each resource includes its advertised name (domain. resource), the read/write permissions, the server (nodename.domain) that advertised the resource, and a brief textual description.

When -h is used, the header is not printed.

A remote domain must be listed in your rfmaster file in order to query that domain.

EXIT STATUS

If no entries are found when nsquery is executed, the report header is printed.

SEE ALSO NOTES

3/91

adv(lM), unadv(lM), rfmaster(4)

If your host cannot contact the domain name server, an error message will be sent to standard error.

Page 1

od(1) (Directory and File Management Utilities) od(1)

NAME

od - octal dump SYNOPSIS

od [ -bcDdFfOoS8VXX ] [file] [ [ + ]offset[ •

I

b] ] DESCRIPTION

3/91

ad displays file in one or more formats, as selected by the first argument. If the first argument is missing, - 0 is default. If no file is specified, the standard input is used. For the purposes of this description, "word" refers to a 16-bit unit, independent of the word size of the machine; "long word" refers to a 32-bit unit, and "double long word" refers to a 64-bit unit. The meanings of the format options are:

-b Interpret bytes in octal.

-c Interpret bytes as single-byte characters. Certain non-graphic characters appear as C-Ianguage escapes: null=\O, backspace=\b, form-feed=\f, new-line=\n, return=\r, tab=\t; others appear as 3-digit octal numbers. For example:

echo "hello world" I od -c

0000000 h e I I 0

0000014

W 0 r I d \n

-D Interpret long words in unsigned decimal.

-d Interpret words in unsigned decimal.

-F Interpret double long words in extended precision.

-f Interpret long words in floating point.

-0 Interpret long words in unsigned octal.

-0 Interpret words in octal.

-8 Interpret long words in signed decimal.

-8 Interpret words in signed decimal.

-v Show all data (verbose).

-x Interpret long words in hex.

-x Interpret words in hex.

offset specifies an offset from the beginning of file where the display will begin.

offset is normally interpreted as octal bytes. If. is appended, offset is interpreted in decimal. If x is appended, offset is interpreted in hexadecimal. If b is appended, offset is interpreted in blocks of 512 bytes. If file is omitted, offset must be preceded by +.

The display continues until an end-of-file is reached.

Page 1

offline (1 M) (Multiprocessing) offline (1 M)

NAME

offline - take a processor offline SYNOPSIS

offline [-v]

[processor-id ... ]

DESCRIPTION

offline takes each processor that is specified on the command line offline. If no processors are specified, all processors in the system are taken offline. In either case, some processors may not be taken offline because of hardware restrictions.

At least one processor must remain online at all times. Processors that have bound processes can not be taken offline. If the -v flag is specified, the status of the processor is displayed before and after the attempt to take it offline.

SEE ALSO

online(lM), p_online(2) NOTES

This command may not be supported in future releases.

3/91 Page 1

online (1M) (Multiprocessing)

NAME

online - bring a processor online SYNOPSIS

online [-v]

[processor-id ... ]

DESCRIPTION

online(1M)

online brings each processor that is specified on the command line online. If no processors are listed, all processors are brought online. If the -v flag is specified, the status of the processor is displayed before and after the attempt to turn it on.

SEE ALSO

offline(lM), p_online(2) NOTES

This command may not be supported in future releases.

3/91 Page 1

pack(1) (Directory and File Management Utilities) pack(1)

NAME

pack, pcat, unpack - compress and expand files

SYNOPSIS

pack uses Huffman (minimum redundancy) codes on a byte-by-byte basis. If the - argument is used, an internal flag is set that causes the number of times each byte is used, its relative frequency, and the code for the byte to be printed on the standard output. Additional occurrences of - in place of name will cause the internal flag to be set and reset.

The amount of compression obtained depends on the size of the input file and the character frequency distribution. Because a decoding tree forms the first part of each • z file, it is usually not worthwhile to pack files smaller than three blocks, unless the character frequency distribution is very skewed, which may occur with printer plots or pictures.

Typically, text files are reduced to 60-75% of their original size. Load modules, which use a larger character set and have a more uniform distribution of charac-ters, show little compression, the packed versions being about 90% of the original size.

pack returns a value that is the number of files that it failed to compress.

No packing will occur if:

the file appears to be already packed;

the file name has more than 12 characters;

the file has links;

the file is a directory;

the file cannot be opened;

no disk storage blocks will be saved by packing;

a file called name. z already exists;

the . z file cannot be created;

an I/O error occurred during processing;

the file size is over 16 MB.

The last segment of the file name must contain no more than 12 characters to allow space for the appended • z extension. Directories cannot be compressed.

Page 1

pack(1) (Directory and File Management Utilities) pack(1)

pcat does for packed files what cat(1) does for ordinary files, except that peat cannot be used as a filter. The specified files are unpacked and written to the standard output. Thus to view a packed file named name. z use:

pcat name.z or just:

pcat name

To make an unpacked copy, say nnn, of a packed file named name.z (without destroying name.z) use the command:

pcat name >nnn

peat returns the number of files it was unable to unpack. Failure may occur if:

the file name (exclusive of the • z) has more than 12 characters;

the file cannot be opened;

the file does not appear to be the output of pack.

unpack expands files created by pack. For each file name specified in the com-mand, a search is made for a file called name.z (or just name, if name ends in .z).

If this file appears to be a packed file, it is replaced by its expanded version. The new file has the • z suffix stripped from its name, and has the same access modes, access and modification dates, and owner as those of the packed file.

Unpack returns a value that is the number of files it was unable to unpack.

Failure may occur for the same reasons that it may in pcat, as well as for the fol-lowing:

a file with the "unpacked" name already exists;

if the unpacked file cannot be created.

SEE ALSO

cat(1), conpress(1)

Page 2 3/91

pagesize (1 ) (BSO Compatibility Package)

NAME

pagesize - display the size of a page of memory

SYNOPSIS

lusr/ucb/pagesize DESCRIPTION

pagesize (1 )

pagesize prints the size of a page of memory in bytes, as returned by get-pagesize. This program is useful in constructing portable shell scripts.

SEE ALSO

getpagesize(3)

3/91 Page 1

partslze (1 M) (Base System) partslze (1 M)

NAME

partsize - returns the size of the active UNIX System partition

SYNOPSIS

Dans le document ---<)--Intel Processors ---<)-- (Page 189-199)

Documents relatifs