• Aucun résultat trouvé

Reference Manual

N/A
N/A
Protected

Academic year: 2022

Partager "Reference Manual "

Copied!
454
0
0

Texte intégral

(1)

UNISYS U 6000 Series

System V

Administrator'S

Reference Manual

Copyright © 1988 Unisys Corporation.

Unisys is a trademark of Unisys Corporation.

Priced Item

March 1988

Printed in U S America UP-13529

(2)

int.:::.ru·iori for releases based on AT&T Release 3 of or a subsequent release of the unless otherwise

Revisions

HP is a trademark of Hewlett-Packard, Inc.

UNIX is a trademark of AT&T.

DEC and VT~100 are trademarks of

MS-DOS Is a trademark of Microsoft Corporation.

is trademark of Human Systems.

TEKTRONIX is a trademark of Tektronix, Inc.

Copyright 1986 by Convergent. 1l1OOrporatscL

Portions of this malerial ara copyrighled by AT&T Technoklgies and ara reprinted with their permission.

(3)

Introduction

This manual is intended to supplement information contained in the User's Reference Manual and the Programmer's Reference Manual. It provides an easy reference volume for those responsi- ble for administering a 6000/50 system.

The manual is divided into two sections:

1. System Maintenance Commands and Application Programs

7. Special Files

Throughout this volume, a reference of the form name(1 M), or name (7) , refers to entries in this manual, while all other references to entries of the form name(N), where N is a number, possibly fol- lowed by a letter, refer to entry name in Section N of the User's Reference Manual or the Programmer's Reference Manual.

Section 1 (System Maintenanoe Commands and Application Programs) contains commands and programs that are used in administering a 6000/50 system. These entries carry a sub-class designation of "1 Mil for cross-referencing reasons.

Section 1 (Special Files) discusses the characteristics of sys- tem files that refer to input/output devices. The names in this sec- tion generally refer to device names for the hardware, rather than to the names of the special files themselves.

Each section begins with a page labelled intro. Entries follow- ing the intra page are arranged alphabetically and may consist of more than one page. Some entries describe several routines, commands, and so forth. In such cases, the entry appears only once, alphabetized under its "primaryu name. An example of such an entry is mount(1 M), which also describes the umount command.

All entries are based on a common format, not all of whose parts always appear:

• The NAME part gives the name(s) of the entry and briefly states its purpose.

• The SYNOPSIS part summarizes the use of the program being described. A few conventions are used, particularly in Section 1M (Commands):

UP-13529 INTAODUCTION-l

(4)

Introduction

Boldface strings are literals and are to be typed just as they appear.

Regular face strings usually represent substitutable argu- ment prototypes and program names found elsewhere in the manual.

Square brackets [] around an argument prototype indi- cate that the argument is optional. When an argument prototype is given as "name" or "file, II it always refers to a file name.

Ellipses ••• are used to show that the previous argument prototype may be repeated.

• The DESCRIPTION provides an overview of the command.

• The EXAMPLE(S) part gives example(s) of usage, where appropriate.

• The FILES part gives the file names that are built into the program.

• The SEE ALSO part gives pointers to related information.

• The DIAGNOSTICS part discusses the diagnostic indica- tions that may be produced. Messages that are intended to be self-explanatory are not listed.

• The WARNINGS part points out potential pitfalls.

• The BUGS part gives known bugs and sometimes deficien- cies.

A "Table of Contents" and a "Permuted Index" derived from the Table of Contents precede section 1. Both are valuable resources to be used when locating information you need quickly and easily.

The "Permuted Index" is a list of keywords, given in the second of three columns, together with the context in which the keyword is found. Keywords are either topical keywords or the names of manual entries. Entries are identified with their section numbers shown in parentheses. The right column lists the name of the manual page on which each keyword may be found. The left column contains 'useful information about the keyword.

INTRODUCTION-2 UP-13529

(5)

Table of Contents

1. Commands

intro(1 M) ... introduction to maintenance commands and application programs accept, reject (1 M) ... allow or prevent LP requests acct: acctdisk, acctdusg, accton, acctwtmp(1 M) ... overview of accounting and miscellaneous accounting commands acctcms(1M) ... command summary from

per-process accounting records acctcon: acctcon1 I acctcon2(1 M) ... connect-time accounting acctmerg(1 M) ... merge or add total accounting files acctprc: acctprc1, acctprc2(1 M) ... process accounting acctsh: chargefee. ckpacct, dodisk, lastlogin, monacet, nulladm,

prctmp, prdaily, prtacct, runacct, shutacct, startup.

turnacct(1 M) ... shell procedures for accounting adv(1 M) ... advertise a directory for remote access bcopy(1 M) ... interactive block copy brc. bcheckrc, powerfail(1 M) ... system initialization procedures captoinfo(1 M) ... convert a termcap description into a terminfo description cdc(1 M) ... change the delta commentary of an

sees

delta

cdt(1 M) ... read crash dump table checkfsys(1 M) ... check a file system on a removable disk chroot(1 M) ... change root directory for a command ckbups.cd(1 M) ... check file system backup schedule clri(1 M) ... clear j·node config(1 M) ... configure a 6000/50 system cons(1 M) ... control of system console cpset(1 M) ... install object files in binary directories cram{1 M) ... read/write CMOS RAM cramsetup(1 M) ... set up default values in CMOS RAM crash{1M) ... examine system images cron{1 M) ... clock daemon ctinstall. getgrps(1 M) ... install software dcopy(1 M) ... copy file systems for optimal access time dd (1 M) ... convert and copy a file devnm(1 M} ... device name

UP-13529 Contents 1

(6)

Tuble of Contents

df(1M) ... report number of free disk blocks and i-nodes diskusg(1 M) ... generate disk accounting data by user 10 diskutil(1 M) ... display disk information, copy in crash dump .files dname(1 M) print Remote File Sharing domain and network names drvload(1 M) ... load drivers du(1M) ... t . . . summarize disk usage errdead(1 M) ... extract error records and status information from dump errdemon(1 M) ... error-togging daemon errpt(1 M) ... process a report of logged errors errstop(1 M) ... terminate the error-logging daemon ff(1M) ... list file names and statistics for a file system frec(1 M) ... , ... recover files from a backup tape fsck. dfsck, checkall(1 M) ... check and repair file systems fsdb(1M) ... fHe system debugger fsstat(1 M) ... , report file system status fstyp(1 M) ... determine file system identifier fumount(1 M) ... forced unmount of an advertised resource fusage(1 M) ... disk access profiler fuser(1 M) ... identify processes using a file or file structure gencc(1 M) ... create a front-end to the cc command gettY(1 M) ... set terminal type, modes, speed, and line discipline hinv(1 M) ... hardware inventory id(1 M) ... print user and group IDs and names idload(1 M) ... Remote File Sharing user and group mapping infocmp(1 M) ... compare or print out terminfo descriptions init. telinit(1 M) ... process control initialization install (1 M) ... install commands kcrash(1 M) ... examine system images kdb(1 M) ... Kernel Debug Monitor killall(1M) ... kill all active processes tabelit(1 M) ... provide labels for file systems fddrv(1 M) ... manage loadable drivers link, unlink(1 M) ... link and unlink files and directories Ipadmiri(1 M) ... configure the LP spooling system Ipsched, Ipshut, Ipmove(1 M) ... start/stop the LP scheduler and move requests Ipset(1 M) ... set parallel line printer options masterupd(1 M) ... update the master file mkdbcmd(1 M) ... load commands into the kernel debugger mkdbsym(1 M) ... add symbols to kernel debugger

Contents 2 UP-13529

(7)

T~lhle

of' Contents

mkfs(1 M) ... construct a file system mkifile(1 M) ... make an ifile from an object file mklost+found(1M) ... make a lost + found directory for fsck mknod(1 M) ... build special file mount, umount(1 M) ... ... mount and unmount file systems and remote resources mountall, umountall(1 M) ... mount, unmount multiple file systems mvdir(1 M) ... move

a

directory ncheck{1 M) ... generate path names from i"numbers newgrp(1 M) ... log in to a new group nlsadmin(1 M) ... network listener service administration nmlmaint(1 M) ... loadable driver name list maintenance nsquery(1 M) ... Remote File Sharing name server query profiler: prfld, prfstat, prfdc, prfsnap, prfpr(1 M) ... 6000/50 system profiler pwck, grpck(l M) ... password/group file checkers qinstall(1 M} ... install and verify software using the mkfs(1 M) proto file database.

qlist(1 M} ... print file lists from proto file;

set links based on lines in proto file rcO(1 M) ... run commands performed to stop the operating system rc2(1 M) ... run commands performed for multi-user environment reboot{1 M) ... reboot the system renice(1 M) ... alter priority of running process by changing nice rfadmin(1 M) ... Remote File Sharing domain administration rfpasswd(1 M) ... change Remote File Sharing host password r1start(1 M) ... start Remote File Sharing rfstop(1 M) ... stop the Remote File Sharing environment rfuadmin(1 M) ... Remote File Sharing notification shell script rfudaemon(lM) ... Remote File Sharing daemon process rmntstat(1 M) ... display mounted resource information rmount(l M) ... retry remote resource mounts rmountall, rumountall(1 M) ... mount, unmount Remote File Sharing resources runacct(1 M) ... run daily accounting sadp(1 M) ... disk access profiler sar: sa1, sa2, sadc(1M) ... system activity report package scpioctl(l M) ... download code to active SCP boards.

scsicnfg(1 M) ... configure devices on the SCSI bus setmnt(1 M) ... establish mount table shutdown, halt(1 M) ... shut down system, change system state

UP-13529 Contents 3

(8)

Table of Contents

strace(1 M) ... print STREAMS trace messages strclean(1M) ... STREAMS error logger cleanup program strerr(1 M) ... STREAMS error logger daemon su(1M) ... become super-user or another user swap (1 M) ... swap administrative interface sync(1 M) ... update the super block sysadm(1 M) ... menu interface to do system administration sysdef(1 M) ... output system definition tic(1 M) ... terminfo compiler tsdbadm(1M) ... Remote Terminal service database administration tslimit(1 M) ... Remote Terminal service limits administration uadmin(1M) ... administrative control unadv(1 M) ... unadvertise a Remote File Sharing resource uucheck(1 M) ... check the uucp directories and permissions file uucico(1 M) ... file transport program for the uucp system uucleanup(1 M) ... uucp spool directory clean·up uugetty(1 M) .... set terminal type, modes, speed, and line discipline uusched(1 M) ... the scheduler for the uucp file transport program Uutry(1 M) ... try to contact remote system with debugging on uuxqt(1 M) ... execute remote command requests volcopy(1 M) ... copy file systems with label checking whodo(1 M) ... who is doing what 7. Special Files

intro(7) ... introduction to special files clone(7) ... open any minor device on a STREAMS driver disk(7) ... disk format and driver drivers (7) ... loadable device drivers enet(7) ... Ethernet interface and control err(7) ... error·logging interface fd(7) ... floppy disk (diskette) log(7) ... interface to STREAMS error logging and event tracing Ip(7) ... paralJel printer interface mem, kmem(7) ... system memory image nulI(7) ... the null file prf(7) ... operating system profiler ram disk , uramdisk(7) ... RAM disk drivers sa (7) ... devices administered by System Administration scpa(7) ... SCP active mode interface scsi (7) ... SCSI busses and peripherals streamio(7) ... STREAMS ioctl commands

Contents 4 UP-13S29

(9)

Table of Contents

sxt(7) ... pseudo-device driver termio(7) ... general terminal interface timod(7) ... Transport Interface cooperating STREAMS module ti rdwr (7) ... Transport Interface read/write interface STREAMS module tty(7) ... controlling ,terminal interface vt(7) ... virtual terminal

UP-13529 Contents 5

(10)

Tuble of Contents

Contents 6 Up·13529

(11)

Permuted Index

configure a 6000/50 system ... config(1 M) advertise a directory for remote access ... adv{lM) disk access profiler .... m . . . fusage(1 M) disk access profiler ... '" ... sadp(1 M) copy file systems for optimal access time ... dcopy(1 M}

acctcon2(1 M) connect-time accounting acctcon1 (1 M) OM' ... acctcOn(l M) acctprcl(lM) acctprc2(lM) process accounting ... _ ... acdprc(lM) generate disk accounting data by user to ... diskusg{1 M) merge or add total accounting filH ... acctmerg(1M) run dally accounlIng ... _ ... runaect{1 M) connect-time accounting acctcon1(1M) 'cc:lcon2(1M) ... cetcon(1M) accounting .cctcon1(1M) .cctcon2(1M) connect-time ... aecteon(1M) acctwtmp(1M) acctdllk(1M) acctduag(1M) accton(1M) ... acct(1MJ acctdlsk{lM) acctdusg(1M) aceton(1M) acctwtmp(1M) ... aect(1M}

acctdisk(1 M) acctdusg(1M) aceton(1 M) acctwtmp(1 M) ... aect(1 Ml accounting acdprc1 (1 M) acctprc2(1 M) proeess ... acctprel1 M) acctpre1 (1M) acdprc2(1M) process accounting ... acctprc(1 M) acctdlsk(1 M) acctdusg(1 M) aceton(1 M) acctwtmp(1M) ... acel(1 M) SCP actiYa mode interface ... acpa(7}

klU all active ~ ._. __ ... -. ... klllaU(1M) download code to active SCP boatda. _ .. _ ... scploctl(lM)

"t(1M) sa2{1M) sade(1M} system IClMly report package ... _ ... sar(lM) add aymbols to kernel debugger ... mkdbsym(l M) merge or add total accounting files ... acctmerg(' M) devices admlnlltered by System Administration ... sa(7) netwofi( llatener service admlnlJtratlon ... .-... nlsadmin(1 M) Remote Ale Sharing domaln administration ... rfadrnln(1 M) devlc~s administered by System Administration .... _ ... 50(7) menu interface to do system admlnlalratlon ... sysadm(1 M) Remote Terminal service database administration ... tsdbadm(1M) Remote Terminal service limits administration ... tslimit(1 M) administrative control ... uadmln(l M) swap administrative Interface ... swap (1 M) access advertise a directory for remote ... adv(1 M) forced unmount of an advertlaed raaouree ... fumount(1 M) reJect(1 M) allow or prevent LP requests ... accept(1 M) changing nice altar priority of running process by ... reniee(1 MJ ched< file system backup schedule ... ckbupscd(1 MJ recover files from a backup tape ... free!1 M) initl.lization procedures bcheekrc(1M) powertall(1M) system ... brc(lM) install obiect rilas In binary directories ... cpsel{1 M) Interactive block copy ... bcopy(1 M) update the super block ... sync! 1 M) report number of free disk blocka and j..nodes ... df(1M) build apecial file ... mknod(l M) configure devices on the SCSI bus ... scsicn'g(' Ml SCSI busses and peripherals ... scsi(7) create a front-end to the cc command ... genee(lM) alter priority of running process by changing nice ... renice(1M) lastlogln(lM) rnonacct(1M)/ chargefee(lM) ckpacct(1M) dodlsk(1M) ... acctsh(lM) disk check a file system on a removable ... checkfsys(l M) dfsck(lM) checkall(1M) check and repair 61e systems ... fsck(1M) check file system backup schedule ... c::kbupscd(1 M) permissions file check the uucp directories and ... uucheck(l M) systems disck(1M) checkall(,M} check and repair file ... fsck{1 M) grpck(1 M) password/group file checkers ... _ ... pwck(1 M)

(12)

Permuted Index

copy file systems with label checking •••••• _ •• _ ... volcopyl1 M) monacct(1M)1 chargefee(1M) ckpacct(1M) dodlsk(1M) lastlogln(1M) ... acctsh(1M}

STREAMS error logger cleanup program ... strclean(1 M) uucp spool c;llrectory clean-up ... uucleanup(1 M) clear I-noda ... clrl(1 M) clock daemon ... cron(1 M) read/write CMOS RAM ... cram(1M) set up default values In CMOS RAM ... cramsetup(1 M) download l code to active SCP boards ... scploctl(1 M) change root directory for a command ... chroot(1M}

create a front-end to the cc command ... gencc(1M) execute remote command requests ... uuxqt(1 M) Install commands ... Install(1 M) load commands Into the kemel debugger ... mkdbcmd(1 M) environment run commands performed for multi-user ... rc2(1 M) operating system run commands performed to slop the ... rcO(lM) STREAMS ioctl commands ... streamio(7) change the delta commentary of an SCCS delta ... cdc(lM) deSCriptions compare or print out termlnfo ... Infocmp( 1 M) termlnfo complier ... tlc(1 M) configure a 6000/50 system ... conflg(1M) configure devices on the SCSI bus ... scsicnfg(1 M) configure the LP spooling system ... Ipadmin(1 M) acctcon1 (1 M) aectcon2(1 M) connect~tlme accounting ... aectcon(1 M}

control of system console ... cons(lM) construct a file system ... ; ... mkfs(l M) on try to contact remote system with debuggIng ... Uutry(1 M) Ethernet interlace and control ... enet(1) telinit(1 M) process control Initialization ... init(1 M}

control of system console ... cons(1 M) administrative control ... uadmin(1 M) controlling terminal Interface ... tty(7) convert and copy a file ... dd(1 M) Transport Interface cooperating STREAMS mOdule ... ; ... timod(7}

convert and copy a file ... dd{1 M) Interactive block copy ... bcopy(1 M) time copy f11f1 systems for optlmal access ... dcopy(1 M) copy filet systems with label checking ... volcopy{1 M) display disk information. copy In crash dump mes ... diskut1l{1 M) display disk Information, copy in crash dump flies ... diskutil(1 M) read crash dump table ... cdt(l M) command create a front-end to the cc ... genee(1 M) clock daemon ... cron(1M) error-logging daemon ... ,. errdemon(1 M}

terminate the errof41ogging daemon ... errstop(1 M}

Remote File Sharing daemol'l process ... rfudaemon{1 M) STREAMS error logger daemon ... strerr{1 M}

run daily accounting ... runacct(1 M) generate disk accounting data by user 10 ... , ... dlskusg(1M) Remote Terminal service database administration ... tsdbadm(1 M) Kemel Debug Monitor ... kdb(1 M) file system debugger ... , fsdb{1 M) load commands Into the kernel debugger ... , ... rnkdbcmd(1 M) add symbols to kernel debugger ... mkdbsym(1 M) try to contact remote system with debugging on ... Uutry(1 M) set up default values In CMOS RAM ... cramsetup(1M}

output system deflnitlon ... sysdef(1 M)

Index 2 UP-13529

(13)

Pernnded Index

the delta commentarv of an sees delta change ... cdc{lM) change the delta commentary of an

sees

delta ... cdc(1 M) compare or print out terminfo descriptions ... infocmp(l M) determine file system Identifier ... fstyp(1 M) loadable device drivers ... drivers(7) device name ... devnm(1 M) open any minor device on a STREAMS driver ... clone(7) Administration devices administered by System ... sa(7) configure devices on the SCSI bus ... scsicnfg(1 M) repair file systems dfsck(1M) checkall(lM) check and ... fsck(lM) check the uucp directories and permissions file ... uucheck(1 M) install object files In binary directories ... cpset{1M) unlink(1M) link and unlink flies and directories ... IInk(1M) uucp spool directory clean--up m . . . uucleanup{l M}

change root directory for a command ... chroot(1 M) make a loshfound directory for fsck ... mklosl+lound(1 M) advertise a directory for remote access ... adv(1 M) move a directory ... mvdir(1M) terminal type, modes, speed, and line discipline set ... getty(1 M) terminal type. modes, speed, and Une discipline set ... uugetty(1 M) disk access profiler ... fusage(1 M) disk access profiler ... sadp(l M) generate disk accounting dala by user 10 ... diskusg(1 M) report number of free disk blocks and J..nodes ... df(1 M) check a file system on a removable disk ... ; ... checkfsys(1M}

floppy disk (diskette) ... fd(71 uramdlsk(7) RAM disk drivers ... ramdisk{71 disk format and driver ... disk(7) files display disk Information, copy In crash dump ... diskutil(lM) summarize disk usage ... du(lM) floppy disk (diskette) ... fd(1) crash dump files display disk Information, copy in ... diskutil(1 M) display mounted resource Information ... rmntstat(1M) chargefee(lM) ckpacct(1M) dodlsk(1M) Jastlogln(1M} monacct(1MJI ... acctsh(lM) who Is doing what ... whodo(1 M) Remote File Sharing domain administration ... rfadmin{1 M) print Remote File Sharing domain and network names ... dname(l M) download code to active SCP boards ... scpioctl(1 M) open any minor device on a SiREAMS driver ... clone(7) disk format and driver ... disk(7) loadable driver name list maintenance ... nmlmalnt(1 M) pseudo-device driver ... sxt(7) loadable devlce drivers ... drivers(7) load drivers ... drvload(1M) manage loadable drivers ... Iddrv(1 M) uramdisk(7) RAM disk drivers ... ramdisk(7}

disk Information, copy In crash dump files display ... diskutil{1 M) read crash dump table ... cdt{1M}

commands performed for multi-user environment run ... rc2(1 M) stop the Remote File Sharing environment ._ ... rfstop{1 M}

STREAMS error logger cleanup program ... Slrclean(1 M) STREAMS error logger daemon ... strerr(1 M) Interface to STREAMS error logging and event tracing ... log(7) error·logglng daemon ... errdemon(1M) termInate the error-logging daemon ... errstop(1 M) error-logging Interface ... err(7) process a report of logged errors ... errpt(1 M)

UP-13529 Index 3

(14)

Permuted Index

establish mount table ... selmnt(1 M) Ethernet Interface and control ... enet(7) to STREAMS error logging and event tracing Interlace ... log(7) examine system Images ... crash{1M) examine system Images ... kcrash(l M}

execute remote command requests ... uuxqt(1 M) grpck(1 M) password/group file checkers ... pwck(1 M) convert and copy a file ... dd(1 M) update the master file ... masterupd{1M) make an ifile from an object file ... mkifile(1 M) build special file ... mknod(1M}

system list file names and statistics for a file ... H(1 M) the null file ... nulI(7) Identify processes using a file or file structure ... fuser{1M) Remote Rle Sharing daemon process ... rfudaemon{1M}

Remote Rle Sharing domain administration ... rladmin(1 M) print Remote Rle Sharing domaln and network names ... dname{1 M) stop the Remote Rle Sharing environment ... rfstop(' M) change Remote Rle Sharing host password ... rfpasswd{1M) Remote Rle Sharing name server query ... nsquery(1 M) script Remote Rle Sharing notification shell ... rfuadmln(1 M) unadvertise a Remote File Sharing resource ... unadv(1M) start Remote Rle Sharing ... rfstart{1 M) Remote File Sharing user and group mapping ... idload(1 M) Identify processes using a file or file structure ... fuser(1 M}

check file system backup schedule ... ckbupscd(1 M) file system debugger ... fsdb(1M) list file names and statistics for a file system ... ff{1 M) determine file system Identifier ... fstyp(1 M}

construct a file system ... ,. ... mkfs(1 M) check a file system on a removable disk ... checkfsys(1 M) report file system status ... fsstat(1 M) copy file systems for optimal access time ... dcopy(1 M) checkal1{1 M) check and repair file systems dfsck(1 M) ... ., ... fsck{1 M) provide labels for file systems ... labelit{1 M) umountall(1 M) mount. unmount multiple file systems ... mountall{1 M) copy file systems with label checking ... volcopy(1 M) system file transport program for the uucp ... uucico(1 M}

the scheduler for the uucp file transport program ... uusched(1 M) the uucp directories snd permissions file check ... uucheck(1 M}

merge or add total accounting files ... acctmerg(1 M) unlink(1M) link and unlink tiles and directories ... llnk(1M) disk Information, copy in crash dump files display ... diskutil(1 MJ recover files from a backup tape ... frec(1 MJ install Object flies in binary directories ... cpset(1 Ml

introduction to special files ... intro(7) floppy disk (diskette) ... fd(7) resource forced unmount of an advertised ... fumount(1 M) disk format and driver ... disk{7}

report number of free disk blocks and I-nodes ... df(1 M) recover files from a backup tape ... frec{1 M) make an lfile from an object file ... mkiflle(1M) generate path names from I-numbers ... : ... ncheck(1 M) cr~8te a front-end to the cc command ... gencc(1 M) make a lost+found directory for fscl< ... mklost+found{1 M) 10 generate disk accounting data by user ... diskusg{1M) generate path names from !--numbers ... ncheck(1 M)

Index 4 UP·13529

(15)

print user and Remote Fila Sharing user and log in to a new checkers system state change Remote File Shaling

generate disk data by user

dellenn!nl6 file system file structure print IJSSf and

an kmem(7) system memory examine system examine system telinii{iM)

bcheckrc(1M) po¥~ertall(1

display disk COl1lroi system clear report number of free disk blocks and

Pennuted Index

getgrps(1M) Install software ... " •••• ,.. ... . group IDs and names ... . group mapping ... " ... . group •• , ... " ... " .... " ... ..

grpck{lM} password/group file ... """,,,",v/·, U\

I1slt{1 M) shut down system, change ... ShlJtdl)Wri(11IAl hardware Inventory ... ..

host plassword ... .., ... " ... , rfm~!!I.:o:;.wrlI1 10 .. " ... " ... . Idenilfier ... " .•. , . .., . .., ... ., ... ..

Identify processes using B file or ... " ... " .... f .. "''''~f·! Ul

IDs and names ... " ... ", ..

Ifile from an object me "",t.;m".r~lA\

Ima.gEll ... ,,, .... ,, .. ,,, ... , ... ..

Images ... ,,...,,, ... ,, ... , ... ,, ... ,, .... ..

Images ... ., ... ,. .. ..

Information, copy In crn~h dump mes

Initialization ... , ... " ... , ... ,." .... , .. , .. " ... " ... ..

initialization procedures .... , ... " ... " ... ..

io-node H . . . • . . . H . . . ' . . . . '· . . , . . " " " . . . , . . . " . . " ' . . . " . m

i-nodes ... " ... " ... "'" ... ,,"" ... . install commands !",,"~,,"!l11 ~.\

directories instal! files in binary ". ... " .. ,. .. " ... ...

getgrps(l M) Install ~!.'''h,llI'l U\

Ethernet

and avant contromng

menu

generate path names from' hardware STREAMS load commands 1nto the add sYlT'ools to

copy file systems with provide chargefae(1 M} ckpacct(1 M} dodisk(1 M}

Remote Terminal service set tenninal type. modes, speed, and set terminal type. modes, speed. and sat parallel unlink(1M) file system

UP-13529

londable driver name network debugger

Interactive block ... m . . . bcopy{1 Mj Interlace and

Interlace cooperating STREAMS module interlace ... , ... m . . . .

Interface ... " •• m ... " ... " ... " " ... " ' , ... .

Interlace ... m ... " ... ,.. ... ',.. .. ' .. n ... .

Interface ,,,~,,~,,,1'1 ~ill

Interface ... . Interlace to do administration

lnterface to error logging ... .,. .... . Interface .. .., .... "· ... " .. , ... ,. .... ,, ... w . . . . .

Introduction to special mas ... « 0 . . . . , . . . . . .

I~numbers ... ", ... ncheck(1 M) Inventory ... hiov(, M}

lodl commands ... 5trsamio(7}

Kernel Debug Monitor ... " ... kdb(l M) kernel debugger ... .., ... " ... mkdbcmd(1M) kemel debugger ... mkdbsym(1 M) kill aU active processes ... killal!(1 M) kmem(7) system memory Image ... .,. ... ., ... mam{7}

label checldng ... volcopy(1 M}

labels for file systems ... labeHt(1 M}

lastlogln(1M) monacct(1M} nulladm(1M) .. ., ... acctsh(1M) limits administration ... tslimit(1 M) line discipline ... getty(1 M) line discipline ... uugetty(1 M) line printer options ... lpset(1M) link and unlink files and directories ... Hnk(1 M}

list file names and statistics for a ... ff(1M) list maintenance ... nmlmaint(1 M) listener service administration ... nlsadmin{l M) load commands into the kernel ... mkdbcmd(lM}

load drivers ... drvload(1M)

Index 5

(16)

Permuted Index

loadable device drivers __ ... m •••••••••••••••••••••••• drlvers(7) loadable driver name list maintenance ... nmlmalnt(1 M) manage loadable drivers ... lddrv(1M) log In to a new group ... newgrp(1M) process a report of logged errors ... errpt(1M) STREAMS error logger cleanup program ... strclean(1 M) STREAMS error logger daemon ... strerr(1 M) Interface to STREAMS error logging and event tracing ... log(7) make a \ost+found directory for fsck ... mklost+found(1 M) reject(1 M} allow or prevent LP requests ... accept(1 M) configure the LP spoollng system ... Ipadmln(1 M) Ipshut(1M) Ipmove(1M) ... lpsched(1M) Ipshut(1M) \pmove(1M) ... Ipsched(1M) loadable driver name list maintenance ... -. ... nmlmaint(1 M) make a losl+found directory for 'sci< • mklost+found(1M) make an lfile from an object file ... mkifile(1 M) manage loadabte drivers ... Iddrv(1 M) Remote File Sharing user and group mapping ... ldload(1M}

update the master file ... mastarupd(1 M) kmem(7) system memory Image ... mem(7) administration menu interlace to do system .. _ ... _ •••••••••• sysadm(1M) merge or add total accounting flies ... acctmerg(1M) print STREAMS trace messages ... slrace(1M) open any minor device on a STREAMS driver ... clone(7) SCP active mode Interface ... scpa(7) set terminal type, model. speed. and line discipline ... getty(1M) set terminal type, modes. speed, and line discipline ... uugetty{1M) Interface cooperating STREAMS module Transport ... tlmod(7) Ickpacct(1M) dodlsk{1M) lastlogln(1M) monacct{1M) nuUadm(1M) ... acctsh(1M) Kernel Debug Monitor ... kdb(1 M) establish mount table ... setmnt(1 M) umountall(1 M) mount, unmount multiple flle systems ... mountall(1 M) display mounted resource Information ... rmntstat(1 M) retry remote resource mounts ~ ... : ... rrnount(1 M}

move a dlrectol)' ... _ ... _ ... mvdir{1 M) umounta\l(1 M) mount, unmount multiple file systems ... mountall(1 M) run commands performed for multi-user environment ... rc2(1 M) administration network listener service ... nlsadmln(1M) print Remote Rle Sharing domain and network names ... dname(1M) of running process by changing nice alter priority ... renice(1M) Remote Fite Sharing notification shell script ... rfuadmln(1 M) the null nle ... null(7) dodisk(1M) IasUogin(1M) monacct(1M) nulladm(1M} /ckpacct(1M) ... acctsh(1M) make an ifile from an object file ... mkifUe{1 M) Install object flIes In binary directories ... cpset(1 M) driver open any minor device on a STREAMS ... clone(7) operating system profiler ... prf(7) run commands performed to stop the operating system ... rcOp M) copy file systems 'or optimal access time ... dcopy{1 M) set parallel line printer options ... Ipsel(1 M) output system definItion ... sysdef(1 M) sadc(1M) system activity report package sa1(1M) sa2(1M) ... sar(1M) sat parallel line printer options ... Ipset{1 M) parallel printer Interface ... Ip(7) change Remote File Sharing host password ... rfpasswd(1 M) grpck(1M} pss:sword/group file checkeni ... pwck(1M}

generate path names from i-numbers ... ncheck(1 M)

Index 6 UP-13529

(17)

Pernluted Index

environment run commands performed for multi· user ... rc2(1 M) system run commands performed to stop the operatlng ... rcO(l M}

SCSI busses and peripherals ... scsi(7}

check the uucp directories and permiSSions file ... uucheckt1 M) procedures bcheckrc(1 M) powerfail(1 M) system Initialization ... brc(1 M) shutacct(1M) startup(1M)1 prdally(lM) prtacct(1M) runacct(lM) ... prctmp(1M) reject (1 M) allow Dr prevent LP requests ... accept(1 M) prfld( '1 M} prfstat(1 M) prfdc(l M) prtsnap(l M) prfpr(1 M) ... profller(1 M) prfsnap(lM) prfpr(1M} prfld{1M) prfstat(1M) prfdc(1M) ... profiler(1M) prfstat(1 M) prfdc(1 M) prfsnap{l M) prfpr(1 M) prfld(l M) ... profiler(1 M) prfld(lM) prfstat(1M) prfdc(1M) prisnBp(1M} prtpr{1M) ... -. ... profiler(1M) prfpr(1M) prfld(1M) prfstat(1M) prfdc(1M) prtsnap(1M) ... profller(lM) compare or print out termlnfo descrlptlons ... Infocmp(l M) network names print Remote File Sharing domain and ... dname(1 M) print STREAMS trace messages ... strace(1 M) print user and group IDs and names ... id{lM}

parallel printer Interface ... Ip(7) set parallel line printer options ... lpset(' M) changing nice alter priority of running process by ... reniee(1 M) process a report of logged errors ... errpt(1 M) aectpre1 (1 M) acctprc2(1 M) process accounting ... acctprc(1 M) alter priority

0'

running process by changing nice ... renlce(1 M) telinlt(1 M) proceu controllnltlallzatlon ... Init(1 M) Remote File Sharing daemon process ... rfudaemon(1 M) kill all active processes ... klllall{1 M) structure Identify processes using a file or file ... fuser(1 M) system profller ... 6000/50 disk access profller ... fusage(1 M) operatIng syslem profller ... prJ(7) disk access profiler ... sadp(1 M) provide labels for file systems ... labellt(l M) startup(1 M} tumsect(1 M) prdally(1 M) prtacat(1 M) runaect{1 M} shutaect(' M) ... prc:tmp{' M) pseudo-device driver ... sXl(7) Remote File Sharing name sel lief query ... nsquery(1 M) read/write CMOS RAM ... cram(1 M) set up default values In CMOS RAM ... eramsetup(1 M) uramdisk(7) RAM disk drivers ... ramdisk(7) read crash dump table ... cdt(l M) read/wrlte CMOS RAM ... cram{1 M) reboot the system ... rebool(1 M) recover files from a backup tape ... frec(lM) requests reject(1M) allow or prevent LP ... accept(lM) advertise a dIrectory for remote access ... adv(1 M) execute remote command requests ... m . . . uuxqt{1M) Remote File Sharing daemon process .. rfudaemon(1 M) admInistration Remote Ale Sharing domain ... rtadmin(1M) network names print Remote File Sharing domain and ... dname(1 M) stop the Remote Ale Sharing environment ... rlstop(1M) change Remote Rle Sharfng host password ... rfpasswd(1 M}

Remote File Sharfng name seNer query .... nsquery(1 M) shell script Remote Rle Sharing notification ... rfuadmin(1 M) unadvertlse. Remote File Sharing resource ... unadv(l M) start Remote File Sharing ... rfslart(l M) mapping Remote File Sharing user and group ... Idload(1 M) retry remote resource mounts ... rmount(' M) try to contact remote system with debugging on ... Uutry(, M) administration Remote Terminal service database ... tsdbadm(1M)

UP-13529 Index 7

(18)

Permuted Index

administration Remote Terminal service limits ... tslimit(1 M}

check a file system on a removable disk ... checkfsys(1M) dfsck(1 M) checkaU(1 M) check and repair file systems ... fsck(l M) report file system status ... fsstat(1M) I-nodes report number of free disk blocks and ... df(lM}

process a report of logged errors ... errpt(1 M) sa2(1M} sadc(1M) system activity report package sa1(1M) ... sar{lM}

reject(l M) allow or prevent LP requests ... accept{1 M}

execute remote command requests ... uuxqt(tM) forced unmount of an advertised resource ... fumounl(1 M) display mounted resource Information ... rmo15tat(1 M) retry remote resource mounts ... rmount(lM) unadvertlse a Remote File Sharing resource ... unadv(1 M) retry remote resource mounts ... rmount(1 M) change root directory for a command ... chroot(1 M) rumauntall(1M) ... rmountall{1M) multj·user environment run commands performed for ... rc2(1 M) operating system run commands performed to stop the ... roO(1 M) run dally accounting ... runacct(lM}

tumacct{1 M) prdaily(l M) prtacct(1 M) runacct(1 M) shutacct(1 M) startup(1 M) ... prctmp(1 M) alter priority of running process by changing nice ... renice(1 M) activity report package sa1{1M) sa2(1M) sadc(1M) system ... sar(1M) report package sa1(1M) sa2(1M) sadc(1M) system activity ... sBr(1M}

package sa1(1 M) sa2(1M) sadc(1M) system activity report ... sar(lM) change the delta commentary of an SCCS delta ... cdc(1M) check file system backup schedule ... ckbupscd{1M) program the scheduler for the uucp file transport ." ••...•• uusched{1 M}

SCP active mode Interface ... sepa(7) download code 10 active SCP boards ... scpioctl(1 M) File Sharing notification shell sCript Remote ... rfuadmin(1 M) configure devices on the SCSI bus ... scslcnfg(1 M) SCSI busses and peripherals ... scsi(7) Remote File Sharing name selVer query ... nsquery(1 M}

Remote Ale Sharing daemon process ... rfudaemon(1 M) Remote File Sharing domain administration ... rfadmln(1 M) print Remote File Sharing domain and network names ... dname(lM) stop the Remote File Sharing environment ... rlstop(l M) change Remote Ale Sharing host password ... rfpasswd(1 M) Remote File Sharing name server query ... nsquery(1M}

Remote File Sharing notification shell script ... rfuadmin{1 M}

unadvertlse a Remota File Sharing resource ... unadv{' M) start Remote File Sharing ... rlstart(lM}

Remote File Sharing user and group mapping ... idload{1 M}

Remote File Sharing notification shell script ... rfuadmin{1 M) halt(1 M) shut down system, change system state shutdown(1 M) prdaiiy(1M) prtacct(1M) runacct(1M) shutacct{1M) startup(1M) turnacct(1M) ... prctmp(1M) getgrps(1M) Install software ... ctinstaU(1M}

set terminal type, modes. speed, and line diScipline ... getty(1 M) set terminal type. modes, speed. and line discipline ... uugetty(1M}

uucp spool directory clean-up ... uucleanup(1 M) configure the LP spooling system ... Ipadmin(1 M}

start Remote File Sharing ... rfstart(1 M) prtacct(1M) runacct{1M) shutacct{1M) startup(1M} tumacct(1M) prdaUy{1M) ... prctmp{1M) list file names and statistics for a file system ... ff(1 M) report fiie system status ... tsstat(1 M}

run commands performed to stop the operating system ... rcO(1M) environment stop the Remote File Sharing ... rfstop(1 M)

Index 8 UP~ 13529

(19)

Pernllited Index

open any minor device on a STREAMS driver ... clone(7) STREAMS orror logger cleanup program ••• strclean(t M) STREAMS error logger daemon ... strerr{l M) tracing Interface to STREAMS error logging and event ... Jog(7) STREAMS roctl commands ... streamio(7) Transport Interface cooperating STREAMS module ... timod(7) print STREAMS trace messages ... strace(1 M) processes using a file or file structure identify ... fuser(1 M) summarize disk usage ... du(' M) update the super ~ock ... sync(1 M) become super-user or another user ... su(1 M) swap administrative interlace ... swap(1 M) add symbols ta keme' debugger ... mkdbsym(1M) haft(1M) shut down system, change system stale ... shutdown(1M) read crash dump table ... cdt(1M) establish mount table ... salmnl(1 M) recover files from a backup tape ... frec:(l M}

initiallzaUon telinlt(1 M) process control ... init{1 M) general terminal interface ... lermio(7) controlling terminal Interlace ... tty(7) administration Remote Terminal service database ... tsdbadm(1 M) administration Remote Terminal service limits ... tslimlt(lM) discipline set terminal type. modes, speed, and line ... gelty(1 M) discipline set terminal type, modes, speed, and Ilne ... uugetty(1 M) virtual terminal ... V\(7) terminate the error-logging daemon ... errstop(1 M) termlnfo complier ... tlc(1 M) compare or print out termlnfo descriptions ... infocmp(1 M)

copy file systems for optimal access time ... dcopy{1M) merge or add total accounting files ... acctmerg(1 M) print STREAMS trace messages ... strace(l M) to STREAMS error logging and event traclng Interface ... log(7) STREAMS module Transport Interface cooperating ... timod(7) file transport program for the uucp system .... : .... uuclco(1M) the scheduler for the uucp Ille transport program ... uusched(1 M) debugging on tJy to contact remote system with ... Uulry(l M) runacd(1 M) shutacct(1 M) startup (1 M) tumac:ct(1 M) prdBlty(1 M) prtacct(l M) ... prctmp(1 M) discipline sel terminal type, modes, speed, and line ... getty(1 M) diSCipline set terminal type, modes, speed, and fine ... uugelty(1M) umount{1M) ... mount(1M) file systems umountalJ(1 M) mount, un mount multiple ... mountall!1 M) resource unadvertlse a Remote File Sharing ... unadv(1 M) unllnk{1M) l1,.k and unlink flle. and directories ... lInk(lM) directOries unllnk(1 M) link and unlink files and ... link(l M) umountaJl(lM) mount, unmount multiple file systems ... mountall{1M) forced unmount of an advertised resource ... Jurnount(1 M) update the master file ... masterupd(1M) update the super block ... sync(lM) uramdlsk(7) RAM disk drivers ... ramdisk(7) summarize disk usage ... du(1M}

print user and group IDs and names ... id(l M) Remote File Sharing user and group mapping ... idload(1 M) generate disk accounUng data by user 10 ... diskusg(1M) become super·user or another user ... su(1M) identify processes using a file or file structure ... fuser(1 M) check the uucp directories and permissions fife ... uuchack{1M) the scheduler for the uucp flle transport program ... , uusched{1M)

UP-13529 Index 9

(20)

Permuted Index

uucp spool directory clean-up •••.•••••••••.••• uucleanup(1 M) file transport program for the uucp system ... uuclco(1M) set up default values In CMOS RAM ... cramsetup(1 M) vlrtuaJ terminal ... vt(7) who Is doing what ... __ ... whodo(1 M) who Is doing what ... whodo(1M}

Index 10 UP-13529

(21)

INTR()( 1M)

NAME

intro· introduction to maintenance commands and application programs

DESCRIPTION

This section describes, in alphabetical order, commands that are used chiefly for system maintenance and administration purposes. The commands in this section should be used along with those listed in Section 1 of the User's Reference Manual and Sections 1, 21 3, 4, and 5 of the Programmer's Reference Manual. References of the form name(l), (2). (3).

(4) and (5) refer to entries in the above manuals. References of the form name (7) refer to entries in this manual. Refer- ences of the form name{#B) refer to entries in the U 6000 Series NET-BOOO Operations, Administration, and Programming Reference Manua/.

COMMAND SYNTAX

Unless otherwise noted, commands described in this section accept options and other arguments according to the follow- ing syntax:

name [ option (8) ] [ cmdarg (s) ] where:

name is the name of an executable file.

option • noarg/etter (s) or,

• arg/etter < > optarg

where < > is optional white space.

noargletter is a single letter representing an option without an argument.

argletter is a single letter representing an option requiring an argument.

optarg is an argument (character string) satisfying the preceding arg/etter.

cmdarg is a path name (or other command argument) not beginning with - or, - by itself indicating the standard input.

SEE ALSO

getopt(1) in the User's Reference Manual.

getopt(3C) in the Programmer's Reference Manual.

UP-13529 Page 1

(22)

INTR()(IM)

DIAGNOSTICS

Upon termination, each command returns two bytes of status, one supplied by the system and giving the cause for termina- tion, and (in the case of unormal" termination) one supplied by the program [see wait(2) and exit (2)]. The former byte is

a

for normal termination; the latter is customarily

a

for success- ful execution and non-zero to indicate troubles such as errone- ous parameters, bad or inaccessible data, or other inability· to cope with the task at hand. It is called variously "exit code''.

"exit status'\ or Ureturn code", and is described only where special conventions are involved.

BUGS

Regrettably, not all commands adhere to the aforementioned syntax.

Page 2 UP·13529

(23)

ACCEPT(lM)

NAME

accept. reject - allow or prevent LP requests SYNOPSIS

/usr/lib/accept destinations

/usr/lib/reject [ ... r [ reason

J ]

destinations DESCRIPTION

Accept allows Ip(1} to accept requests for the named destina- tions. A destination can be either a line printer (LP) or a class of printers. Use Ipstat(l) to find the status of destinations.

Reject prevents Jp (1) from accepting requests for the named destinations. A destination

can

be either a printer or a class of printers. Use Ipstat(l) to find the status of destinations.

The following, option is useful with reject.

-r[reason'] Associates a reason with preventing Ip from accepting requests. This reason applies to all printers mentioned up to the next .. r option.

Reason is reported by /p when users direct requests to the named destinations and by Ipstat{1}. If the .. r option is not present or the .. r option is given without a reason. then a default reason will be used.

ALES

lusr/spool/lp!*

SeE ALSO

Ipadmin(1M).lpsched(1M).

enable(1). Ip(1), Ipstat(l) in the User's Reference Manual.

UP .. 13529 Page 1

(24)

ACCEPT(lM)

[This page left blank.]

Page 2 UP-13529

(25)

ACCT ( 1l\t1)

NAME

acctdisk, acctdusg, accton. acctwtmp .. overview of accounting and miscellaneous accounting commands

SYNOPSIS

lusr /lib/acct/acctdlsk

/usr/llb/acct/acctdusg [ -u file] [ -p file]

/usr/lib/acct/accton [ file ] /usr/lib/acct/acctwtmp ureason"

DESCRIPTION

Accounting software is structured as a set of tools (consisting of both C programs and shell procedures) that can be used to build accounting systems. Acctsh (1 M) describes the set of shell procedures built on top of the C programs.

Connect time accounting is handled by various programs that write records into /etc/utmp/. as described in utmp (4). The programs described in aceteon (1 M) convert this file into ses- sion and charging records, which are then summarized by acctmerg (1 M).

Process accounting is performed by the System V system ker- nel. Upon termination of a process, one record per process is written to a file (normally /usr/adm/pacct). The programs in acctprc(1 M) summarize this data for charging purposes;

acctcms (1 M) is used to summarize command usage. Current process data may be examined using acctcom (1).

Process accounting and connect time accounting [or any accounting records in the format described in acct (4)] can be merged and summarized into total accounting records by acctmerg [see tacct format in acct(4)]. Prtacct [see acctsh (1 M)] is used to format any or all accounting records.

Acctdisk reads lines that contain user ID, login name, and number of disk blocks and converts them to total accounting records that can be merged with other accounting records.

Acctdusg reads its standard input (usually from find I -print) and computes disk resource consumption (including indirect blocks) by login. If -u is given, records consisting of those file names for which acctdusg charges no one are placed in file (a potential source for finding users trying to avoid disk charges).

If -p is given, file is the name of the password file. This option

UP .. 13529 Page 1

(26)

ACCT ( 11\'1)

is not needed if the password file is

letc/passwd.

(See diskusg (1 M) for more details.)

Aceton alone turns process accounting off. If file is given, it must be the name of an existing file, to which the kernel appends process accounting records [see acct(2) and acct(4)].

Acctwtmp writes a utmp (4) record to its standard output. The record contains the current time and a string of characters that describe the reason. A record type of ACCOUNTING is assigned [see utmp(4)]. Reason must be a string of 11 or fewer characters, numbers, $, or spaces. For example, the following are suggestions for use in reboot and shutdown pro- cedures, respectively:

acctwtlJ1) .. uname" » letc/wtn1>

acctwtlJ1) ttfi 1e save" » letc/wtlJl) FILES

/etc/passwd /usr /lib/acct

used for login name to user 10 conversions holds all accounting commands listed in section 1 of this manual

lusr fadm/pacct current process accounting file /etc/wtmp login/logoff history file

SEE ALSO

acctcms(1 M). acctcon(1 M), acctmerg(1 M), acctprc(1 M).

acctsh(1M), diskusg(1M). runacct(1M).

acct(2) , acct(4L utmp(4) in the Programmer's Reference Manual.

acctcom{1} in the User's Reference Manual.

Page 2

up·

13529

(27)

ACCTCMS ( 11\'1)

NAME

acctcms .. command summary from per-process accounting records

SYNOPSIS

lusr/lib/acct/acctcms [ options] files DESCRIPTION

Acctcms reads one or more files, normally in the form described in

acct

(4). It adds all records for processes that executed identically-named commands, sorts them, and writes them to the standard output, normally using an internal sum- mary format. The options are:

-a

Print output in ASCII rather than in the internal summary format. The output includes command name, number of times executed, total keore-minutes, total CPU minutes, total real minutes, mean size (in K), mean CPU minutes per invocation, "hog factor" I characters transferred, and blocks read and written, as in acctcom(1). Output is nor- mally sorted by total kcore-minutes.

-c Sort by total CPU time, rather than total kcore-minutes.

-J

Combine all commands invoked only once under u***other",

-n Sort by number of command invocations.

-$ Any file names encountered hereafter are already in inter- nal summary format,

-t

Process all records as total accounting records. The default internal summary format splits each field into prime and non-prime time parts. This option combines the prime and non .. prime time parts into a single field that is the total of both, and provides upward compatibility with old style acctcms internal summary format records.

The following options may be used only with the -a option.

-p Output a prime-time-only command summary.

-0 Output a non-prime (offshift) time only command sum- mary.

When -p and -0 are used together, a combination prime and non-prime time report is produced. All the output summaries will be total usage except number of times executed, CPU

UP-13529 Page 1

(28)

ACCTCMS(IM)

minutes, and real minutes, which will be split into prime and non-prime.

A typical sequence for performing daily command accounting and for maintaining a running total is:

acctcms f i 1 e ••• >today cp total previoustotal

acctcms -s today previoustotal >total acctcms -8 -s today

SEE ALSO

acct(1M), acctcon(1M). acctmerg(1M), acctprc(1M), acctsh(1 M), runacct(l M).

acct(2) , acct(4}, utmp(4} in the Programmer's Reference Manual.

acctcom (1), in the User's Reference Manual.

BUGS

Unpredictable output results if -t is used on new style internal summary format files, or if it is not used with old style internal summary format files.

Page 2 UP-13529

(29)

ACCTC()N(IM)

NAME

acctcon1, acctcon2 .. connect-time accounting SYNOPSIS

/usr/lib/acct/acctcon1 [ options]

lusr /lib/acct/acctcon2 DESCRIPTION

Acctcon 1 converts a sequence of login/logoff records read from its standard input to a sequence of records. one per login session. Its input should normally be redirected from letc/wtmp. Its output is ASCII, giving device, user ID, login name. prime connect time (seconds), non-prime connect time (seconds), session starting time (numeric), and starting date and time. The options are:

-p Print input only, showing line name, login name, and time (in both numeric and date/time formats).

-t

Acctcon 1 maintains a list of lines on which users are logged in. When it reaches the end of its input, it emits a session record for each line that still appears to be active. It normally assumes that its input is a current file, so that it uses the current time as the end·

ing time for each session still in progress. The -t flag causes it to use, instead, the last time found in its input, thus assuring reasonable and repeatable numbers for non-current files.

·1 file File is created to contain a summary of line usage showing line name, number 01 minutes used. percen- tage of total elapsed time used, number of sessions charged, number of 109ins, and number of 10golfs.

This file helps track line usage, identify bad lines, and find software and hardware oddities. Hang-up, termi- nation of login(l) and termination of the login shell each generate logoff records, so that the number of logoffs is often three to four times the number of ses·

sions. See

init

(1 M) and

utmp

(4).

-0 file File is filled with an overall record for the accounting period. giving starting time. ending time. number of reboots, and number of date changes.

UP-13529. Page 1

(30)

ACCTC()N

(1M)

Acctcon2 expects as input a sequence of login session records and converts them into total accounting records [see tacct format in acct(4)].

EXAMPLES

These commands are typically used as shown below. The file ctmp is created only for the use of acctprc(1M) 'commands:

aeeteon' -t ·1 lineuse -0 reboots <wtmp : sort +In +2 >ctmp acctcon2 <etmp : acctmerg >ctacct

FILES

letc/wtmp SEE ALSO

acct(1M). acctcms(1M). acctcom(1), acctmerg(1M).

acctprc(1 M), acctsh(1 M), init(1 M), login(1), runacct(1 M).

acct(2) , acct(4) I utmp(4) in the Programmer's Reference Manual.

BUGS

The line usage report is confused by date changes.

Page 2 UP-13529

Références

Outline

Documents relatifs

Votre pèse-personne Beurer, modèle GS 203, sin las pilas, est garanti contre tout défaut de pièces et de main-d’œuvre pour toute la durée de vie du produit dans des

Printing with the Word Processor can be direct to a printer attached to your workstation or spooled to a printer shared by one or more workstations in a

 Après avoir arrêté le moteur, toujours presser la gâchette de la poignée à gâchette afin de libérer la pression retenue dans le tuyau haute pression.. Le

Before issuing a seek, read, or write machine instruction, the program usually must initialize the diskette control fields and data fields. These fields, which can

Appuyez sur le bouton ECONOMY (ÉCONOMIES) pendant plus de 2 secondes pour indiquer si la température de la pièce doit être détectée sur l’unité d’intérieur (capteur distant)

(C) Volume switch Interrupteur de volume Interruptor de volumen (D) Fastening accept indicator Témoin d'acceptation de fixation Indicador de aceptación de sujeción!. (E) Antenna

Cette garantie ne couvre pas les défaillances des lampes découlant d’un accident, d’un mauvais usage, d’un usage abusif, de négligence, de modification ou d’une mauvaise

La responsabilité maximale de Beurer sous cette garantie est limitée au prix d’achat payé par le client pour le produit couvert par la garantie, tel que confirmé par la