����Linux�Ż�
Linux����

SCO UNIXѧϰ���䣨������������ʶ��

����ʱ��:2006-03-25 00:54:27��Դ:��������:aini
1��Tcp/Ip��������
�� (1)��TCP/IP��/etc/tcp�ű��ļ��Ŀ��ƣ����������û�״̬ʱ������������뵥�û�״̬ʱ�ر�/etc/tcp�ļ��������ݣ�����һ���ű��ļ����书�����£�ͨ������֧��TCP/IP����������豸��������ر�TCP/IP����������ر���TCP/IP��ص�daemon.
�� (2)����ROOT��¼��ʹ�������У�TCP START��TCP STOP�ֹ�������ر�TCP/IP�����ļ���etc/rc2.d��/etc/rc0.dĿ¼�µ��ļ�����������ϵ��ʹ��/etc/tcp��ϵͳ������˳����û�״̬ʱ����������START��STOPѡ�������ͨ��Network Confugration Manager �����ӻ���ɾ��һ������ӿڣ������ڽű������ӻ�ɾ�� ifconfig����޸�/etc/tcp�ļ���ͬʱ����/etc/strcf�ļ�Ҳ���޸ġ������г�������TCP/IPʱϵͳ�Ĺ������裺
�� �� Initializes STREAMS and sockets ��
�� �� Sets the host name ��
�� �� Configures Interfaces ��
�� �� Starts network daemons ��
�� �� Undoes all of the above on shurdown
�� (3)��/etc/tcp�IJ�����TCP/IP����֧�ֵ����ý���һ�μ�����ɡ���Ҫ����TCP/IP�����STREAMSģ��ջ�����á�ϵͳ����������ʱ������STREAMSջ��ǰ������������BOOT����ʾ���²��� ksl.disable������������STREAMSջʱ��/etc/tcp�ű��ļ������slink����ڽ����κ��������û�����֮ǰ�Ƚ���STREAMSջ��
2��UNIX5��������
�� (1)��UNIX5 �����ɷ�Ϊ������
�� a��PC����BIOS��Master Boot Block װ���ڴ档����ȡӲ�̵�Track 0 �� Sector 0������Ϣ )
�� b��Master Boot Block�����������飨boot0��װ�롣����ȡ�������sector0������Ϣ����
�� c���� Unix �����ǻ�ģ������װ��boot1��
�� d��boot1װ��/stand/boot ������ȡUnix�Ŀ������ļ�ϵͳ������Ϣ��һ��Ϊboot�ļ�ϵͳ��
�� e��/stand/boot����ִ��������.bootrc�з��ֵ�����,����ȡ/stand/etc/default/boot �ļ��еIJ���.
�� f��/stand/boot ��ʾBoot����ʾ���������ɹ���
�� (2)��UNIX5 ������˵����
�� a��/stand ��UNIX5ȱʡ������ϵͳ/dev/boot�Ĺҽӵ㡣һ����Ϊ��read only���������޸��������ݣ��뽫��ж�غ����¹��ء�
�� b��.bootrc is especially useful in network installations , where a packet driver and tftp driver may have to be load before user can load a kernel from network .
�� c����Boot�������ʹ���ⲿbootos ����Bootos ����ʶ��ı�ʶ�У�ccpm ��Concurrent CP/M����dos��dos_12/16/32��dos_ext��nt��os2��os2.hpfs��unix��xenix�ȡ�
���� ����bootos ���г������Ѱ�װ�ļ�ϵͳ��Bootos ���������ʶ������ż���������Ӧϵͳ��
�� d��unix5��һ�����ĸ����ģ������/standĿ¼�С���unix��unix.old�⣬����������Ϊunix.install(��װ���ϵ�ԭʼ���ı���)��unix.safe(��һ���������ĺ�ı���)��
3��UINX5�����
���� ���õļ���������Ҫ�У�
���� һ��ps
���� ���ǿ�����ps ��-l ѡ��,�õ�����ϸ�Ľ�����Ϣ.
���� F(Flag)��һϵ�����ֵĺͣ���ʾ���̵ĵ�ǰ״̬����Щ���ֵĺ���Ϊ��
���� 00����������ʾ����ʾ�˽����ѱ���ֹ��
���� 01�������Ǻ��Ľ��̵�һ���֣���פ��ϵͳ���档�磺sched�� vhand ��bdflush �ȡ�
���� 02��Parent is tracing process.
���� 04 ��Tracing parent's signal has stopped the process; the parent��is waiting ( ptrace(S)).
���� 10�����������ȼ����ڻ����25ʱ����������״̬�����Ҳ������źŻ��ѣ������ڵȴ�һ��inode������ʱ������
���� 20�����̱�װ�����棨primary memory��
���� 40�����̱��������棬���������ǰ���ܱ��û�
���� S(state of the process )
���� O���������ڴ��������С�
���� S������״̬��sleeping��
���� R���ȴ����У�runable��������
���� I������״̬��idle��
���� Z����ʬ״̬��zombie��������
���� T������״̬��Traced��
���� B���������ڵȴ�������ڴ�ҳ
���� C(cpu usage)��cpu�����ʵĹ���ֵ��
���� ����sar��ͳ�Ƶ�CPUϵͳ��ϵͳ����
���� cpusar���ദ����ϵͳ�е����������Ļ���
���� mpsar���ദ����ϵͳ�д��������������
���� sar -u������Ƿ������ݽ��̴���ռ��CPU
���� ���������ʾ���ĸ��ֶΣ��������£�
���� %usr��ִ���û����̵�ʱ��
���� %sys��ִ��ϵͳ���̵�ʱ��
���� %wio���ȴ����I/O��ʱ��
���� %idle������ʱ��
���� ��ʾ�������˵����
���� 1) һ������£�%usr��%sys��ֵ�������
���� 2) ��һ��Ķ��û�ϵͳ�У�%idleͨ������40%
���� 3) ��%wio����>15%����ζ��Ӳ���п��ܻ����ƿ��
���� 4) ��%idle����С��30%����ζ�Ŵ�������������
���� 5) ��%idle����С��10%�������������������أ����ߴ������ݽ���
���� 6) ��%idle�ӽ���0������%sys��ԶԶ����%usr�����������Ϊ�ڴ��ȱ�����˴�����swapping��paging
���� Sar -p�����ϵͳ���Ƿ��й���ĵȴ�����
���� ���ж��кͽ������е�ƽ������sar -q t n
���� ���������ĸ�����ֶΣ�
���� runq-sz���ڴ棨memory���п������еĽ�����
���� %runocc�����̽����ڴ�ȴ��ĸ���
���� swpq-sz���Ի�����swap���еȴ����еĽ�����
���� %swpocc�����̽���swap�ȴ��ĸ���
���� ��ʾ��������������£�
���� 1) ��runq-sz��������2����%runocc��������90%����ζ�Ŵ��������ع���
���� 2) ��%swpocc��Ϊ0����ʾϵͳ�Ѿ��û����˽��̡����Բ��������ڴ����ٻ���ķ���������swap��paging��
���� �Զ�ͳ�Ƴ���
���� ��ϵͳ����״�����жϲ���������ij���ض�ʱ�ڵ����ݣ�����Ҫһ�����ڵĻ��ۺ��ռ��Ĺ��̡�Unix5�ṩ�����������µ��Զ�ͳ�Ƴ���sa1���Զ�������ʽ�ռ��������Ŀ¼/usr/adm/sa�У���saddΪ�ļ�����dd��һ�����֣���ʾ���µڼ��죩��sa2���Կɶ��ı���ʽ�����Ŀ¼/usr/adm/sa�У��ļ���Ϊ��sardd�����������������ͨ��crontab����������ļ�λ��/usr/spool/cron/crontabs��sys�� root��
�� ?�����Զ���¼��
���� /usr/lib/sa/sar_enable��-y
�� ?��ʾ��¼���ݣ�
���� sar -q��-f��/usr/adm/sa/sa10
������װ
���� 1����װ������
���� a��custom
���� b��Install new
���� ��
���� a��dd if=/dev/fd0 of=/mnt/super *��superΪ�½����ļ���
���� b��mv super VOL.000.000
���� c��Install new
���� d��ѡ��װ���ʡ�
���� 2��ɾ��������
���� a��custom
���� b��remove
��������

���� 1 ������

  1. chen �� 2006-07-21 09:31:55����:

    �������������͡�