DataMuseum.dk

Presents historical artifacts from the history of:

RC9000

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about RC9000

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: a

⟦562b307c2⟧

    Length: 3034 (0xbda)
    Names: »acct.2«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./usr/man/cat2/acct.2« 

Default Hex Dump

0x000…020 0a 0a 0a 5f 08 4f 5f 08 6e 5f 08 6c 5f 08 69 5f 08 6e 5f 08 65 20 5f 08 4d 5f 08 61 5f 08 6e 5f   ┆   _ O_ n_ l_ i_ n_ e _ M_ a_ n_┆
0x020…040 08 75 5f 08 61 5f 08 6c 20 20 20 20 20 20 20 20 20 20 20 20 20 53 79 73 74 65 6d 20 43 61 6c 6c   ┆ u_ a_ l             System Call┆
0x040…060 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 63 74 28 32 29 0a 0a 0a 0a   ┆s                    acct(2)    ┆
0x060…080 4e 08 4e 08 4e 08 4e 41 08 41 08 41 08 41 4d 08 4d 08 4d 08 4d 45 08 45 08 45 08 45 0a 20 20 20   ┆N N N NA A A AM M M ME E E E    ┆
0x080…0a0 20 20 61 63 63 74 20 2d 20 65 6e 61 62 6c 65 20 6f 72 20 64 69 73 61 62 6c 65 20 70 72 6f 63 65   ┆  acct - enable or disable proce┆
0x0a0…0c0 73 73 20 61 63 63 6f 75 6e 74 69 6e 67 0a 0a 53 08 53 08 53 08 53 59 08 59 08 59 08 59 4e 08 4e   ┆ss accounting  S S S SY Y Y YN N┆
0x0c0…0e0 08 4e 08 4e 54 08 54 08 54 08 54 41 08 41 08 41 08 41 58 08 58 08 58 08 58 0a 20 20 20 20 20 69   ┆ N NT T T TA A A AX X X X      i┆
0x0e0…100 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 61 08 61 08 61 08 61 63 08 63 08   ┆ i i in n n nt t t t a a a ac c ┆
0x100…120 63 08 63 63 08 63 08 63 08 63 74 08 74 08 74 08 74 20 28 08 28 08 28 08 28 70 08 70 08 70 08 70   ┆c cc c c ct t t t ( ( ( (p p p p┆
0x120…140 61 08 61 08 61 08 61 74 08 74 08 74 08 74 68 08 68 08 68 08 68 29 08 29 08 29 08 29 0a 20 20 20   ┆a a a at t t th h h h) ) ) )    ┆
0x140…160 20 20 63 08 63 08 63 08 63 68 08 68 08 68 08 68 61 08 61 08 61 08 61 72 08 72 08 72 08 72 20 2a   ┆  c c c ch h h ha a a ar r r r *┆
0x160…180 08 2a 08 2a 08 2a 70 08 70 08 70 08 70 61 08 61 08 61 08 61 74 08 74 08 74 08 74 68 08 68 08 68   ┆ * * *p p p pa a a at t t th h h┆
0x180…1a0 08 68 3b 08 3b 08 3b 08 3b 0a 0a 44 08 44 08 44 08 44 45 08 45 08 45 08 45 53 08 53 08 53 08 53   ┆ h; ; ; ;  D D D DE E E ES S S S┆
0x1a0…1c0 43 08 43 08 43 08 43 52 08 52 08 52 08 52 49 08 49 08 49 08 49 50 08 50 08 50 08 50 54 08 54 08   ┆C C C CR R R RI I I IP P P PT T ┆
0x1c0…1e0 54 08 54 49 08 49 08 49 08 49 4f 08 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e 0a 20 20 20 20 20 5f 08   ┆T TI I I IO O O ON N N N      _ ┆
0x1e0…200 61 5f 08 63 5f 08 63 5f 08 74 20 69 73 20 75 73 65 64 20 74 6f 20 65 6e 61 62 6c 65 20 6f 72 20   ┆a_ c_ c_ t is used to enable or ┆
0x200…220 64 69 73 61 62 6c 65 20 74 68 65 20 73 79 73 74 65 6d 27 73 20 70 72 6f 63 65 73 73 0a 20 20 20   ┆disable the system's process    ┆
0x220…240 20 20 61 63 63 6f 75 6e 74 69 6e 67 20 72 6f 75 74 69 6e 65 2e 20 20 49 66 20 74 68 65 20 72 6f   ┆  accounting routine.  If the ro┆
0x240…260 75 74 69 6e 65 20 69 73 20 65 6e 61 62 6c 65 64 2c 20 61 6e 20 61 63 63 6f 75 6e 74 2d 0a 20 20   ┆utine is enabled, an account-   ┆
0x260…280 20 20 20 69 6e 67 20 72 65 63 6f 72 64 20 77 69 6c 6c 20 62 65 20 77 72 69 74 74 65 6e 20 6f 6e   ┆   ing record will be written on┆
0x280…2a0 20 61 6e 20 61 63 63 6f 75 6e 74 69 6e 67 20 66 69 6c 65 20 66 6f 72 20 65 61 63 68 0a 20 20 20   ┆ an accounting file for each    ┆
0x2a0…2c0 20 20 70 72 6f 63 65 73 73 20 74 68 61 74 20 74 65 72 6d 69 6e 61 74 65 73 2e 20 20 54 65 72 6d   ┆  process that terminates.  Term┆
0x2c0…2e0 69 6e 61 74 69 6f 6e 20 63 61 6e 20 62 65 20 63 61 75 73 65 64 20 62 79 20 6f 6e 65 0a 20 20 20   ┆ination can be caused by one    ┆
0x2e0…300 20 20 6f 66 20 74 77 6f 20 74 68 69 6e 67 73 3a 20 61 6e 20 5f 08 65 5f 08 78 5f 08 69 5f 08 74   ┆  of two things: an _ e_ x_ i_ t┆
0x300…320 20 63 61 6c 6c 20 6f 72 20 61 20 73 69 67 6e 61 6c 3b 20 73 65 65 20 5f 08 65 5f 08 78 5f 08 69   ┆ call or a signal; see _ e_ x_ i┆
0x320…340 5f 08 74 28 32 29 20 61 6e 64 0a 20 20 20 20 20 5f 08 73 5f 08 69 5f 08 67 5f 08 6e 5f 08 61 5f   ┆_ t(2) and      _ s_ i_ g_ n_ a_┆
0x340…360 08 6c 28 32 29 2e 20 20 54 68 65 20 65 66 66 65 63 74 69 76 65 20 75 73 65 72 20 49 44 20 6f 66   ┆ l(2).  The effective user ID of┆
0x360…380 20 74 68 65 20 63 61 6c 6c 69 6e 67 20 70 72 6f 63 65 73 73 0a 20 20 20 20 20 6d 75 73 74 20 62   ┆ the calling process      must b┆
0x380…3a0 65 20 73 75 70 65 72 2d 75 73 65 72 20 74 6f 20 75 73 65 20 74 68 69 73 20 63 61 6c 6c 2e 0a 0a   ┆e super-user to use this call.  ┆
0x3a0…3c0 20 20 20 20 20 5f 08 50 5f 08 61 5f 08 74 5f 08 68 20 70 6f 69 6e 74 73 20 74 6f 20 61 20 70 61   ┆     _ P_ a_ t_ h points to a pa┆
0x3c0…3e0 74 68 20 6e 61 6d 65 20 6e 61 6d 69 6e 67 20 74 68 65 20 61 63 63 6f 75 6e 74 69 6e 67 20 66 69   ┆th name naming the accounting fi┆
0x3e0…400 6c 65 2e 20 20 54 68 65 0a 20 20 20 20 20 61 63 63 6f 75 6e 74 69 6e 67 20 66 69 6c 65 20 66 6f   ┆le.  The      accounting file fo┆
0x400…420 72 6d 61 74 20 69 73 20 67 69 76 65 6e 20 69 6e 20 5f 08 61 5f 08 63 5f 08 63 5f 08 74 28 35 29   ┆rmat is given in _ a_ c_ c_ t(5)┆
0x420…440 2e 0a 0a 20 20 20 20 20 54 68 65 20 61 63 63 6f 75 6e 74 69 6e 67 20 72 6f 75 74 69 6e 65 20 69   ┆.       The accounting routine i┆
0x440…460 73 20 65 6e 61 62 6c 65 64 20 69 66 20 5f 08 70 5f 08 61 5f 08 74 5f 08 68 20 69 73 20 6e 6f 6e   ┆s enabled if _ p_ a_ t_ h is non┆
0x460…480 2d 7a 65 72 6f 20 61 6e 64 20 6e 6f 0a 20 20 20 20 20 65 72 72 6f 72 73 20 6f 63 63 75 72 20 64   ┆-zero and no      errors occur d┆
0x480…4a0 75 72 69 6e 67 20 74 68 65 20 73 79 73 74 65 6d 20 63 61 6c 6c 2e 20 20 49 74 20 69 73 20 64 69   ┆uring the system call.  It is di┆
0x4a0…4c0 73 61 62 6c 65 64 20 69 66 20 5f 08 70 5f 08 61 5f 08 74 5f 08 68 0a 20 20 20 20 20 69 73 20 7a   ┆sabled if _ p_ a_ t_ h      is z┆
0x4c0…4e0 65 72 6f 20 61 6e 64 20 6e 6f 20 65 72 72 6f 72 73 20 6f 63 63 75 72 20 64 75 72 69 6e 67 20 74   ┆ero and no errors occur during t┆
0x4e0…500 68 65 20 73 79 73 74 65 6d 20 63 61 6c 6c 2e 0a 0a 20 20 20 20 20 4d 08 4d 08 4d 08 4d 75 08 75   ┆he system call.       M M M Mu u┆
0x500…520 08 75 08 75 6c 08 6c 08 6c 08 6c 74 08 74 08 74 08 74 69 08 69 08 69 08 69 2d 08 2d 08 2d 08 2d   ┆ u ul l l lt t t ti i i i- - - -┆
0x520…540 50 08 50 08 50 08 50 55 08 55 08 55 08 55 20 61 08 61 08 61 08 61 63 08 63 08 63 08 63 63 08 63   ┆P P P PU U U U a a a ac c c cc c┆
0x540…560 08 63 08 63 6f 08 6f 08 6f 08 6f 75 08 75 08 75 08 75 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74   ┆ c co o o ou u u un n n nt t t t┆
0x560…580 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 67 08 67 08 67 08 67 0a 20 20 20 20 20 54 68 69 73 20   ┆i i i in n n ng g g g      This ┆
0x580…5a0 63 61 6c 6c 20 73 68 6f 75 6c 64 20 62 65 20 65 78 65 63 75 74 65 64 20 69 6e 64 65 70 65 6e 64   ┆call should be executed independ┆
0x5a0…5c0 65 6e 74 6c 79 20 6f 6e 20 65 61 63 68 20 50 55 20 77 68 65 72 65 0a 20 20 20 20 20 61 63 63 6f   ┆ently on each PU where      acco┆
0x5c0…5e0 75 6e 74 69 6e 67 20 69 73 20 64 65 73 69 72 65 64 2e 20 54 68 65 20 73 61 6d 65 20 66 69 6c 65   ┆unting is desired. The same file┆
0x5e0…600 20 63 61 6e 20 62 65 20 75 73 65 64 20 66 6f 72 20 61 6c 6c 0a 20 20 20 20 20 50 55 73 2e 0a 0a   ┆ can be used for all      PUs.  ┆
0x600…620 45 08 45 08 45 08 45 52 08 52 08 52 08 52 52 08 52 08 52 08 52 4f 08 4f 08 4f 08 4f 52 08 52 08   ┆E E E ER R R RR R R RO O O OR R ┆
0x620…640 52 08 52 53 08 53 08 53 08 53 0a 20 20 20 20 20 5f 08 61 5f 08 63 5f 08 63 5f 08 74 20 77 69 6c   ┆R RS S S S      _ a_ c_ c_ t wil┆
0x640…660 6c 20 66 61 69 6c 20 69 66 20 6f 6e 65 20 6f 72 20 6d 6f 72 65 20 6f 66 20 74 68 65 20 66 6f 6c   ┆l fail if one or more of the fol┆
0x660…680 6c 6f 77 69 6e 67 20 61 72 65 20 74 72 75 65 3a 0a 0a 20 20 20 20 20 5b 45 41 43 43 45 53 5d 20   ┆lowing are true:       [EACCES] ┆
0x680…6a0 20 20 20 20 20 20 31 29 20 41 20 63 6f 6d 70 6f 6e 65 6e 74 20 6f 66 20 74 68 65 20 70 61 74 68   ┆      1) A component of the path┆
0x6a0…6c0 20 70 72 65 66 69 78 20 64 65 6e 69 65 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆ prefix denies                  ┆
0x6c0…6e0 20 20 20 73 65 61 72 63 68 20 70 65 72 6d 69 73 73 69 6f 6e 2e 20 20 32 29 20 54 68 65 20 66 69   ┆   search permission.  2) The fi┆
0x6e0…700 6c 65 20 6e 61 6d 65 64 20 62 79 20 5f 08 70 5f 08 61 5f 08 74 5f 08 68 0a 20 20 20 20 20 20 20   ┆le named by _ p_ a_ t_ h        ┆
0x700…720 20 20 20 20 20 20 20 20 20 20 20 20 20 69 73 20 6e 6f 74 20 61 6e 20 6f 72 64 69 6e 61 72 79 20   ┆             is not an ordinary ┆
0x720…740 66 69 6c 65 2e 20 20 33 29 20 5f 08 4d 5f 08 6f 5f 08 64 5f 08 65 20 70 65 72 6d 69 73 73 69 6f   ┆file.  3) _ M_ o_ d_ e permissio┆
0x740…760 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 73 20 64 65 6e 69 65 64 20   ┆n                     is denied ┆
0x760…780 66 6f 72 20 74 68 65 20 6e 61 6d 65 64 20 61 63 63 6f 75 6e 74 69 6e 67 20 66 69 6c 65 2e 0a 0a   ┆for the named accounting file.  ┆
0x780…7a0 20 20 20 20 20 5b 45 42 55 53 59 5d 20 20 20 20 20 20 20 20 41 6e 20 61 74 74 65 6d 70 74 20 69   ┆     [EBUSY]        An attempt i┆
0x7a0…7c0 73 20 62 65 69 6e 67 20 6d 61 64 65 20 74 6f 20 65 6e 61 62 6c 65 20 61 63 63 6f 75 6e 74 69 6e   ┆s being made to enable accountin┆
0x7c0…7e0 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 68 65 6e 20 69 74 20 69 73   ┆g                     when it is┆
0x7e0…800 20 61 6c 72 65 61 64 79 20 65 6e 61 62 6c 65 64 2e 0a 0a 20 20 20 20 20 5b 45 46 41 55 4c 54 5d   ┆ already enabled.       [EFAULT]┆
0x800…820 20 20 20 20 20 20 20 5f 08 50 5f 08 61 5f 08 74 5f 08 68 20 70 6f 69 6e 74 73 20 74 6f 20 61 6e   ┆       _ P_ a_ t_ h points to an┆
0x820…840 20 69 6c 6c 65 67 61 6c 20 61 64 64 72 65 73 73 2e 0a 0a 20 20 20 20 20 5b 45 49 53 44 49 52 5d   ┆ illegal address.       [EISDIR]┆
0x840…860 20 20 20 20 20 20 20 54 68 65 20 6e 61 6d 65 64 20 66 69 6c 65 20 69 73 20 61 20 64 69 72 65 63   ┆       The named file is a direc┆
0x860…880 74 6f 72 79 2e 0a 0a 20 20 20 20 20 5b 45 4e 4f 45 4e 54 5d 20 20 20 20 20 20 20 4f 6e 65 20 6f   ┆tory.       [ENOENT]       One o┆
0x880…8a0 72 20 6d 6f 72 65 20 63 6f 6d 70 6f 6e 65 6e 74 73 20 6f 66 20 74 68 65 20 61 63 63 6f 75 6e 74   ┆r more components of the account┆
0x8a0…8c0 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 69 6c 65 27 73 20 70   ┆ing                     file's p┆
0x8c0…8e0 61 74 68 20 6e 61 6d 65 20 64 6f 20 6e 6f 74 20 65 78 69 73 74 2e 0a 0a 20 20 20 20 20 5b 45 4e   ┆ath name do not exist.       [EN┆
0x8e0…900 4f 54 44 49 52 5d 20 20 20 20 20 20 41 20 63 6f 6d 70 6f 6e 65 6e 74 20 6f 66 20 74 68 65 20 70   ┆OTDIR]      A component of the p┆
0x900…920 61 74 68 20 70 72 65 66 69 78 20 69 73 20 6e 6f 74 20 61 0a 20 20 20 20 20 20 20 20 20 20 20 20   ┆ath prefix is not a             ┆
0x920…940 20 20 20 20 20 20 20 20 64 69 72 65 63 74 6f 72 79 2e 0a 0a 20 20 20 20 20 5b 45 50 45 52 4d 5d   ┆        directory.       [EPERM]┆
0x940…960 20 20 20 20 20 20 20 20 54 68 65 20 65 66 66 65 63 74 69 76 65 20 75 73 65 72 20 49 44 20 6f 66   ┆        The effective user ID of┆
0x960…980 20 74 68 65 20 63 61 6c 6c 69 6e 67 20 70 72 6f 63 65 73 73 0a 20 20 20 20 20 20 20 20 20 20 20   ┆ the calling process            ┆
0x980…9a0 20 20 20 20 20 20 20 20 20 69 73 20 6e 6f 74 20 73 75 70 65 72 2d 75 73 65 72 2e 0a 0a 20 20 20   ┆         is not super-user.     ┆
0x9a0…9c0 20 20 5b 45 52 4f 46 53 5d 20 20 20 20 20 20 20 20 54 68 65 20 6e 61 6d 65 64 20 66 69 6c 65 20   ┆  [EROFS]        The named file ┆
0x9c0…9e0 72 65 73 69 64 65 73 20 6f 6e 20 61 20 72 65 61 64 2d 6f 6e 6c 79 20 66 69 6c 65 0a 20 20 20 20   ┆resides on a read-only file     ┆
0x9e0…a00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 79 73 74 65 6d 2e 0a 0a 52 08 52 08 52 08 52   ┆                system.  R R R R┆
0xa00…a20 45 08 45 08 45 08 45 54 08 54 08 54 08 54 55 08 55 08 55 08 55 52 08 52 08 52 08 52 4e 08 4e 08   ┆E E E ET T T TU U U UR R R RN N ┆
0xa20…a40 4e 08 4e 20 56 08 56 08 56 08 56 41 08 41 08 41 08 41 4c 08 4c 08 4c 08 4c 55 08 55 08 55 08 55   ┆N N V V V VA A A AL L L LU U U U┆
0xa40…a60 45 08 45 08 45 08 45 0a 20 20 20 20 20 55 70 6f 6e 20 73 75 63 63 65 73 73 66 75 6c 20 63 6f 6d   ┆E E E E      Upon successful com┆
0xa60…a80 70 6c 65 74 69 6f 6e 2c 20 61 20 76 61 6c 75 65 20 6f 66 20 30 20 69 73 20 72 65 74 75 72 6e 65   ┆pletion, a value of 0 is returne┆
0xa80…aa0 64 2e 20 4f 74 68 65 72 2d 0a 20 20 20 20 20 77 69 73 65 2c 20 61 20 76 61 6c 75 65 20 6f 66 20   ┆d. Other-      wise, a value of ┆
0xaa0…ac0 2d 31 20 69 73 20 72 65 74 75 72 6e 65 64 20 61 6e 64 20 5f 08 65 5f 08 72 5f 08 72 5f 08 6e 5f   ┆-1 is returned and _ e_ r_ r_ n_┆
0xac0…ae0 08 6f 20 69 73 20 73 65 74 20 74 6f 20 69 6e 64 69 63 61 74 65 0a 20 20 20 20 20 74 68 65 20 65   ┆ o is set to indicate      the e┆
0xae0…b00 72 72 6f 72 2e 0a 0a 0a 0a 0a 0a 0a 53 08 53 08 53 08 53 45 08 45 08 45 08 45 45 08 45 08 45 08   ┆rror.       S S S SE E E EE E E ┆
0xb00…b20 45 20 41 08 41 08 41 08 41 4c 08 4c 08 4c 08 4c 53 08 53 08 53 08 53 4f 08 4f 08 4f 08 4f 0a 20   ┆E A A A AL L L LS S S SO O O O  ┆
0xb20…b40 20 20 20 20 46 69 6c 65 20 46 6f 72 6d 61 74 73 20 28 35 29 3a 20 61 63 63 74 0a 20 20 20 20 20   ┆    File Formats (5): acct      ┆
0xb40…b60 53 79 73 74 65 6d 20 4d 61 6e 61 67 65 72 20 43 6f 6d 6d 61 6e 64 73 20 28 38 29 3a 20 73 61 0a   ┆System Manager Commands (8): sa ┆
0xb60…b80 0a 44 65 63 65 6d 62 65 72 20 31 39 39 30 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆ December 1990                  ┆
0xb80…ba0 20 20 20 20 20 20 20 20 20 54 58 20 50 72 6f 67 72 61 6d 6d 65 72 27 73 20 52 65 66 65 72 65 6e   ┆         TX Programmer's Referen┆
0xba0…bc0 63 65 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a   ┆ce                              ┆
0xbc0…bda 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a                     ┆                          ┆