Accounting

Introduction

Accounting 是 OS 的紀錄和追蹤功能,OS 會持續記錄系統上發生的每一件事

Goals

1. Control and limit who can use the computer

OS 需要知道誰現在在用電腦才知道這個用戶能不能做某件事

2. Track and control how much resources are used

在多人共用系統 OS 必須知道每個 process 或 user 使用了多少資源避免每個 process 獨佔資源,另一方面也作為計費依據

3. Log the errors

把系統錯誤記錄下來

4. Computing as a utility

像是 AWS、Azure 和國網中心依據你使用多少資源收費