Maintenance Commands Intro(1M)
NAME
Intro, intro - introduction to maintenance commands and
application programs
AVAILABILITY
This section indicates which package contains the commands
being described on this page. To be able to use the command,
the indicated package must have been installed with the
operating system. For information on how to add a package
see pkgadd(1).
DESCRIPTION
This section describes, in alphabetical order, commands that
are used chiefly for system maintenance and administration
purposes.
Because of command restructuring for the Virtual File System
architecture, there are several instances of multiple manual
pages that begin with the same name. For example, the
mount, pages - mount(1M), mount_cachefs(1M), mount_hsfs(1M),
mount_nfs(1M), mount_tmpfs(1M), and mount_ufs(1M). In each
such case the first of the multiple pages describes the syn-
tax and options of the generic command, that is, those
options applicable to all FSTypes (file system types). The
succeeding pages describe the functionality of the FSType-
specific modules of the command. These pages list the com-
mand followed by an underscore ( _ ) and the FSType to which
they pertain. Note that the administrator should not
attempt to call these modules directly. The generic command
provides a common interface to all of them. Thus the
FSType-specific manual pages should not be viewed as
describing distinct commands, but rather as detailing those
aspects of a command that are specific to a particular
FSType.
COMMAND SYNTAX
Unless otherwise noted, commands described in this section
accept options and other arguments according to the follow-
ing syntax:
name [option(s)] [cmdarg(s)]
where:
name The name of an executable file
option - noargletter(s) or,
- argletter<>optarg
where <> is optional white space
noargletter A single letter representing an option without
an argument
SunOS 5.8 Last change: 29 Mar 1993 1
Maintenance Commands Intro(1M)
argletter A single letter representing an option requir-
ing an argument
optarg Argument (character string) satisfying preced-
ing argletter
cmdarg Pathname (or other command argument) not begin-
ning with - or, - by itself indicating the
standard input
SEE ALSO
getopt(1), pkgadd(1M), getopt(3C)
DIAGNOSTICS
Upon termination, each command returns 0 for normal termina-
tion and non-zero to indicate troubles such as erroneous
parameters, bad or inaccessible data, or other inability to
cope with the task at hand. It is called variously ``exit
code,'' ``exit status,'' or ``return code,'' and is
described only where special conventions are involved.
NOTES
Unfortunately, not all commands adhere to the standard syn-
tax.
LIST OF COMMANDS
Name Description
accept(1M) accept or reject print requests
acct(1M) overview of accounting and mis-
cellaneous accounting commands
acctcms(1M) command summary from process
accounting records
acctcon(1M) connect-time accounting
acctcon1(1M) See acctcon(1M)
acctcon2(1M) See acctcon(1M)
acctdisk(1M) See acct(1M)
acctdusg(1M) See acct(1M)
acctmerg(1M) merge or add total accounting
files
accton(1M) See acct(1M)
SunOS 5.8 Last change: 29 Mar 1993 2
Maintenance Commands Intro(1M)
acctprc(1M) process accounting
acctprc1(1M) See acctprc(1M)
acctprc2(1M) See acctprc(1M)
acctsh(1M) shell procedures for accounting
acctwtmp(1M) See acct(1M)
adbgen(1M) generate adb script
addbadsec(1M) map out defective disk blocks
add_drv(1M) add a new device driver to the
system
add_install_client(1M) See install_scripts(1M)
admintool(1M) system administration with a
graphical user interface
aliasadm(1M) manipulate the NIS+ aliases map
allocate(1M) device allocation
arp(1M) address resolution display and
control
aset(1M) monitors or restricts accesses
to system files and directories
aset.restore(1M) restores system files to their
content before ASET is installed
aspppd(1M) Asynchronous PPP Link Manager
aspppls(1M) See aspppd(1M)
audit(1M) control the behavior of the
audit daemon
auditconfig(1M) configure auditing
auditd(1M) audit daemon
auditreduce(1M) merge and select audit records
from audit trail files
audit_startup(1M) audit subsystem initialization
script
SunOS 5.8 Last change: 29 Mar 1993 3
Maintenance Commands Intro(1M)
auditstat(1M) display kernel audit statistics
audit_warn(1M) audit daemon warning script
automount(1M) install automatic mount points
automountd(1M) autofs mount/unmount daemon
autopush(1M) configures lists of automati-
cally pushed STREAMS modules
bdconfig(1M) configures the bd (buttons and
dials) stream
boot(1M) start the system kernel or a
standalone program
bootparamd(1M) See rpc.bootparamd(1M)
bsmconv(1M) enable/disable the Basic Secu-
rity Module (BSM) on Solaris
bsmunconv(1M) See bsmconv(1M)
cachefslog(1M) Cache File System logging
cachefsstat(1M) Cache File System statistics
cachefswssize(1M) Determine working set size for
cachefs
captoinfo(1M) convert a termcap description
into a terminfo description
catman(1M) create the cat files for the
manual
cfsadmin(1M) administer disk space used for
caching file systems with the
Cache File-System (CacheFS)
cg14config(1M) configure the cgfourteen device
chargefee(1M) See acctsh(1M)
check(1M) See install_scripts(1M)
chown(1M) change owner
chroot(1M) change root directory for a com-
mand
SunOS 5.8 Last change: 29 Mar 1993 4
Maintenance Commands Intro(1M)
chrtbl(1M) generate character classifica-
tion and conversion tables
ckpacct(1M) See acctsh(1M)
closewtmp(1M) See acct(1M)
clri(1M) clear inode
colltbl(1M) create string collation routines
comsat(1M) See in.comsat(1M)
convert4x(1M) converts SunOS 4.x clients to
work from Solaris 2.x servers
crash(1M) examine system images
cron(1M) clock daemon
dcopy(1M) See clri(1M)
dd(1M) convert and copy a file
deallocate(1M) device deallocation
devattr(1M) lists device attributes
devconfig(1M) configure device attributes
devfree(1M) release devices from exclusive
use
devinfo(1M) print device specific informa-
tion
devlinks(1M) adds /dev entries for miscel-
laneous devices and pseudo-
devices
devnm(1M) device name
devreserv(1M) reserve devices for exclusive
use
df(1M) report number of free disk
blocks and files
dfmounts(1M) display mounted resource infor-
mation
dfmounts_nfs(1M) display mounted NFS resource
SunOS 5.8 Last change: 29 Mar 1993 5
Maintenance Commands Intro(1M)
information
dfshares(1M) list available resources from
remote or local systems
dfshares_nfs(1M) list available NFS resources
from remote systems
df_ufs(1M) report free disk space on ufs
file systems
discover4x(1M) analyze the SunOS 4.x client
support after converting to
Solaris 2.x
disks(1M) adds /dev entries for hard disks
attached to the system
diskscan(1M) perform surface analysis
dispadmin(1M) process scheduler administration
dmesg(1M) collect system diagnostic mes-
sages to form error log
dminfo(1M) report information about a dev-
ice entry in a device maps file
dodisk(1M) See acctsh(1M)
domainname(1M) set or display name of the
current domain
drvconfig(1M) configure the /devices directory
du(1M) summarize disk usage
edquota(1M) edit user quotas for ufs file
system
eeprom(1M) EEPROM display and load utility
fdetach(1M) detach a name from a STREAMS-
based file descriptor
fdisk(1M) create or modify fixed disk par-
tition table
ff(1M) list file names and statistics
for a file system
ff_ufs(1M) list file names and statistics
SunOS 5.8 Last change: 29 Mar 1993 6
Maintenance Commands Intro(1M)
for a ufs file system
fingerd(1M) See in.fingerd(1M)
firmware(1M) bootable firmware programs and
firmware commands
fmthard(1M) populate VTOC on hard disks
fncheck(1M) check for consistency between
FNS data and NIS+ data
fncreate(1M) Create an FNS context
fncreate_fs(1M) create FNS file system contexts
fncreate_printer(1M) create new printers in the FNS
namespace
fndestroy(1M) Destroy an FNS context
format(1M) disk partitioning and mainte-
nance utility
fsck(1M) check and repair file systems
fsck_cachefs(1M) check integrity of data cached
with CacheFS
fsck_s5fs(1M) file system consistency check
and interactive repair
fsck_ufs(1M) file system consistency check
and interactive repair
fsdb(1M) file system debugger
fsdb_ufs(1M) ufs file system debugger
fsirand(1M) install random inode generation
numbers
fstyp(1M) determine file system type
ftpd(1M) See in.ftpd(1M)
fusage(1M) disk access profiler
fuser(1M) identify processes using a file
or file structure
fwtmp(1M) manipulate connect accounting
SunOS 5.8 Last change: 29 Mar 1993 7
Maintenance Commands Intro(1M)
records
gencc(1M) create a front-end to the cc
command
getdev(1M) lists devices based on criteria
getdgrp(1M) lists device groups which con-
tain devices that match criteria
getent(1M) get entries from administrative
database
gettable(1M) get DoD Internet format host
table from a host
getty(1M) set terminal type, modes, speed,
and line discipline
getvol(1M) verifies device accessibility
groupadd(1M) add (create) a new group defini-
tion on the system
groupdel(1M) delete a group definition from
the system
groupmod(1M) modify a group definition on the
system
grpck(1M) See pwck(1M)
halt(1M) stop the processor
hostconfig(1M) configure a system's host param-
eters
htable(1M) convert DoD Internet format host
table
id(1M) return user identity
ifconfig(1M) configure network interface
parameters
in.comsat(1M) biff server
inetd(1M) Internet services daemon
in.fingerd(1M) remote user information server
infocmp(1M) compare or print out terminfo
SunOS 5.8 Last change: 29 Mar 1993 8
Maintenance Commands Intro(1M)
descriptions
in.ftpd(1M) file transfer protocol server
init(1M) process control initialization
in.named(1M) Internet domain name server
in.rarpd(1M) DARPA Reverse Address Resolution
Protocol server
in.rdisc(1M) network router discovery daemon
in.rexecd(1M) remote execution server
in.rlogind(1M) remote login server
in.routed(1M) network routing daemon
in.rshd(1M) remote shell server
in.rwhod(1M) system status server
install(1M) install commands
install4x(1M) install SunOS 4.x
diskless/dataless client support
on Solaris 2.x servers
installboot(1M) install bootblocks in a disk
partition
installf(1M) add a file to the software ins-
tallation database
install_scripts(1M) scripts used to install the
Solaris software
in.talkd(1M) server for talk program
in.telnetd(1M) DARPA TELNET protocol server
in.tftpd(1M) Internet Trivial File Transfer
Protocol server
in.tnamed(1M) DARPA trivial name server
in.uucpd(1M) UUCP server
iostat(1M) report I/O statistics
kadb(1M) a kernel debugger
SunOS 5.8 Last change: 29 Mar 1993 9
Maintenance Commands Intro(1M)
kdmconfig(1M) configure or unconfigure key-
board, display, and mouse
options for OpenWindows and
internationalization
kerbd(1M) generates and validates Kerberos
tickets for kernel RPC
kernel(1M) UNIX system executable file con-
taining basic operating system
services
keyserv(1M) server for storing private
encryption keys
killall(1M) kill all active processes
labelit(1M) list or provide labels for file
systems
labelit_hsfs(1M) provide and print labels for
hsfs file systems
labelit_ufs(1M) provide and print labels for ufs
file systems
lastlogin(1M) See acctsh(1M)
leoconfig(1M) initialize the Leo (ZX and TZX)
Graphics Accelerator and down-
load microcode
link(1M) link and unlink files and direc-
tories
list_devices(1M) list allocatable devices
listdgrp(1M) lists members of a device group
listen(1M) network listener daemon
lockd(1M) network lock daemon
lockfs(1M) change or report file system
locks
logins(1M) list user and system login
information
lpadmin(1M) configure the LP print service
lpfilter(1M) administer filters used with the
SunOS 5.8 Last change: 29 Mar 1993 10
Maintenance Commands Intro(1M)
LP print service
lpforms(1M) administer forms used with the
LP print service
lpmove(1M) See lpsched(1M)
lpsched(1M) start/stop the LP print service
and move requests
lpshut(1M) See lpsched(1M)
lpsystem(1M) register remote systems with the
print service
lpusers(1M) set printing queue priorities
mail.local(1M) store mail in a mailbox
makedbm(1M) make a dbm file, or get a text
file from a dbm file
mk(1M) remake the binary system and
commands from source code
mkfifo(1M) make FIFO special file
mkfile(1M) create a file
mkfs(1M) construct a file system
mkfs_ufs(1M) construct a ufs file system
mknod(1M) make a special file
modinfo(1M) display information about loaded
kernel modules
modload(1M) load a kernel module
modunload(1M) unload a module
monacct(1M) See acctsh(1M)
monitor(1M) SPARC system PROM monitor
montbl(1M) create monetary database
mount(1M) mount or unmount file systems
and remote resources
mountall(1M) mount, unmount multiple file
SunOS 5.8 Last change: 29 Mar 1993 11
Maintenance Commands Intro(1M)
systems
mount_cachefs(1M) mount CacheFS file systems
mountd(1M) NFS mount request server
mount_hsfs(1M) mount hsfs file systems
mount_nfs(1M) mount remote NFS resources
mount_pcfs(1M) mount pcfs file systems
mount_s5fs(1M) mount s5 file systems
mount_tmpfs(1M) mount tmpfs file systems
mount_ufs(1M) mount ufs file systems
mpstat(1M) report per-processor statistics
mvdir(1M) move a directory
named(1M) See in.named(1M)
named-xfer(1M) See in.named(1M)
ncheck(1M) generate a list of path names
versus i-numbers
ncheck_ufs(1M) generate pathnames versus i-
numbers for ufs file systems
ndd(1M) get and set driver configuration
parameters
netstat(1M) show network status
newfs(1M) construct a new UFS file system
newkey(1M) create a new Diffie-Hellman key
pair in the publickey database
nfsd(1M) NFS daemon
nfsstat(1M) NFS statistics
nisaddcred(1M) create NIS+ credentials
nisaddent(1M) create NIS+ tables from
corresponding /etc files or NIS
maps
SunOS 5.8 Last change: 29 Mar 1993 12
Maintenance Commands Intro(1M)
nis_cachemgr(1M) NIS+ utility to cache location
information about NIS+ servers
nisclient(1M) initialize NIS+ credentials for
NIS+ principals
nisd(1M) See rpc.nisd(1M)
nisd_resolv(1M) See rpc.nisd_resolv(1M)
nisinit(1M) NIS+ client and server initiali-
zation utility
nislog(1M) display the contents of the NIS+
transaction log
nispasswdd(1M) See rpc.nispasswdd(1M)
nisping(1M) send ping to NIS+ servers
nispopulate(1M) populate the NIS+ tables in a
NIS+ domain.
nisserver(1M) set up NIS+ servers.
nissetup(1M) initialize a NIS+ domain
nisshowcache(1M) NIS+ utility to print out the
contents of the shared cache
file
nisstat(1M) report NIS+ server statistics
nisupdkeys(1M) update the public keys in a NIS+
directory object
nlsadmin(1M) network listener service
administration
nscd(1M) name service cache daemon
nslookup(1M) query name servers interactively
nstest(1M) DNS test shell
nulladm(1M) See acctsh(1M)
obpsym(1M) Kernel Symbolic Debugging for
OpenBoot Firmware
passmgmt(1M) password files management
SunOS 5.8 Last change: 29 Mar 1993 13
Maintenance Commands Intro(1M)
pbind(1M) control and query bindings of
processes to processors
pcmciad(1M) PCMCIA user daemon
pfinstall(1M) tests installation profiles
ping(1M) send ICMP ECHO_REQUEST packets
to network hosts
pkgadd(1M) transfer software package to the
system
pkgask(1M) stores answers to a request
script
pkgchk(1M) check accuracy of installation
pkgrm(1M) removes a package from the sys-
tem
pmadm(1M) port monitor administration
ports(1M) create /dev entries and inittab
entries for serial lines
poweroff(1M) See halt(1M)
praudit(1M) print contents of an audit trail
file
prctmp(1M) See acctsh(1M)
prdaily(1M) See acctsh(1M)
prtacct(1M) See acctsh(1M)
prtconf(1M) print system configuration
prtdiag(1M) print system diagnostic informa-
tion
prtvtoc(1M) report information about a disk
geometry and partitioning
psradm(1M) set processors online or offline
psrinfo(1M) print processor information
putdev(1M) edits device table
putdgrp(1M) edits device group table
SunOS 5.8 Last change: 29 Mar 1993 14
Maintenance Commands Intro(1M)
pwck(1M) password/group file checkers
pwconv(1M) installs and updates /etc/shadow
with information from
/etc/passwd
quot(1M) summarize file system ownership
quota(1M) display a user's ufs file system
disk quota and usage
quotacheck(1M) ufs file system quota con-
sistency checker
quotaoff(1M) See quotaon(1M)
quotaon(1M) turn ufs file system quotas on
and off
rarpd(1M) See in.rarpd(1M)
rdate(1M) set system date from a remote
host
rdisc(1M) See in.rdisc(1M)
reboot(1M) restart the operating system
reject(1M) See accept(1M)
rem_drv(1M) remove a device driver from the
system
removef(1M) remove a file from software
database
repquota(1M) summarize quotas for a ufs file
system
re-preinstall(1M) installs the JumpStart software
on a system
restricted_shell(1M) See rsh(1M)
rexd(1M) See rpc.rexd(1M)
rexecd(1M) See in.rexecd(1M)
rlogind(1M) See in.rlogind(1M)
rm_install_client(1M) See install_scripts(1M)
SunOS 5.8 Last change: 29 Mar 1993 15
Maintenance Commands Intro(1M)
rmmount(1M) removable media mounter that
automatically mounts a file sys-
tem on a CD-ROM and floppy
rmt(1M) remote magtape protocol module
route(1M) manually manipulate the routing
tables
routed(1M) See in.routed(1M)
rpcbind(1M) universal addresses to RPC pro-
gram number mapper
rpc.bootparamd(1M) boot parameter server
rpcinfo(1M) report RPC information
rpc.nisd(1M) NIS+ service daemon
rpc.nisd_resolv(1M) NIS+ service daemon
rpc.nispasswdd(1M) NIS+ password update daemon
rpc.rexd(1M) RPC-based remote execution
server
rpc.rstatd(1M) kernel statistics server
rpc.rusersd(1M) network username server
rpc.rwalld(1M) network rwall server
rpc.sprayd(1M) spray server
rpld(1M) x86 Network Booting RPL (Remote
Program Load) Server
rquotad(1M) remote quota server
rsh(1M) restricted shell command inter-
preter
rshd(1M) See in.rshd(1M)
rstatd(1M) See rpc.rstatd(1M)
rtc(1M) provide all real-time clock and
GMT-lag management
runacct(1M) run daily accounting
SunOS 5.8 Last change: 29 Mar 1993 16
Maintenance Commands Intro(1M)
runacct(1M) See acctsh(1M)
rusersd(1M) See rpc.rusersd(1M)
rwall(1M) write to all users over a net-
work
rwalld(1M) See rpc.rwalld(1M)
rwhod(1M) See in.rwhod(1M)
sa1(1M) See sar(1M)
sa2(1M) See sar(1M)
sac(1M) service access controller
sacadm(1M) service access controller
administration
sadc(1M) See sar(1M)
sadmind(1M) distributed system administra-
tion daemon
saf(1M) Service Access Facility
sar(1M) system activity report package
savecore(1M) save a core dump of the operat-
ing system
sendmail(1M) send mail over the internet
server_upgrade(1M) upgrade clients of a heterogene-
ous OS server
setmnt(1M) establish mount table
setuname(1M) changes machine information
setup_install_server(1M) See install_scripts(1M)
share(1M) make local resource available
for mounting by remote systems
shareall(1M) share, unshare multiple
resources
share_nfs(1M) make local NFS filesystems
available for mounting by remote
systems
SunOS 5.8 Last change: 29 Mar 1993 17
Maintenance Commands Intro(1M)
showmount(1M) show all remote mounts
showrev(1M) show machine and software revi-
sion information
shutacct(1M) See acctsh(1M)
shutdown(1M) shut down system, change system
state
snoop(1M) capture and inspect network
packets
spray(1M) spray packets
sprayd(1M) See rpc.sprayd(1M)
ssaadm(1M) Administration program for the
SPARCstorage Array
ssacli(1M) SPARCstorage Array Command Line
Interface
startup(1M) See acctsh(1M)
statd(1M) network status monitor
strace(1M) print STREAMS trace messages
strclean(1M) STREAMS error logger cleanup
program
strerr(1M) STREAMS error logger daemon
sttydefs(1M) maintain line settings and hunt
sequences for TTY ports
su(1M) become super-user or another
user
sulogin(1M) access single-user mode
suninstall(1M) install the Solaris environment
swap(1M) swap administrative interface
swmtool(1M) install, upgrade, and remove
software packages
sxconfig(1M) configure contiguous memory for
the SX video subsystem
SunOS 5.8 Last change: 29 Mar 1993 18
Maintenance Commands Intro(1M)
sync(1M) update the super block
syncinit(1M) set serial line interface
operating parameters.
syncloop(1M) synchronous serial loopback test
program
syncstat(1M) report driver statistics from a
synchronous serial link.
sysdef(1M) output system definition
sysidconfig(1M) execute system configuration
applications, or define set of
system configuration applica-
tions
sysidnet(1M) See sysidtool(1M)
sysidnis(1M) See sysidtool(1M)
sysidroot(1M) See sysidtool(1M)
sysidsys(1M) See sysidtool(1M)
sysidtool(1M) system configuration
syslogd(1M) log system messages
sys-unconfig(1M) undo a system's configuration
talkd(1M) See in.talkd(1M)
tapes(1M) adds /dev entries for tape
drives attached to the system
taskstat(1M) prints ASET tasks status
tcxconfig(1M) configure the default linearity
of the 24-bit TrueColor Visual
for OpenWindows on a system with
an S24 frame buffer (TCX)
telinit(1M) See init(1M)
telnetd(1M) See in.telnetd(1M)
tftpd(1M) See in.tftpd(1M)
tic(1M) terminfo compiler
SunOS 5.8 Last change: 29 Mar 1993 19
Maintenance Commands Intro(1M)
tnamed(1M) See in.tnamed(1M)
ttyadm(1M) format and output port monitor-
specific information
ttyhstmgr(1M) administer hosts on a network
ttymon(1M) port monitor for terminal ports
tunefs(1M) tune up an existing file system
turnacct(1M) See acctsh(1M)
uadmin(1M) administrative control
ufsdump(1M) incremental file system dump
ufsrestore(1M) incremental file system restore
umount(1M) See mount(1M)
umountall(1M) See mountall(1M)
unlink(1M) See link(1M)
unshare(1M) make local resource unavailable
for mounting by remote systems
unshareall(1M) See shareall(1M)
unshare_nfs(1M) make local NFS filesystems una-
vailable for mounting by remote
systems
useradd(1M) administer a new user login on
the system
userdel(1M) delete a user's login from the
system
usermod(1M) modify a user's login informa-
tion on the system
utmp2wtmp(1M) See acct(1M)
uucheck(1M) check the uucp directories and
permissions file
uucico(1M) file transport program for the
uucp system
uucleanup(1M) uucp spool directory clean-up
SunOS 5.8 Last change: 29 Mar 1993 20
Maintenance Commands Intro(1M)
uucpd(1M) See in.uucpd(1M)
uusched(1M) the scheduler for the uucp file
transport program
uutry(1M) See Uutry(1M)
Uutry(1M) try to contact remote system
with debugging on
uuxqt(1M) execute remote command requests
vmstat(1M) report virtual memory statistics
volcopy(1M) make an image copy of file sys-
tem
volcopy_ufs(1M) make an image copy of a ufs file
system
vold(1M) Volume Management daemon to
manage CD-ROM and floppy devices
wall(1M) write to all users
wchrtbl(1M) See chrtbl(1M)
whodo(1M) who is doing what
wtmpfix(1M) See fwtmp(1M)
ypbind(1M) NIS binder process
ypinit(1M) set up NIS client
ypmake(1M) rebuild NIS database
yppoll(1M) return current version of a NIS
map at a NIS server host
ypset(1M) point ypbind at a particular
server
ypxfr(1M) transfer NIS map from a NIS
server to host
zdump(1M) time zone dumper
zic(1M) time zone compiler
SunOS 5.8 Last change: 29 Mar 1993 21
© 1994 Man-cgi 1.15S, Panagiotis Christias <christia@theseas.ntua.gr>
1995 Modified for Solaris 2.3, David Adams, <d.j.adams@soton.ac.uk>