NetWare 4.1/9000 Utilities Reference
3-63
Server Utilities
nwsaputil
Example
Additional Information
-t type Specify server type. Replace type with the type of server. The
type can be specified in hexadecimal (0xn), octal (0n), or
decimal (n).
-s socket Specify server socket number. Replace socket with the socket
number. The socket number can be specified in hexadecimal
(0xn), octal (0n), or decimal (n).
-n name Specify server name. Replace name with the server name.
The server name is not case sensitive (you can use either
uppercase or lowercase characters).
To Type
Advertise print server BOB with
socket number 0x4068 and add it to
the sapouts file
nwsaputil -a -s0x4068 -t0x0047 -
nbob
Advertise the workstation as type
6754 with socket number octal 467
and add it to the sapouts file
nwsaputil -a -s0467 -t6754
Stop advertising a server called
WORK_SERVER with type 345
and remove it from the sapouts file
nwsaputil -d -t345 -nwork_server
Query all contents of the sapouts
file
nwsaputil -q
Query all contents with server name
LOCAL_SERVER
nwsaputil -q -nlocal_server
Topic See
Local SAP information The -l option for “nwsapinfo”
Option Use to