TAILIEUCHUNG - UNIX System administration PHẦN 9

Nếu một tập tin mặc định kế toán được quy định cụ thể trong tập tin / etc / printcap, tất cả các thông tin kế toán máy in được ghi vào nó. Nếu đây là trường hợp, bạn tạo ra một báo cáo sử dụng máy in bằng cách sử dụng / etc / pac, hoặc cho một máy in cụ thể bằng cách sử dụng / etc / pac-Pprinter. | UNIX System Administration The lastcomm command shows the last commands executed in reverse order. Its syntax is lastcomm command user terminal For example lastcomm print root ttyp3 gives details of all print commands executed by root on ttyp3. For details of the output including the status flags it gives see lastcomm 1 . Printer accounting If a default accounting file is specified in the etc printcap file all printer accouting information is recorded to it. If this is the case you generate a printer usage report using etc pac or for a specific printer using etc pac -Pprinter. To configure a useful accounting system see printcap 5 and pac 8 for full details. Rudolf Cardinal August 1995 81 UNIX System Administration Error logs Error logs are generated by the error logging daemon etc elcsd which is invoked by etc rc. Hardware and system-related error packets and messages are logged to syserror. hostname where hostname is the name of the system. The elcsd daemon must be running whenever the system is in multiuser mode. The daemon is configured by etc elcsd. conf. Here is a typical configuration file static char sccsid @ ULTRIX 3 17 86 elcsd - errlog configuration file delimiter DON T remove or comment out 1 1-local 2-logrem 4-remlog 5-remlog priloglocal errlog file size limit num. of blocks usr adm syserr errlog dir. path backup errlog dir. path single user errlog dir. path usr adm syserr log remote hosts errlog dir. path remote hostname to log to delimiter DON T remove or comment out hosts to log S - separate file or R - remotes file together remote1 S - example log errors from remotel into separate file Entries are delimited by a newline and a blank line constitutes a null entry. The status line containing 1 above can take the following values 1 default 2 3 4 5 Logs error packets messages locally Logs error packets from a remote system or systems to the local machine Logs local and remote packets locally Logs error packets from the local system to a .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.