Job One:
1) Add a 15G SCSI hard disk before opening the Linux system
2) Turn on the system, right click on the desktop, open the terminal
3) for the newly added hard disk partition, a primary partition size of 5G, the remaining space to the extended partition, on the extended partition divided 1 logical partitions, the size of 5G
To set the primary partition:
To set an extended partition:
To set the extension partition logical partition:
To view partition results:
4) format primary partition as EXT3 system
Command: MKFS.EXT3/DEV/SDB1
5) Set logical partition to swap partition
Command: MKSWAP/DEV/SDB5
6) enable the Swap partition for the previous step
Command: SWAPON/DEV/SDB5
7) View the status of the swap partition
Command: Swapon–s
Job Two: Free command to view memory
Organizing the role of buffer and cache
Calculate Real Memory utilization
Job Three: DD command to test hard drive speed
Command: DD If=/dev/zero of=/a.txt BS=200MB count=1
Job Four: Find a process named SSH and force it to kill
Command: pgrep ssh #查找ssh相关进程
Kill Process:
[Email protected] mnt]# pkill-9 1201
[Email protected] mnt]# pkill-9 2846
Linux Basic series: Common Commands (4) _ System monitoring