Server for Information Technologies ������ ��������������
������� �������������� ����������
(095) 932-9212, 932-9213, 939-0783
E-mail: [email protected]
������ �������� ����(!) ������������� ���������� CIT Forum CD-ROM

ACCTOM(8)

��������
acctom - ���� � �������� ����� ����� ���������.

���������

 acctom [[options][file]...

��������
aactom ������ file, ����������� ���������� ����� ��� /usr/adm/pacct � ����, ���������� acct(3) � ������ ��������� ������ �� ����������� ���������� ������. ������ ������ ������������ ���������� � ���������� ������ ��������. �� ����� ���� �������� COMMAND NAME, USER, TTYNAME, END TIME, REAL(SEC), CPU(SEC),MEAN SIZE(K) � ������������� - F (���� ������������/����������: 1 - ��� ������������ ��� ����������) � STAT (��������� ��� ����������).

��� ������� ������������ ������ #, ��� ���� �� ��� ����������� � ������� ������������������ ������������. ���� ������� �� ������ � ��������� ����������, � ���� TTYNAME ���������� ���� ?.

���� �� �������� ������� ������ file, �� ����������� ���� ����������� � ���������� ��� /dev/null (��� � ������ ������������� & � ��������), �������� ���� /usr/adm/pacct, � ��������� ������ �������� ����������� ���������� �����. ���� ������ ��������� file, �� ��� �������� � ���������������� �������. ��� ����� ������ �������� ������, �� ���� � ��������������� ������� �� ��������� �� ������� ���������� ��������. ������� ����������� ������ ������ �������� ���� /usr/adm/paact; ����������� ������� ����� ��������� � ���������� ����� ������, � ���� ������ ��� �����, ����� ��������, ����� ���������� � /usr/adm/pacct?. ����� ������:
-b������ ����� � ������� � ������ ������� ��������� ������.
-f������ ������� ����� ������������/���������� � ���� ����������.
-h������ ����, ����� �������� ������� ������ ������, �������� ����� ������ ���������� ������� ������������ ����������, ������������� ��������� �� ����� ��� ����������. ���� ������ ����������� ("hog factor") ����������� ���:
     (����� ����� ������ ������������ ����������/�������� �����)
-j������ �������, ���������� ������� �������� �����/������.
-k������ ������� ������ ��������� ����� ���������� kcore-�����.
-m ���������� ������� ������ ���� (�� ���������).
-r������� ������ ������������ ���������� (���������������� �����/(��������� ����� + ���������������� �����)).
-t������� �������� ��������� ����� � ���������������� ����� �� ����������� ����������.
-v��������� ��������� ������� �� �������� ����������.
-l line������� ���������� ������ � ���������, ������������� ��������� /dev/line.
-u user������� ���������� ������ � ��������� ������������� ������������ user, ������� ����� ���� ����������� ���������������� ���������������, ��������������� ������, ������� ����� ������������� � ����������������� ��������������, ������ #, ������������ ��������, ����������� ����������������� ������������� ��� ?, ����������� �� �������� � ����������� ���������������� ���������������.
-g group������� ���������� ������ � ���������, ������������� ������ group, ������� ����� ���� ������ ���� ��������������� ������, ���� ��������� ������.
-d mm/dd����� ��������� ������� �����, ��������� �� ���� ������, �������������� ������������ � ������� ������ ��� ���, � �� � ��������� 24 �����. ��� ��������� ��� ��������� ������ ������.
-s time������� ���������� ������ � ��� ���������, ������� ������������ � ������ ��� ����� ������� time, ��������� � ���� ���:���:���. ����� :��� ��� :���:��� ����� ���� �������.
-e time������� ���������� ������ � ��� ���������, ������� ������������ �� ������ ��� �� ������� time. ������������� ������ �������� time ��� ��� -s, ��� � ��� -e ������� ���������� � ���������, �������������� �� ������ time.
-n pattern������� ���������� ������ � ��������, ��������������� ������� pattern, ������� ����� ���� ���������� ����������, ��� � ed(1), �� ����������� ����, ��� + �������� ���� ��� ��������� ����������.
-H factor������� ���������� ������ � ���������, ������� ������� �� ������ ������� ����������� factor, ���������� � ����� -h.
-I number������� ���������� � ���������-���������, ���������� ������ ��������, ��� ������ �������� number.
-O time������� ���������� ������ � ��������� �� �������� ������ ������������ ����������, ����������� ����� time.
-C time������� ���������� ������ � ��������� � ����� �������� ������ ������������ ����������, ����������� ����� time.
������� ���������� ����� ����� ������ ����������� "�".

�����

 /etc/passwd
 /usr/adm/pacct
 /etc/group

��. �����
accton(8), ps(1), su(1), acct(S), acct(3), utmp(3)

����������
acctcom ������ ���������� ������ �� ������������� ���������; ��� �������� ��������� ����������� ps(1).
Comments: [email protected]
Designed by Andrey Novikov
Copyright © CIT