818
AIX 5L 5.2 , 3 ,i-m SA30-0390-06

AIX 5L 5 - h-polaris.tistory.comh-polaris.tistory.com/attachment/fk060000000007.pdf · AIX 5L Version 5.2 Network Information Services (NIS and NIS+) Guide Converters Overview. AIX

  • Upload
    dangbao

  • View
    223

  • Download
    0

Embed Size (px)

Citation preview

  • AIX 5L 5.2

    , 3 , i - m

    SA30-0390-06

  • AIX 5L 5.2

    , 3 , i - m

    SA30-0390-06

  • !

    , 777 .

    7 (2003 10)

    , AIX 5L 5.2 .

    IBM . .

    135-270

    467-12,

    ..

    , [email protected] .

    .

    Copyright International Business Machines Corporation 1997, 2003. All rights reserved.

  • . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi

    ISO 9000 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv

    UNIX98 32 64 . . . . . . . . . . . . . . . . . . . . . . . . . xiv

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv

    () . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

    ibm3812 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

    ibm3816 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

    ibm5585H-T . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

    ibm5587G . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

    iconv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

    id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

    ifconfig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

    ike . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

    ikedb . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23

    imake . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25

    imapd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28

    impfilt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29

    importvg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30

    imptun . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33

    inc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34

    indent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36

    indxbib . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40

    inetd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41

    infocmp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44

    infocenter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47

    install . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48

    install_all_updates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50

    install_assist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52

    install_mh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54

    install_wizard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55

    installbsd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55

    installp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56

    installms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68

    instfix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71

    inucp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73

    inudocm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75

    inulag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76

    inurecv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78

    inurest . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79

    Copyright IBM Corp. 1997, 2003 iii

  • inurid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81

    inusave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82

    inutoc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85

    inuumsg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86

    invscout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87

    invscoutd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90

    ioo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96

    iostat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107

    ipcrm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112

    ipcs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113

    ipfilter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116

    ipreport . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117

    ipsec_convert . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118

    ipsecstat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118

    ipsectrcbuf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119

    iptrace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120

    isC2host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121

    isCChost . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123

    istat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124

    jobs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126

    join . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128

    joinvg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132

    kdb . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132

    kdestroy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139

    keyadd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140

    keycomp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142

    keydelete . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144

    keyenvoy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146

    keylist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146

    keylogin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148

    keylogout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149

    keypasswd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150

    keyserv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151

    kill . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153

    killall . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155

    kinit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156

    klist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158

    kmodctrl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160

    kpasswd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161

    krlogind . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162

    krshd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164

    ksh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165

    kvno . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168

    last . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169

    lastcomm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171

    lastlogin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172

    iv , 3

  • lb_admin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173

    lb_find . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176

    lbxproxy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178

    ld . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180

    ldd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199

    ldedit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200

    learn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201

    leave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203

    lecstat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203

    lex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206

    libxrx . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213

    line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215

    link . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216

    lint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217

    listdgrp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222

    listvgbackup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223

    listX11input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225

    llbd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226

    ln . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227

    locale . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230

    localedef . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232

    lock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234

    lockd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235

    locktrace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237

    elogevent, logevent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238

    logform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240

    logger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242

    login . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243

    logins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246

    logname . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249

    logout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250

    look . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251

    lookbib . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252

    lorder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253

    lp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254

    lp.cat, lp.set, lp.tell . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261

    lpadmin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263

    lpc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271

    lpd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273

    lpfilter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275

    lpforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279

    lpmove . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284

    lppchk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285

    lppmgr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287

    lpq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289

    lpr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293

    v

  • lprm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298

    lpsched . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301

    lpstat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302

    lpsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307

    lptest . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309

    lpusers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309

    ls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 311

    ls-secldapclntd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 316

    lsactdef . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317

    lsallq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321

    lsallqdev . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323

    lsattr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324

    lsaudrec . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 329

    lsauthent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333

    lsC2admin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 334

    lsCCadmin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335

    lscfg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335

    lsclass . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 338

    lscomg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340

    lscondition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343

    lscondresp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 348

    lsconn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 353

    lscons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355

    lsdev . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356

    lsdisp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 364

    lsfilt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 365

    lsfont . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366

    lsfs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 367

    lsgroup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 368

    lsitab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 370

    lskbd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 371

    lslicense . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 372

    lslpp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373

    lslv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 377

    lsmaster . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 381

    lsmcode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 382

    lsmksysb . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 384

    lsnamsv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 386

    lsnfsexp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 387

    lsnfsmnt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388

    lsnim . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 389

    lsnlspath . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 393

    lsparent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 393

    lspath . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 396

    lsprtsv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 401

    lsps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 402

    vi , 3

  • lspv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 404

    lsque . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407

    lsquedev . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 409

    lsresource . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 410

    lsresponse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 413

    lsrole . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 418

    lsrpdomain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 420

    lsrpnode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423

    lsrset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 426

    lsrsrc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 427

    lsrsrcdef . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 433

    lssavevg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 439

    lssec . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 441

    lssensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 444

    lsslot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 446

    lssrc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 448

    lstun . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 451

    lsuser . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 451

    lsvfs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 454

    lsvg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 455

    lsvirprt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 459

    lsvmode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 462

    lsvsd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 463

    lswlmconf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 467

    lvmstat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 471

    m4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 474

    mach . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 477

    machstat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 478

    macref . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 478

    mail, Mail mailx . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 480

    mailq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 493

    mailstats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 495

    make . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 496

    makedbm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 503

    makedepend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 505

    makedev . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 507

    makekey . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 508

    makemap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 509

    man . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 510

    managefonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 514

    mant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 515

    mark . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 517

    mesg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 520

    mgmtsvr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 522

    mhl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 523

    mhmail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 525

    vii

  • mhpath . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 527

    migratelp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 528

    migratepv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 529

    mirrord . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 531

    mirrorvg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 533

    mk_niscachemgr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 536

    mk_nisd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 537

    mk_nispasswdd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 539

    mkboot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 541

    mkC2admin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 543

    mkcatdefs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 544

    mkCCadmin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 546

    mkcd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 547

    mkcfsmnt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 551

    mkclass . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 553

    mkclient . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 555

    mkcomg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 556

    mkcondition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 560

    mkcondresp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 565

    mkdev . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 568

    mkdir . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 570

    mkdirhier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 572

    mkfifo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 573

    mkfilt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 574

    mkfont . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 575

    mkfontdir . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 576

    mkfs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 577

    mkgroup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 580

    mkhosts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 583

    mkitab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 584

    mkinstallp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 586

    mkkeyserv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 588

    mkkrb5clnt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 589

    mkkrb5srv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 591

    mklost+found . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 593

    mklv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 594

    mklvcopy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 599

    mkmaster . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 602

    mknamsv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 603

    mknetid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 605

    mknfs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 606

    mknfsexp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 607

    mknfsmnt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 609

    mknod . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 612

    mknotify . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613

    mkpasswd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 614

    viii , 3

  • mkpath . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 616

    mkproto . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 618

    mkprtldap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 623

    mkprtsv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 627

    mkps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 630

    mkqos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 632

    mkque . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 633

    mkquedev . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 634

    mkramdisk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 636

    mkresponse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 638

    mkrole . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 644

    mkrpdomain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 645

    mkrset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 648

    mkrsrc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 649

    mkseckrb5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 653

    mksecldap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 654

    mksecpki . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 660

    mksensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 662

    mkserver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 664

    mkslave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 666

    mkssys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 667

    mkstr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 670

    mksysb . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 672

    mkszfile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 675

    mktcpip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 676

    mktun . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 678

    mkuser . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 679

    mkuser.sys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 682

    mkvg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 682

    mkvgdata . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 686

    mkvirprt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 687

    mm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 690

    mmt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 692

    mmtu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 694

    mobip6ctrl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 695

    mobip6reqd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 697

    monacct . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 698

    mon-cxma . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 699

    monitord . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 701

    moo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 701

    more . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 702

    mosy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 707

    mount . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 709

    mountd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 717

    mpcfg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 719

    mpcstat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 721

    ix

  • mrouted . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 723

    msgchk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 728

    msh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 729

    mt (BSD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 731

    mtrace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 732

    mv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 734

    mvdir . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 737

    mvfilt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 738

    mvt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 739

    mwm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 740

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 777

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 779

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 781

    x , 3

  • AIX 5L 5.2 3 ,

    . , , ,

    , .

    6 .

    AIX 5L 5.2 5200-01 .

    AIX 5.2 5200-01 .

    .

    .

    . , ( )

    .

    .

    . .

    .

    , .

    . .

    .

    SMIT( )

    .

    .

    , , , , ,

    . , . . , ,

    ,

    .

    Copyright IBM Corp. 1997, 2003 xi

  • .

    ( )

    ([ ]), ({ }) (|)

    . unget .

    unget [ -r SID ] [ -s ] [ -n ] File ...

    .

    v . , .

    v . Files Directories .

    v .v .v .v . [ a | b ] a b

    a, b . { a | b } a b

    .

    v ( ... ) .v ( - ) .

    ( ) , lslpp -w .

    , installp .

    lslpp -w /usr/sbin/installp

    .

    xii , 3

  • File Fileset Type-----------------------------------------------------------------/usr/sbin/installp bos.rte.install File

    installp , .

    lslpp -w "*installp*"

    .

    File Fileset Type-----------------------------------------------------------------/usr/sbin/installp bos.rte.install File/usr/clvm/sbin/linstallpv prpq.clvm File/usr/lpp/bos.sysmgt/nim/methods/c_installp

    bos.sysmgt.nim.client File

    ,

    . .

    , & .

    Command&

    ,

    .

    . cron

    . , at batch

    .

    . . $

    .

    , ls Enter .

    $ ls

    . ,

    . .

    .

    Command Flag(s) Parameter

    . . ,

    ls -l(long) ,

    . ls -l .

    xiii

  • $ ls -l

    .

    , . , /usr/bin .

    $ ls -l /usr/bin

    , .

    v .v -( ) .v ;() , .v \() . . .

    $ cat /usr/ust/mydir/mydata > \/usr/usts/yourdir/yourdata

    . (: telnet )

    , .

    . , .

    (: Bourne, C Korn)

    . ,

    .

    ,

    . , (Ctrl-C Alt-Pause) .

    , .

    ISO 9000ISO 9000 .

    UNIX98 32 64 4.3 UNIX Open Group UNIX98

    . 4.3

    .

    . ,

    .

    UNIX98 Go Solo 2: The Authorized

    Guide to Version 2 of the Single UNIX Specification CD-ROM Open Groups

    UNIX98 .

    xiv , 3

  • .

    v AIX 5L 5.2 , 1 v AIX 5L 5.2 , 2 v AIX 5L 5.2 , 3 v AIX 5L 5.2 , 4 v AIX 5L 5.2 , 5 v AIX 5L 5.2 , 6 v AIX 5L Version 5.2 Files Referencev AIX 5L Version 5.2 Glossaryv AIX 5L Version 5.2 Guide to Printers and Printingv AIX 5L 5.2 v AIX 5L 5.2 AIX v AIX 5L Version 5.2 Network Information Services (NIS and NIS+) Guidev AIX 5L 5.2 : v AIX 5L 5.2 v AIX 5L Version 5.2 Performance Tools Guide and Referencev AIX 5L 5.2 v AIX 5L Version 5.2 System Management Concepts: Operating System and Devicesv AIX 5L Version 5.2 System Management Guide: Communications and Networksv AIX 5L Version 5.2 System Management Guide: Operating System and Devicesv AIX 5L 5.2 : v AIX 5L 5.2 : v AIX 5L Version 5.2 Technical Reference: Base Operating System and Extensions Volume 1v AIX 5L Version 5.2 Technical Reference: Base Operating System and Extensions Volume 2v AIX 5L Version 5.2 Technical Reference: Communications Volume 1v AIX 5L Version 5.2 Technical Reference: Communications Volume 2v AIX 5L Version 5.2 Technical Reference: Kernel and Subsystems Volume 1v AIX 5L Version 5.2 Technical Reference: Kernel and Subsystems Volume 2v AIX 5L 5.2 v Performance Toolbox Version 2 and 3 for AIX: Guide and Reference

    xv

  • xvi , 3

  • ()

    ibm3812

    IBM 3812 2 troff .

    ibm3812 [ -altpaper] [ -landscape] [ -quietly] [ -FDirectory] [-i] [File...]

    ibm3812 roff .

    : .

    , ibm3812 .

    , .

    ibm3812 2 .

    .

    , \(ib( ) .

    "\001\125\xe2\xff\xe8\xe3%\x00\x16\001\074\xe3\xff\xea"

    PMP(Page Map Primitive) ,

    001 . 1 ,

    . %( ) 0 ,

    . % , %% %

    . 1 % , 1 %

    .

    :

    1. ibm3812 /usr/lib/font/devibm3812 .out

    . , .

    2. /usr/lib/font/devibm3812/fonts

    . , DESC

    .

    . .

    Copyright IBM Corp. 1997, 2003 1

  • v v v v

    -altpaper . ibm3812

    .-landscape .

    90 . , ibm3812 .-quietly .-FDirectory . devibm3812. /usr/lib/font

    .-i , PMP.init .

    ibm3812 troff .

    troff file|ibm3812|qprt-dp

    /usr/lib/font/devibm3812/*.out ibm3812 ./usr/lib/font/devibm3812/fonts ibm3812 .

    ibm3816 , troff

    troff troff .

    ibm3816

    IBM 3816 troff .

    ibm3816 [ -altpaper] [ -landscape] [ -quietly] [ -FDirectory] [-i] [File...]

    ibm3816 troff .

    : .

    2 , 3

  • , ibm3816 .

    , .

    ibm3816 2 .

    .

    , \(ib( ) .

    "\001\125\xe2\xff\xe8\xe3%\x00\x16\001\074\xe3\xff\xea"

    PMP(Page Map Primitive) ,

    001 . ,

    . %( ) 0 ,

    . % , % %%

    . % , %

    .

    :

    1. ibm3816 /usr/lib/font/devibm3816 .out

    . , .

    2. /usr/lib/font/devibm3816/fonts

    . , DESC

    .

    . .

    v v v v

    -altpaper . , ibm3816

    .-landscape .

    90 . ibm3816 .-quietly .-FDirectory . devibm3816. /usr/lib/font

    .-i , PMP.init .

    () 3

  • ibm3816 troff .

    troff file|ibm3816|qprt-dp

    /usr/lib/font/devibm3816/*.out ibm3816 ./usr/lib/font/devibm3816/fonts ibm3816 .

    ibm3812 , troff

    troff troff .

    ibm5585H-T

    IBM 5585H-T troff .

    ibm5585H-T [ -FDirectory ] [ File ]

    ibm5585H-T IBM 5585H-T troff .

    .

    ibm5585H-T File . ,

    ibm5585H-T .

    ibm5585H-T /usr/lib/font/devibm5585H-T .out

    . ibm5585H-T ,

    .

    -FDirectory . , ibm5585H-T /usr/lib/font/devibm5585H-T

    .

    IBM 5585H-T reports , .

    troff reports |ibm5585H-T | qprt -dp

    4 , 3

  • ibm5585H-T troff , .

    /usr/lib/font/devibm5585H-T/*.out .

    troff

    troff

    ibm5587G

    (32x32/24x24) IBM 5587-G01, 5584-H02, 5585-H01, 5587-H01 5589-H01

    troff . .

    ibm5587G [-FDirectory] [-quietly] [File ...]

    ibm5587G 5587-G01, 5584-H02, 5585-H01, 5587-H01 5589-H01 troff

    .

    , ibm5587G . ,

    .

    : ibm5587G (32x32/24x24) .

    , .

    ibm5587G /usr/lib/font/devibm5587G .out

    . ,

    .

    -FDirectory . , ibm5587G /usr/lib/font/devibm5587G

    .-quietly .

    /usr/lib/font/devibm5587G/*.out .

    () 5

  • troff .

    troff troff .

    iconv

    .

    iconv -f FromCode -t ToCode [ FileName... ]

    iconv

    . FromCode ToCode

    . FromCode

    . FileName , iconv .

    (wsm system )

    . SMIT( ) smit iconv .

    -f FromCode . -f FromCode

    .-t ToCode . -t ToCode .FileName .

    AIX 5L Venrsion 5.2 General Programming Concepts: Writing and

    Debugging Programs List of Conventers .

    .

    0 .1 ,

    .2 .

    6 , 3

  • 1. mail.x400 IBM-850 mail.local

    .

    iconv -f IBM-850 -t ISO8859-1 mail.x400 > mail.local

    2. mail.japan 7 (ISO2022) EUC (IBM-eucJP)

    , .

    iconv -f fold7 -t IBM-eucJP mail.japan > mail.local

    3. .

    iconv -f IBM-943 -t fold7 mail.local | mail fxrojas

    genxlt .

    iconv , iconv_close iconv_open

    .

    AIX 5L Version 5.2 Network Information Services (NIS and NIS+) Guide Converters Overview.

    AIX 5L 5.2 2

    : .

    AIX 5L Version 5.2 Network Information Services (NIS and NIS+) Guide Converters Overview for

    Programming.

    id

    ID .

    id [ { -G | -g [ -r ] | -u [ -r ] } [ -n ] ] [ User]

    id ID . ID

    . id .

    v IDv IDv ID

    () 7

  • .

    id id ID (id

    User , ID ID ).

    ID ID , id ID .

    v IDv ID

    id

    .

    id .

    -G id , ID . ID, ID ID

    .-g id ID .-u id ID .-r id ID ID . ID -g

    , ID -u .-n -G, -g -u id ID .user id . id

    .

    : (TCB) .

    .

    0 .>0 .

    1. ID , .

    id

    id .

    uid=1544(sah) gid=300(build) euid=0(root) egid=9(printq) groups=0(system),10(audit)

    8 , 3

  • , sah ID 1544. build ID

    300. root ID 0. printq ID

    9. system audit ID

    0 10.

    2. ID , .

    id -G

    .

    0 10 300 9

    -G ID . , sah system(0), audit(10),

    build(300) printq(9) .

    3. , .

    id -Gn

    .

    system audit build printq

    -n ID .

    4. , .

    id -gnr

    .

    build

    /usr/bin/id id .

    getty , login , setgroups , su , tsm

    ifconfig

    TCP/IP .

    ifconfig Interface [ AddressFamily [ Address [ DestinationAddress ] ] [ Parameters... ] ]

    ifconfigInterface [ ProtocolFamily ] InterfaceProtocolFamily

    () 9

  • ifconfig -a [ -l ] [ -d ] [ -u ] [ ProtocolFamily ]

    ifconfig

    . ,

    ifconfig . ,

    .

    . ifconfig IFF_MULTICAST ( )

    .

    . AddressFamily ,

    . inet, inet6 ns.

    DARPA inet , /etc/hosts

    10 DARPA .

    XNS(Xerox Network Systems) ns , net:a.b.c.d.e.f.. , net

    (10), a f 6 16 . 10-Mbps

    , . ,

    .

    ,

    .

    ifconfig

    .

    , ifconfig .

    .

    ARP , FDDI . , IP ,

    ( ) ARP ARP

    . IP . ARP

    , /var/adm/ras/errlog , errpt ( SMIT )

    ID AIXIF_ARP_DUP_ADDR .

    -a , -a . ifconfig

    .-d -d .

    10 , 3

  • -l ,

    . -d -u

    .-u -u .ProtocolFamily tcp, udp, tcp6, udp6, icmp, icmp6 .

    Address . inet , Addess

    10 .AddressFamily . inet, inet6 ns

    . inet .DestinationAddress .Interface . ifconfig

    Interface . .

    v ATM(Asynchronous Transfer Mode) at

    v en(inet, xns)

    v IEEE 802.3 et(inet, xns)

    v tr(inet, xns)

    v X.25 xt(inet)

    v IP sl(inet)

    v

    lo(inet)

    v op(inet)

    v IP vi(inet)

    (: tr0).

    Interface ifconfigInterface netstat -in

    . Interface

    ( ) .Parameter .

    alias . ,

    .

    allcast .

    -allcast .

    arp ifconfig

    . arp .

    -arp .

    authority

    .

    bridge .

    -bridge .

    () 11

  • broadcastAddress

    (inet ) .

    1.

    -dad (inet6 ) IPv6 .

    -debug .

    delete .

    . ns ,

    . ns

    .

    device dev_name

    ATM ,

    . , ATM

    . ATM ,

    .

    detach .

    , .

    , ifconfig

    .

    down (down) , ifconfig

    . ,

    .

    eui64 (inet6 ) IPv6 64

    .

    first IPv6

    . .

    ifconfig interface inet6 first address

    firstalias

    (inet6 ) alias ,

    .

    groupID

    ID ID .

    .

    -groupID

    ID ID .

    .

    hwloop

    .

    .

    12 , 3

  • -hwloop

    .

    .

    ipdst ns IP

    . , ns

    .

    ipv6dst IPv6 IPv4 IPv6 IPv6

    .

    . ,

    .

    link [0-2]

    .

    . ,

    . , SLIP

    .

    .

    -link [0-2]

    .

    metric Number

    Number . 0(

    ). (routed ) .

    .

    .

    mtuValue

    IP . Value 60 65535

    , . (MTU)

    AIX 5L Version 5.2 System Management Guide: Communications and Networks

    Automatic Configuration of Network Interfaces .

    netmask Mask

    .

    inet .

    Mask

    . 0x ,

    /etc/networks 16

    .

    32 , 1

    , 0 .

    , .

    pvc ATM .

    PVC(Permanent Virtual Circuit) .

    () 13

  • pktchain

    .

    -pktchain

    .

    svc_c server_addr

    ATM ,

    SVC(Switched Virtual Circuit) PVC .

    , ARP . server_addr

    ARP 20 ATM . xx.xx....xx

    . 1 ARP , 2 ARP

    . 20 ARP .

    site6 IPv6 ( 0).

    .

    svc_s ATM ,

    SVC PVC . ,

    IP (LIS) ARP .

    security .

    snap .

    -snap .

    tcp_nocksum

    TCP (ckecksum)

    . TCP, UDP IP .

    TCP

    .

    -tcp_nocksum

    TCP

    . .

    thread (inet ) . CPU

    SMP .

    demuxer .

    IP TCP UDP

    .

    CPU

    CPU . ,

    , CPU

    . AIX 4.3.3

    .

    -thread (inet ) thread Disables .

    AIX 4.3.3 .

    14 , 3

  • up (up) .

    . , ifconfig down

    .

    vipa_iflist

    vipa

    .

    -vipa_iflist

    vipa

    .

    AIX 4.3.3 ISNO(Interface Specific Network Options)

    .

    rfc1323 [0 | 1]

    RFC 1323, TCP TCP .

    1 , TCP RFC .

    0 , rfc1323

    . SOCKETS ISNO TCP setsockopt

    .

    -rfc1323

    rfc1323 ISNO . SOCKETS setsockopt

    TCP .

    tcp_mssdflt Number

    .

    Number .

    -tcp_mssdflt

    tcp_mssdflt ISNO . /usr/sbin/no .

    tcp_recvspace Size

    . TCP

    ( no ).

    -tcp_recvspace

    tcp_recvspace ISNO . .

    tcp_sendspace Size

    . TCP

    ( no ).

    -tcp_sendspace

    tcp_sendspace ISNO . .

    () 15

  • tcp_nodelay [0 | 1]

    TCP Nagle

    . TCP Nagle .

    -tcp_nodelay

    tcp_nodelay ISNO .

    : ifconfig ISNO . ISNO

    chdev ODB . lsdev -E -l

    [interface] chdev -l -a[attribute=value]

    . , .

    lsattr -E -l en0chdev -l en0 -a tcp_sendspace=65536

    TCP/IP XNS ifconfig .

    Inet

    1. IP , .

    ifconfig sl1

    , sl1. .

    sl1: flags=51inet 192.9.201.3 --> 192.9.354.7 netmask ffffff00

    2.

    , .

    ifconfig lo0 inet 127.0.0.1 up

    3. down , .

    ifconfig tr0 inet down

    , token0.

    : .

    4. en5 rfc1323 ( 1 ), .

    ifconfig en0 rfc1323 0

    5. vipa .

    ifconfig vi0 vipa_iflist en0,en1,tr0

    6. vipa .

    ifconfig vi0 -vipa_iflist en1,tr0

    7. vipa (: vi0) .

    ifconfig vi0

    16 , 3

  • XNS

    1. XNS , .

    ifconfig en0 ns 110:02.60.8c.2c.a4.98 up

    ns XNS , 110 02.60.8c.2c.a4.98

    .

    , .

    .

    ifconfig en0netstat -v

    XNS .

    v 123#9.89.3c.90.45.56v 5-124#123-456-900-455-749v 0x45:0x9893c9045569:90v 0456:9893c9045569H

    XNS .

    , -( ) . 0x H 16 . ,

    0 8 .

    2. XNS IEEE 802.3 ,

    .

    ifconfig et0 ns 120:02.60.8c.2c.a4.98 up

    en0 et0 .

    , .

    .

    : .

    .

    3. XNS , .

    ifconfig en0 inet 11.0.0.1 upifconfig en0 ns 110:02.60.8c.2c.a4.98 upifconfig en0 ns 130:02.60.8c.34.56.78 ipdst 11.0.0.10

    inet 11.0.0.1 . en0 ns

    110 02.60.8c.2c.a4.98 . XNS

    . 130,

    02.60.8c.34.56.78 11.0.0.10 .

    nsip . netstat -i

    .

    () 17

  • /etc/host ./etc/networks .

    netstat

    hosts , networks

    AIX 5L Version 5.2 System Management Guide: Communications and Networks TCP/IP Network

    Interfaces, Understanding Protocols, TCP/IP Routing, Subnet Addresses

    AIX 5L Version 5.2 General Programming Concepts: Writing and Debugging Programs Xerox Network

    Systems (XNS) Overview for Programming

    ike

    ISAKMP/Oakley(Internet Key Exchange Protocol) IP ,

    .

    ike cmd=Subcommand [ parameter ... ]

    ike IKE(Internet Key Exchange) IP ,

    . IP IP / IP . ike

    . IKE IP , . IP IKE

    AIX 5L 5.2 IP .

    : ike .

    IKE .

    ( 1 ) .

    . IP

    ( 2 ) . 1

    .

    ike (IP )

    (GUI) ikedb

    18 , 3

  • . . ike

    , .

    ike , ,

    .

    activate

    IKE . , 1 2 . IP

    , IP . ID IP

    , (GUI)

    ID . . ike

    . ike cmd=activate [ phase=1|2 ] [numlist=tunnel_num_list] [ namelist=tunnel_name_list ]

    [ remid=remote_id ] [ipaddr=src_addr,dst_addr] [autostart] activate . 1 2

    . 1 , 1 . 2

    , 2 1 . 1

    , .

    2 , IP

    .

    IKE

    .

    2 1 .

    . 1

    2 . 2

    ( , )

    .

    , ike .

    ,

    list .

    syslog .

    () 19

  • phase . , activate 1 2

    . phase .

    numlist 1 2 ike . ,() -(

    ) .

    db list .

    .

    ike cmd=activate numlist=1,3,5-7

    1, 3, 5, 6 7 .

    remid ID ID 1 2 . remid 1 ID(IP

    , FQDN, FQDN X500DN), 2 ID(IP , IP )

    ID . ,() ID , IP

    . remid , . remid

    activate . ipaddr, numlist namelist

    .

    1. 1 IP 9.3.97.100 .

    ike cmd=activate phase=1 remid=9.3.97.100

    2. 2 ID 9.3.97.100,255.255.255.0

    .

    ike cmd=activate phase=2 remid=9.3.97.100,255.255.255.0

    ip_addr IP 1 2 .

    autostart

    autostart 1 2

    . autostart activate

    .

    namelist

    . phase

    . 1. IP x.x.x.x IP y.y.y.y 2 .

    ike cmd=activate phase=2 ipaddr=x.x.x.x,y.y.y.y

    IP x.x.x.x y.y.y.y .

    2. 1 2 1 .

    ike cmd=activate phase=1 numlist=1,2

    3. AIXFW1_DM remote_office 2

    .

    ike cmd=activate phase=2 namelist=AIXFW1_DM,remote_office

    :

    2 1 , 1 2

    .

    20 , 3

  • list

    IP . IKE . ike cmd=list [phase=1|1+|2] [numlist= tunnel_num_list] [db | role=i|r] [verbose] list , 1 2 .

    .

    . , db . phase . 1 1 .

    2 2 1 .

    1+ 1 2 .

    1+.

    numlist . , . ,() -()

    . , .

    ike cmd=list numlist=1,3,5-7

    db IKE .

    : IKE .

    .

    db . . role

    . .

    role . i . r

    . ,

    . db .

    verbose . ,

    . :

    .

    1. 1 ( ) .

    ike cmd=list phase=1 numlist=1,2,3

    . 1, 2 3 .

    .

    2. 1 2 ( )

    .

    ike cmd=list phase=2 numlist=1-3 db

    . .

    3. 2 1 ( )

    .

    ike cmd=list phase=1+ role=r verbose

    . numlist ,

    .

    () 21

  • remove

    1 2 . ike cmd=remove [phase=1|2] [numlist= tunnel_num_list] [all] remove 1 2 . 2 1

    , 1 1 2 2

    . phase

    . 1 1

    2 2 .

    numlist . ,() -()

    . , .

    ike cmd=remove numlist=1,3,5-7

    numlist , .

    all . numlist . 1. 1, 2 3 1 , .

    ike cmd=remove phase=1 numlist=1-3

    2. 1 2 .

    ike cmd=remove all

    3. 2 1 , .

    ike cmd=remove phase=2 all

    4. 1 ( 2 ), .

    ike cmd=remove phase=1 all

    log

    /etc/isamkpd.conf ISAKMP . ike cmd=log

    : /etc/syslog.conf refresh -s syslogd

    . log ISAKMP /etc/isakmpd.conf , /etc/syslog.conf

    . syslog . ISAKMP , , .

    , ISAKMP , ISAKMP

    , .

    /usr/sbin/ike ike admin /etc/isakmpd.conf iksakmpd ./etc/syslog.conf syslogd .

    22 , 3

  • syslog

    syslog.conf

    syslogd

    ikedb

    ikedb

    IKE , , , .

    ikedb -p[F s] [ -e entity-file ] [ XML-file ]

    ikedb -g[r] [ -t type [ -n name | -i ID -y ID-type ] ]

    ikedb -d -t type [ -n name | -i ID -y ID-type ]

    ikedb -c[F] [ -l linux-file ] [ -k secrets-file ] [ -f XML-file ]

    ikedb -x

    ikedb -o

    ikedb IKE (put) (get) .

    XML(Extensible Markup Language) . XML DTD(Document Type Definition)

    . ikedb , put XML DTD

    . -e DTD , DTD

    .

    XML DOCTYPE DOCTYPE .

    DTD XML XML . /usr/samples/ipsec

    XML .

    () 23

  • -p XML put .

    -F , , , put

    . put .

    -s ID . .

    . ID .

    -e entity-file

    entity-file . DTD

    XML XML .

    XML-file

    XML . XML-file , , ,

    , . XML-file , stdin

    . -() stdin .

    -g IKE get . stdout XML , ikedb -p

    .

    -r . 1 , 2

    .

    -t type type . Type IKETunnel, IPSecProtection AIX_VPN XML

    . , .

    -n name

    name . Name -t , ,

    . -n IKEPresharedKey , -t .

    , type .

    -i ID ID . -i -t IKEPresharedKey .

    , type . -i -y .

    -y ID-type

    -i ID-type . ID User_FQDN, IPV4_Address XML

    . -y -i .

    -d . -g , -r .

    24 , 3

  • -c Linux IPSec XML AIX IPSec . Linux

    , .

    -F , , , put

    . put . -f -F

    .

    -l linux-file

    Linux linux-file . ,

    ipsec.conf .

    -k secrets-file

    Linux secrets-file . ,

    ipsec.secret .

    -f XML-file

    Linux XML . IKE (put)

    . (-) , stdout .

    -x expunge . .

    -o ikedb XML DTD . DTD stdout

    .

    /usr/samples/ipsec XML .

    1. XML IKE (put)

    , .

    ikedb -pFs peer_tunnel_conf.xml

    peer_tunnel_conf.xml XML .

    2. tunnel_sys1_and_sys2 1 2

    , .

    ikedb -gr -t IKETunnel -n tunnel_sys1_and_sys2

    3. .

    ikedb -d -t IKEPresharedKey

    imake

    make C

    () 25

  • imake [ -DDefine ] [ -IDirectory ] [ -TTemplate ] [ -f FileName ] [ -C FileName ] [ -s FileName ]

    [ -e ] [ -v ]

    imake cpp Imakefile

    Makefiles . (: , make

    ) .

    imake -I -D cpp

    .

    #define IMAKE_TEMPLATE "Imake.tmpl"#define INCLUDE_MAKEFILE "Imakefile"#include IMAKE_TEMPLATE

    -T -f

    Imake.tmpl Imakefile .

    IMAKE_TEMPLATE .

    v cpp v v v make cpp v Imakefile(INCLUDE_IMAKEFILE )

    Imakefile , imake

    .

    Imake , imake make . imake imake

    cpp . . make make

    Makefile . , make .

    ( Imake.rules )

    cpp . imake make

    @@ ( ) . ,

    #define program_target(program, objlist) @@\program: objlist @@\

    $(CC) -o $@ objlist $(LDFLAGS)

    program_target(foo,foo1.o foo2.o) .

    foo: foo1.o foo2.o$(CC) -o $@ foo1.o foo2.o $(LDFLAGS)

    26 , 3

  • cpp , imake

    (make ). , (:) (\)

    .

    AIXwindows AIXwindows imake

    . , TOPDIR CURDIR

    . , lib/X ( )

    Makefile .

    % ../.././config/imake -I../.././config \-DTOPDIR=../../. -DCURDIR=./lib/X

    AIXwindows , UseInstalled TOPDIR

    CURDIR . , xmkmf

    .

    imake AIXwindows .

    : .

    Imake.tmpl generic variablessite.def site-specific, BeforeVendorCF defined

    *.cf machine-specific*Lib.rules shared library

    site.def site-specific, AfterVendorCF definedImake.rules rulesProject.tmpl X-specific variables

    *Lib.tmpl shared library variablesImakefile

    Library.tmpl library rulesServer.tmpl server rulesThreads.tmpl multi-thread rules

    : site.def *.cf . *.cf

    ,

    .

    site.def BeforeVendorCF , AfterVendorCF

    . site.def #ifdef

    .

    -DDefine cpp . , X-windows

    TOPDIR , CURDIR

    .-e imake Makefile . .-f FileName . Imakefile .

    () 27

  • -I Directory ( i) imake cpp .-C FileName .c . Imakefile.c.-s FileName make , make . FileName -() ,

    stdout . Makefile .-TTemplate cpp ( -I ) .

    Imake.tmpl.-v imake Makefile cpp .

    : , imake

    .

    IMAKEINCLUDE , C include . ,

    -I/usr/include/localIMAKECPP , . ,

    /usr/local/cpp

    /lib/cpp .IMAKEMAKE make /usr/local/make . imake execvp

    make . -e

    .

    imake -I/usr/lib/X11/config -DTOPDIR=/usr/lpp/X11/Xamples

    /usr/tmp/tmp-imake.nnnnnn cpp ./usr/tmp/tmp-make.nnnnnn make ./lib/cpp C

    make , xmkmf

    imapd

    IMAP(Internet Message Access Protocol) . AIX 4.2.1

    .

    imapd [-c]

    28 , 3

  • imapd IMAP4 . IMAP4 . ,

    . inetd

    imapd .

    imapd sendmail bellmail .

    -c .

    syslogd , .

    : .

    :

    /usr/sbin/imapd imapd ./etc/services .

    .

    imap2 143/tcp # Internet Mail Access Protocol

    pop3d

    impfilt

    .

    impfilt [ -v 4|6] -f directory [ -l filt_id_list]

    expfilt impfilt .

    () 29

  • -v IP . 4 IP 4 , 6 IP

    6 . , IP 4 IP

    6 .-f .-l ID . ID ,

    . ,

    IP .

    expfilt

    importvg

    (PV) .

    importvg [ -V MajorNumber ] [ -y VolumeGroup ] [ -f ] [ -c ] [ -x ] | [ -L VolumeGroup ] [ -n ]

    [ -F ] [ -R ] [ -I ] PhysicalVolume

    : importvg , QUORUM AUTO ON

    . lsvg chvg

    .

    importvg . PhysicalVolume

    (PV) .

    importvg . (Concurrent

    Capable) . varyonvg

    (Concurrent Capable) .

    , /etc/filesystems

    . varyonvg ,

    fsck . , 128 LVCB(

    ) . , importvg

    /etc/filesystems . /etc/filesystems

    .

    30 , 3

  • , importvg (LV) .

    , (LV) /etc/filesystems

    .

    :

    1. , system .

    2. AIX 4 importvg

    importvg . , (Concurrent

    Capable) , importvg varyonvg

    .

    3. AIX 4.3.3

    .

    (wsm) . SMIT(

    ) smit importvg .

    -c . AIX 5.2 .-f .-LVolumeGroup .

    (LV) -y /dev

    , ID . -L -F -n

    .

    :

    1. -L .

    2.

    . varyonvg -b -u ,

    .

    3. (PV) ,

    .

    4. (LV) , -L

    . -L

    , .

    5. (LV) , . importvg

    , (LV) .-F (VGDA) importvg

    . , ,

    (PV) .

    ,

    .-I imfs importvg .-n , .

    () 31

  • -R , ID . mklv

    chlv U, G P .

    vg .-V MajorNumber .-x . AIX 5.2 .

    : srcmstr .

    -y VolumeGroup . ,

    .

    . A Z, a z, 0 9,

    _( ), - ( ) .().

    .

    1. hdisk07 bkvg .

    importvg -y bkvg hdisk07

    bkvg .

    2. -L ,

    Node A has the volume group datavg varied on.Node B is aware of datavg, but it is not varied on.Node A: varyonvg -b -u datavgNode B: importvg -L datavg hdisk07Node A: varyonvg datavg

    /usr/sbin importvg ./tmp

    exportvg , varyonvg

    AIX 5L Version 5.2 System Management Concepts: Operating System and Devices Logical Volume

    Storage Overview , , , ,

    .

    AIX 5L 5.2

    2 : .

    AIX 5L Version 5.2 System Management Concepts: Operating System and Devices System Management

    Interface Tool , SMIT .

    32 , 3

  • imptun

    , .

    imptun -f directory [ -t tunnel_id_list ] [ -v 4 | 6 ] [ -n ] [ -r ] [ -g ] [ -l manual ]

    (exptun )

    imptun . IBM (SNG)

    .

    ID .

    . .

    , tar

    .

    -f .-g . -g

    , imptun

    .

    . -g

    ibm ,

    .-l . manual

    . -n -l .-n IBM ( 2.2)

    . -v .

    -n -r .-r .

    -r , exptun

    . -r -n .-t ID . ID

    .

    ,

    .-v IP

    . -v , IP

    4 IP 6 .

    () 33

  • gentun , chtun , rmtun , exptun , mktun , lstun

    inc

    .

    inc [ + Folder ] [ -noaudit | -audit File ] [ -changecur | -nochangecur ] [ -form FormFile | -format

    String ] [ -help] [ -file File ] [ -truncate | -notruncate ] [ -nosilent | -silent ] [ -width Number ]

    inc

    . . , inc

    . , -notruncate

    .

    , inc .

    (MH) . inbox.

    : Path: .mh_profile , inc

    .

    .

    .mh_profile Msg-Protect: . Msg-Protect:

    , 644 . Unseen-Sequence: ,

    .

    -audit File inc .-changecur .

    .-file File .+Folder . , MH inbox

    .-form FormFile inc .-format String inc .-help , () .

    : MH .-noaudit . .-nochangecur .-nosilent . .

    34 , 3

  • -notruncate inc . -file

    , -notruncate .-silent inc . inc

    .-truncate inc . -file

    , -truncate .-width Number . .

    UserMhDirectory/.mh_profile .

    Alternate-Mailboxes: .Folder-Protect: .Msg-Protect: .Path: MH .Unseen-Sequence: .

    1. inbox , .

    inc

    inbox , .

    Incorporating new mail into inbox...65+ 04/08 [email protected] Meeting

  • $HOME/.mh_profile MH ./etc/mh/mtstailor MH ./var/spool/mail/$USER ./usr/bin/inc inc .

    mhmail , post , scan .

    mh_alias mh_profile

    AIX 5L 5.2 :

    indent

    C .

    indent InputFile [ OutputFile ] [ -nbad | -bad ] [ -nbap | -bap ] [ -nbbb | -bbb ] [ -nbc | -bc ] [

    -br | -bl] [ -cn] [ -cdn ] [ -ncdb | -cdb ] [ -nce | -ce ] [ -cin ] [ -clin ] [ -dn ] [ -din ] [ -ndj |

    -dj ] [ -nei | -ei ] [ -fa ] [ -nfa ] [ -nfc1 | -fc1 ] [ -in ] [ -nip | -ip ] [ -ln ] [ -lcn ] [ -nlp |

    -lp ] [ -npro ] [ -npcs | -pcs ] [ -nps | -ps ] [ -npsl | -psl ] [ -nsc | -sc ] [ -nsob | -sob ]

    [ -nslb | -slb ] [ -st ] [ -troff ] [ -nv | -v ] [ -TType ] ...

    indent C .

    InputFile InputFile , InputFile

    .BAK .

    OutputFile , indent IntputFile

    .

    indent ,

    .indent.pro . ,

    .

    .indent.pro (

    -TType ). indent ,

    . , .

    36 , 3

  • indent (/*- /**) -() *()

    . .

    .

    . indent (,

    ) . .

    , .

    , -cn . ,

    n . , n -dn .

    , .

    .

    , indent .

    . . (#ifdef #endif

    ) , indent .

    C indent . ,

    .

    #define forever for(;;)

    ,

    indent .

    : .

    -bad .-nbad . -bad .-bap .-nbap . -bap .-bbb .-nbbb . -bbb .-bc .-nbc . -bc .-bl , enum .

    if (...){

    code}

    () 37

  • -br , enum .

    if (...) {code

    }

    -bl .-cn n . 33.-cdn n . , -c

    .-cdb . -ncdb . -cdb

    , . .

    /** this is a comment*/

    -ncdb . -ncdb ,

    . .

    /* this is a comment */-ce }( ) else . -nce .-nce }( ) else .-cin n . -lp

    , . , -i

    .-clin n case . -cli0.5 case

    . . , -cli0.-dn n . -d1

    . , -d0 .

    .-din ! n . , -di16

    .-dj .-ndj . -dj .-ei else-if . -nei . -ei if

    . else if .-nei else-if .-fa C ANSI . -nfa

    .

    : ANSI . , A=-B A-=B

    .

    : . , . ,

    A B , .-nfa . ANSI .-fc1 1 . -nfc1 .-nfc1 1 .-in . , 8 .-ip . -nip .-nip .

    -ln . , 25 .-lcn n . , -l

    .

    38 , 3

  • -lp . -nlp .

    , .

    -lp .

    p1 = first_procedure(second_procedure(p2,p3),third_procedure(p4,p5));

    .

    p1 = first_procedure(second_procedure(p2,p3),

    third_procedure(p4,p5));

    -nlp . -nlp

    .

    p1 = first_procedure(second_procedure(p2,p3),third_procedure(p4,

    -npro ./.indent.pro $HOME/.indent.pro .-pcs (( ) .-npcs (( ) . -pcs

    .-ps -> .-nps -> . -ps .-psl . -npsl .

    .-npsl .-sc *() . -nsc .-nsc *() .-slb .-nslb . -slb

    .-sob . -nbad, -nbap -nbbb . -bad, -bap

    -bbb .-nsob . -sob .-st indent stdin stdout .-TType Type . -T . indent

    typedef .-troff C troff . vgrind

    . , .-v ,

    .-nv . -v .

    1. test.c indent newtest.c ,

    .

    indent test.c newtest.c

    2. test.c ,

    , newtest.c , .

    indent test.c newtest.c -bad -bap

    () 39

  • 3. test.c indent uint

    indent , .

    indent test.c newtest.c -Tuint

    ./.indent.pro .$HOME/.indent.pro ./usr/ccs/bin/indent indent .

    cb

    AIX 5L 5.2 :

    indxbib

    .

    indxbib Database ...

    indxbib lookbib refer ( )

    . ( ) .

    : indxbib .

    . %( )

    , , %( )

    . ASCII .

    indxbib /usr/lib/refer/mkey /usr/lib/refer/inv .

    mkey .

    1. ( ) 6 .

    2. .

    3. .

    40 , 3

  • 4. ign . /usr/lib/eign

    . ign

    , . /usr/lib/nls/msg/$LANG

    .

    5. 1900 2099 () .

    : 1800

    .

    ( Lesk, M.E. Some Applications of Inverted Indexes on

    the UNIX System ).

    inv (.ia), (.ib) (.ic) .

    /usr/lib/eign indxbib .Database.ia .Database.ib .Database .ic .

    NLSPATH .

    addbib , lookbib , refer , roffbib , sortbib

    inetd

    .

    : inetd SRC .

    rc.tcpip .

    /usr/sbin/inetd [ -d ][ -tSecondsToWait][ ConfigurationFile ]

    () 41

  • /usr/sbin/inetd .

    ,

    .

    inetd . , ConfigurationFile

    . , inetd /etc/inetd.conf

    .

    , /etc/inetd.conf . /etc/inetd.conf

    inetd . inetd

    ,

    .

    inetd inetd () () .

    v comsat v ftpd v fingerd v rlogind v rexecd v rshd v talkd v telnetd v tftpd v uucpd

    ftpd, rlogind, rexecd, rshd, talkd, telnetd uucpd . tftpd, fingerd comsat

    /etc/inetd.conf .

    Inetd

    /etc/inetd.conf SMIT( ), SRC(System Resource Controller)

    /etc/inetd.conf .

    SMIT /etc/inetd.conf , inetd

    /etc/inetd.conf . , refresh-s inetd

    kill -1 InetdPID inetd .

    42 , 3

  • /etc/inetd.conf .

    . ( ).

    .

    stream

    dgram

    sunrpc_udp

    sunrpc_tcp

    .

    .

    tcp

    tcp6

    udp

    udp6/ inetd

    ./ inetd

    . SRC ,

    startsrc . inetd.conf

    inetd , stopsrc . inetd . inetd . inetd

    , . . .

    inetd SRC( ) SRC . , inetd

    kill .

    -d syslogd .-t SecondsToWait select() () . SecondsToWait 1 - 999999

    . , inetd

    . tftp

    . select()

    inetd CPU ,

    .

    inetd .

    .

    ECHO .

    () 43

  • DISCARD .CHARGEN .DAYTIME .TIME .

    fingerd , ftpd , rexecd , rlogind , rshd , syslogd , talkd , telnetd ,

    tftpd .

    inetd.conf , protocols , services

    AIX 5L Version 5.2 System Management Guide: Communications and Networks TCP/IP Daemons

    infocmp

    terminfo .

    infocmp [ -d] [ -c] [ -n] [ -I] [ -L] [ -C] [ -r] [ -u] [ -s { d| i| l| c}] [ -v] [ -V] [ -1] [ -w Width]

    [ -A Directory] [ -B Directory] [TermName...]

    infocmp terminfo . .

    v 2 terminfo terminfo .v 2 terminfo .v terminfo use .

    infocmp , , .

    -d, -c -n . -d . -c

    . -n

    .

    terminfo , TermName . infocmp

    TermName terminfo TermName .

    , . ,

    infocmp F , -1, (null) .

    44 , 3

  • -l( i), -L, -C -r .

    TermName , TERM .

    terminfo 2 .

    I( i) terminfo . -L /usr/include/term.h

    C .

    -C terminfo termcap . infocmp

    termcap terminfo . ,

    -r . termcap terminfo

    .

    -C -r , infocmp termcap

    . . termcap

    . .

    /() .

    : -C -r terminfo termcap .

    , termcap terminfo .

    use -u , infocmp

    . , infocmp

    .

    -u , infocmp .

    v .v .

    .

    v , @ .

    : @ .

    v use= .v .v ,

    .

    use . use

    use .

    () 45

  • , terminfo /usr/share/lib/terminfo .

    TERMINFO . infocmp

    . , terminfo .

    -A -B infocmp . -A

    TermName terminfo . -B

    .

    .

    -A Directory TermName terminfo .-B Directory TermName terminfo .-C termcap . termcap

    terminfo .-c . . -u

    .-d .

    .-I( i) terminfo .-1(numeral) . , 60

    .-L /usr/include/term.h long C .-n . TermName

    , TermName TERM .

    .-r infocmp termcap terminfo .

    -C .-s (, ) , infocmp

    .

    d terminfo .

    i terminfo .

    l C .

    c termcap .

    -s , terminfo

    . -s -C -L ,

    termcap C

    .-u use .-v .-V .-wWidth .

    .

    : .

    46 , 3

  • 1. aixterm lft , .

    infocmp -c aixterm lft

    2. , .

    infocmp -n

    3. lft terminfo , .

    infocmp -I lft

    4. lft /tmp my_term

    , .

    infocmp -A /tmp -u my_term lft

    /usr/share/lib/terminfo .

    tic captoinfo

    terminfo

    infocenter

    IBM eServer pSeries Information Center .

    infocenter

    infocenter IBM eServer pSeries Information Center . Information

    Center AIX IBM eServer pSeries , AIX FAQ, How-to

    . Information Center CDE Information

    Center .

    : Information Center HTML .

    infocenter ( Information Center ) Information Center

    .

    () 47

  • Information Center /usr/lpp/bosinst/bos.vendor.profile . Information Center

    .

    export INFORMATION_CENTER_URL=information center url

    /usr/lpp/bosinst/bos.vendor.profile

    , Information Center URL Information Center

    .

    /usr/sbin/infocenter Information Center ./usr/lpp/bosinst/bos.vendor.profile infocenter .

    install

    .

    /usr/bin/install [- c DirectoryA] [- f DirectoryB] [- i] [- m] [- M Mode] [- O Owner] [- G Group]

    [- S] [- n DirectoryC] [- o] [- s] File [Directory ... ]

    install . makefile .

    , install (), cp mv

    . bin bin .

    -O Owner -G Group . install

    .

    -O -G .

    Directory , install File

    (/usr/bin, /etc /usr/lib ).

    , File . ,

    install . File

    , install 0 .

    , install

    .

    48 , 3

  • -c DirectoryA DirectoryA . File

    .

    -s, -M, -O, -G, -S .-f DirectoryB File DirectoryB File .

    755 bin .

    -o, -s, -M, -O, -G -S .-G Group . bin.-i . -c, -f

    -m .-m File . -c, -f, -i -n

    .-M Mode .-n DirectoryC File DirectoryC ,

    755 bin . -c, -f -m .-o File OLD File .

    -c .-O Owner . bin.-s .-S 2 .

    1. , .

    install fixit

    /usr/bin, /etc /usr/lib fixit . , fixit

    . , /usr/bin/fixit , fixit

    .

    2. ,

    .

    install -o fixit /etc /usr/games

    /etc /usr/games fixit .

    , fixit . ,

    OLDfixit .

    3. , .

    install -i fixit /home/jim/bin /home/joan/bin /usr/games

    /home/jim/bin, /home/joan/bin /usr/games fixit .

    , .

    4. ,

    .

    () 49

  • install -n /usr/bin fixit

    fixit fixit .

    /usr/bin/fixit .

    5. , .

    install -c /usr/bin fixit

    fixit /usr/bin/fixit

    .

    6. , .

    install -f /usr/bin -o -s fixit

    fixit /usr/bin/fixit .

    , /usr/bin/OLDfixit (-o ).

    (-s ).

    Berkeley Software Distribution(BSD) install . installbsd

    .

    /usr/bin/install install .

    chgrp , chmod , chown , cp , installbsd , make , mv , strip

    install_all_updates

    .

    install_all_updates -d Device [ -p ] [ -i ] [ -c ] [ -r ] [ -n ] [ -s ] [ -x ] [ -v ] [ -N ] [ -S ] [ -Y

    ] [ -V ] [ -D ]

    install_all_updates

    . install_all_updates

    50 , 3

  • . installp

    installp .

    :

    1. , install_all_updates installp rpm . rpm

    rpm install_all_updates

    .

    2. install_all_updates oslevel install_all_updates

    .

    3. install_all_updates (bos.rte.install )

    . -i

    , .

    4. install_all_updates COMMIT (-c) installp .

    APPLY COMMIT installp man .

    5. install_all_updates installp

    . -n , -x

    .

    6. -c, -n, -x, -v, -S, -V installp .

    -c installp .

    (

    installp man ).-d Device .

    CD-ROM ,

    . no-rewind-on-

    close no-retension-on-open .-D install_all_updates .

    install_all_updates

    .-i .-n installp .

    .-N .

    :

    .-p

    . .-r rpm ( ).

    .-s .

    .-S installp CD-ROM

    .

    () 51

  • -v installp

    (checksum) .

    .-V installp .-x installp .

    .-Y

    .

    0 lppmgr .

    >0 .

    install_all_updates .

    1. /dev/cd0 installp

    .

    install_all_updates -d /dev/cd0

    2. installp /images rpm

    .

    install_all_updates -d /images -rc

    3. /dev/cd0 (bos.rte.install installp )

    .

    install_all_updates -d /dev/cd0 -i

    /usr/sbin/install_all_updates install_all_updates .

    installpl , lslpp , rpm

    install_assist

    .

    52 , 3

  • install_assist

    install_assist (BOS)

    .

    . ASCII

    . (TERM )

    .

    ASCII (tty)

    .

    .

    . .

    Ctrl-C.

    ASCII BOS

    .

    . install_assist . SMIT smit

    assist .

    ,

    .

    BOS

    .

    ,

    . configassist .

    smit.log smit.script ( SMIT

    ).

    smit.log . , ( )

    smit.script .

    1. .

    install_assist

    2. .

    configassist

    3. SMIT smit assist

    .

    () 53

  • smit.log .smit.script .

    configassist .

    AIX 5L 5.2

    install_mh

    .

    install_mh [-auto ] [-help ]

    install_mh . install_mh

    . install_mh .

    install_mh MH(Message Handler) . install_mh

    . , install_mh

    . , install_mh

    $HOME/.mh_profile Path: . MH

    (UserMHDirectory) .

    -auto MH .-help , () .

    : MH .

    $HOME/.mh_profile MH .

    AIX 5L 5.2 :

    54 , 3

  • install_wizard

    SMIT( ) .

    install_wizard [ -d Media ]

    install_wizard SMIT( )

    . . installp, UDI ISJE

    .

    -d device or directory .

    , CD cd1 .

    install_wizard -d /dev/cd1

    /usr/sbin/install_wizard

    installp

    installbsd

    (install BSD ) .

    /usr/bin/installbsd[- c][- g Group][- m Mode][- o Owner][- s] BinaryFileDestination

    installbsd BinaryFile Destination

    . -c BinaryFile .

    () 55

  • Destination , BinaryFile . Destination

    , installbsd BinaryFile

    . installbsd .

    /dev/null .

    -c BinaryFile Destination .- g

    Group

    Destination . staff.

    - m

    Mode

    Destination . 755. 8

    .- o

    Owner

    Destination . .

    -s BinaryFile .

    fixit , .

    installbsd -c o mike fixit /usr/bin

    mike fixit /usr/bin/fixit

    .

    /usr/ucb/install usr/bin /installbsd ./usr/bin/installbsd installbsd .

    chgrp , chmod , chown , cp , install , mv , strip .

    installp

    .

    56 , 3

  • installp [ -a | -a c [ -N ] ] [ -eLogFile ] [ -V Number ] [ -dDevice ] [ -E ] [ -Y ] [ -b ] [ -S ]

    [ -B ] [ -D ] [ -I ] [ -p ] [ -Q ] [ -q ] [ -v ] [ -X ] [ -F | -g ] [ -O { [ r ] [ s ] [ u ] } ] [

    -tSaveDirectory ] [ -w ] [ -zBlockSize ] { FilesetName [ Level ]... | -f ListFile | all }

    installp -c [ -eLogFile ] [ -VNumber ] [ -b ] [ -g ] [ -p ] [ -v ] [ -X ] [ -O { [ r ] [ s ] [ u ] }

    ] [ -w ] { FilesetName [ Level ]... | -f ListFile | all }

    installp -r [ -eLogFile ] [ -VNumber ] [ -b ] [ -g ] [ -p ] [ -v ] [ -X ] [ -O { [ r ] [ s ] [ u ] }

    ] [ -w ] { FilesetName [ Level ]... | -f ListFile }

    () installp -u [ -eLogFile ] [ -VNumber ] [ -b ] [ -g ] [ -p ] [ -v ] [ -X ] [ -O { [ r ] [ s ] [ u ]

    } ] [ -w ] { FilesetName [ Level ]... | -f ListFile }

    installp -C [ -b ] [ -eLogFile ]

    installp { -l | -L } [ -eLogFile ] [ -d Device ] [ -B ] [ -I ] [ -q ] [-E ] [ -zBlockSize ] [ -O { [

    s ] [ u ] } ]

    installp { -A| -i } [ -eLogFile ] [ -dDevice ] [ -B ] [ -I ] [ -q ] [ -z BlockSize ] [ -O { [ s ] [ u

    ] } ] { FilesetName [ Level ]... | -f ListFile | all }

    installp -s [ -eLogFile ] [ -O { [ r ] [ s ] [ u ] } ] [ -w ] { FilesetName [ Level ]... | -fListFile |

    all }

    installp { -l | -L } { -MPlatform } [ -eLogFile ] [ -d Device ] [ -B ] [ -I ] [ -q ] [ -z BlockSize

    ] [ -O { [ s ] [ u ] } ]

    : Korn C noclobber .

    installp .

    () 57

  • . , bos.net.tcp.client 4.1.0.0dl .

    fix ID . , bos.net.tcp.client

    4.1.0.2 bos.net.tcp.client 4.1.1.0 bos.net.tcp.client 4.1.0.0 .

    ( ) . (, ,

    , ) .

    , .

    , .

    .

    . installp -s

    .

    -c ,

    ,

    . -ac .

    .

    .

    -u

    . ,

    .

    -r

    .

    .

    .

    .

    , -C

    . installp -C

    -C .

    . ,

    . ,

    broken ,

    . , (broken) .

    -t .

    .

    v , /usr .

    58 , 3

  • .

    ,

    .

    v , , .

    , . -ac

    .

    ,

    .

    .

    v installp .v , . .

    v , , . ,

    .

    v , . , . ( ,

    ) ,

    .

    v , .

    v . , .

    , .

    v mksysb mksysb . , mksysb

    .

    installp -A

    (APAR) . installp -i

    .

    , installp -l .

    installp -l .

    # Fileset Name Level I/U Q Content#================================================================X11.adt.include 4.1.0.0 I N usr

    # AIXwindows Application Development Toolkit Include F

    () 59

  • X11.adt.lib 4.1.0.0 I N usr# AIXwindows Application Development Toolkit Libraries#

    X11.adt.motif 4.1.0.0 I N usr# AIXwindows Application Development Toolkit Motif

    #X11.adt.bitmaps 4.1.0.0 I N usr

    # AIXwindows Application Development Toolkit Bitmap Fi

    #X11.adt.ext 4.1.0.0 I N usr

    # AIXwindows Application Development Toolkit for X Ext#

    X11.adt.imake 4.1.0.0 I N usr# AIXwindows Application Development Toolkit imake#

    X11.apps.rte 4.1.0.0 I N usr# AIXwindows Runtime Configuration Applications#

    X11.apps.msmit 4.1.0.0 I N usr# AIXwindows msmit Application

    .

    Fileset Name Level I/U .

    . .

    I .

    S .

    SR . installp ,

    .

    SF . installp ,

    . installp .

    M .

    . .

    ML .

    .Q Quiescent() . Y

    . . N

    . B bosboot quiescent . b bosboot

    quiescent .Content :

    usr,root /usr (AIX 3.2 )

    usr /usr (AIX 3.2 )

    share /usr/share (AIX 3.2 )

    60 , 3

  • installp -s .

    Installp Status---------------Name Part Level State--------------------------------------------------------------------bos.net.tcp.client USR 4.1.0.2 APPLIEDbos.net.tcp.client ROOT 4.1.0.2 APPLIEDbos.rte.commands USR 4.1.0.1 APPLIEDbos.rte.misc_cmds USR 4.1.0.1 APPLIEDbos.rte.tty USR 4.1.0.1 APPLIED

    .

    Name Part ROOT SHARE /usr/share USR /usr Level State

    .

    v allv ( )

    v -f . , # .

    : installp sysck . sysck

    ~, `, , \, , $, ^, &, ( ), |, {}, [], .

    , .

    FilesetName

    . , bos.net ,

    bos.net.ncs.client, bos.net.nfs.client bos.net.tcp.client

    . FilesetName bos.net ,

    . FilesetName bos.net.tcp.client

    .

    Level . Level

    vv.rr.mmmm.ffff.ppppppppp, ,

    vv 1 - 2 ! .rr 1 - 2 ! .mmmm 1 - 4 ! .ffff 1 - 4 ! .

    () 61

  • ppppppppp ID 1 - 9 .

    .

    ,

    FilesetName Level installp .

    , FilesetName

    Level .

    ,

    -I -B

    .

    , FilesetName

    Level .

    /usr/sys/inst.images TCP/IP

    .

    installp -a -d/usr/sys/inst.images bos.net.tcp.client 4.1.0.0bos.net.tcp.client 4.1.0.2

    : installp (.toc)

    . bffcreate

    . ,

    .

    installp .

    installp .

    Installp Summary----------------Name Level Part Event Result--------------------------------------------------------------------bos.net.tcp.client 4.1.0.0 USR APPLY SUCCESSbos.net.tcp.client 4.1.0.0 ROOT APPLY SUCCESSbos.net.tcp.client 4.1.0.2 USR APPLY SUCCESS

    :

    -acgN .

    . ()

    .

    installp .

    .

    62 , 3

  • APPLY .COMMIT .REJECT .CLEANUP .DEINSTALL .

    installp .

    .

    SUCCESS .FAILED .CANCELLED .

    , Ctrl-c , Ctrl-c

    .

    -A APAR

    . .-a . .

    -c

    .-b bosboot .-B .-C .

    ,

    .

    installp -C ,

    .-c .

    ( )

    .

    . ,

    . -g

    .-D . -g

    .

    -a -ac , -Or

    .

    .-d Device .

    , .

    no-rewind-on-close

    no-retension-on-open . ,

    /dev/rmt0.1 /dev/rmt0.5.

    . /dev/rfd0.

    () 63

  • -e LogFile . -e LogFile

    installp . SMIT VSM

    installp stdout stderr ,

    smit.log !. LogFile ,

    .

    .

    . .

    LogFile . installp

    LogFile .

    NIM BOS .-E . -a -l

    . -E -a ,

    . -E -l ,

    .-F

    . -F

    -g . -F -I

    .-f ListFile ListFile . ListFile -()

    .

    ,

    . installp -l .-g ,

    .

    .

    -g -F .

    : ,

    .

    ,

    .-I ( i) .-i lpp.instr, lpp.doc, lpp.README

    README ( ) .

    .-J installp SMIT( )

    .-l ( L)

    . . -l -Or

    .-L (TOC) ,

    . SMIT VSM .

    .

    package:fileset:v.r.m.f:PTF:type:state:supersede:\sup_ptf:sup_state:latest_sup:quiesce:Descr:\netls_vendor_id:netls_prod_id:netls_prod_ver

    -MPlatform Platform .

    .

    R POWER .

    N

    , POWER .

    A .

    64 , 3

  • -N . -ac

    . ,

    .-O {[r][s][u]} . r /() , s

    /usr/share , u /usr . -O

    .

    , nim . -Or -d -l

    .-p .

    , , (-a, -c, -r -u) .-Q .

    AIX 4.2 .-q .-r .

    (,

    ) . -g

    . all (-r)

    . -R .

    -R . -u .-s .

    .-S CD-ROM . CD-ROM CD

    CD-ROM .

    INU_SINGLE_CD , .-t SaveDirectory .

    -t / . -N

    .

    -t (/ /usr)

    .

    . installp

    .-u .

    . -g ,

    . bos.rte

    .-v

    (checksum) .

    .

    .

    . .

    () 65

  • -V Number 4 . Number

    2, 3 4. -V

    FAILURES, WARNINGS SUCCESSES

    . .

    . 2

    4 .

    2 FAILURES WARNINGS .

    . Level 1 .

    SUCCESSES .

    3 3 2 , SUCCESSES

    .

    4 4 SUCCESSES WARNINGS 3 .

    .

    : 2 , .

    installp , /smit.log (installp

    smit ) /() .-w FilesetName .

    smit . , foo.rte ,

    foo.rte.bar , -w .

    AIX 4.2 .-X .

    . -X ,

    . .-Y . -a

    .-z BlockSize . 512.FilesetName ,

    .

    .Level , vv.rr.mmmm.ffff.

    ID(ptf ID ) , ID

    vv.rr.mmmm.ffff.ppppppp .

    (0)

    ( , ) .

    0 .

    installp .

    , installp

    .

    66 , 3

  • : .

    INSTALLP_Inst , ,

    1. ,

    .

    installp -L -d /dev/rmt0.1

    2. ,

    .

    installp -A -d /dev/rmt0.1 all

    3. bos.net(/usr/sys/inst.images ) (

    ) , .

    installp -aX -d/usr/sys/inst.images bos.net

    4. NFS ,

    .

    installp -acF -d/dev/rmt0.1 bos.net.nfs.client 4.1.0.0

    5. TCP/IP (),

    .

    ]nstallp -a bos.net.tcp.client 4.1.0.2 bos.net.tcp.server 4.1.0.1

    6. bos.net