1 SUSE Linux
0 opening the GUI interface
XDm
1 Checking the OS version
Cat/etc/suse-release
View Patch Information
Spident
View Kernel version
Uname-r
2 Viewing CPU Information
Cat/proc/cpuinfo
3 Viewing intrinsic information
Cat/proc/meminfo
4 Viewing disk partitions
Cat/proc/partitions
5 the size of the used and unused resources of the swap space
Swapon-s
6 Adding Swap partitions
A add a partition with YaST
and umount it.
b Use the Mkswap command to set the swap partition:
Mkswap/dev/sdb2
c Enable swap partition:
Swapon/dev/sdb2
D writes/etc/fstab so that it is enabled at boot time:
/DEV/SDB2 swap swap defaults 0 0
7 Adding a swap file
A create a swap file of size 512M:
DD If=/dev/zero of=/swapfile1 bs=1024 count=524288
b Use the Mkswap command to set the swap file:
Mkswap/swapfile1
c Enable swap partition:
Swapon/swapfile1
D writes/etc/fstab so that it is enabled at boot time:
/swapfile1 swap swap defaults 0 0
8 Viewing disk space (file system)
Ardc1a:/orabak # Du-sh *
8.2M Arch
6.0K bin
12M c-4149631192-20120418-05
39G data
181K Log
2.0K pfile_bak20120217
1.0K Sqlnet.log
9 Restart the NIC
Rcnetwork restart
10 viewing network card corresponding files
/var/adm/autoinstall/scripts/eth_alias.sh
11 Open a Linux remote connection
YaST remote
Linux Common commands