Vous êtes sur la page 1sur 4

Name: Chan Pui Lai

SID: 51265813

EE4301 Network and System Administration Assignment 1: Comparing Solaris with Linux
Due Date: 24th September 2013
You are required to telnet or ssh to our Linux and Solaris (Unix) servers to perform this assignment. The domain names of these two servers are Linux server: linux.ee.cityu.edu.hk Solaris server: eda.ee.cityu.edu.hk *user accounts of these servers are independent. Your account information (Username and Password) can be obtained from Mr. CY Cheng in our EE Student Terminal Room (P1442). For security reason, you are recommended to use SSH client to connect to these servers and PuTTY is a good free telnet/SSH client for performing this assignment, which could be downloaded from: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

When you go out into the real world and get a job as a Unix Systems Administrator you may be asked to administer Unix-like operating systems other than Linux. This exercise will give you a comparison between the popular Solaris (Unix) and Fedora Linux distribution. You are required to log into a Unix machine (using your EDA Unix account) and find the answers to the questions below. In this assignment, you will compare those questions for two types of machines: SunSPARC Workstation with Solaris OS and Dell PC with Ubuntu Linux. Notice that the machines may be in various states of configuration, which lead to different results. Furthermore, a machine or two may not have on-line "man" pages installed. Try to fix it by yourself or find the reference for a particular command with your own ways, e.g. WWW. Apart from command line, it should be noted that all the utilities may also support command-line curses-based interface or X Windows interface (they check the value of DISPLAY and decide which interface to use, just like many other X windows applications). For each machine, answer the following questions: 1. What is the IP address? SunSPARC Workstation with Solaris OS Dell PC with Ubuntu Linux.
Command used:/usr/sbin/ifconfig a IP address: 144.214.129.58 Command used: ifconfig IP address: 144.214.129.15

2. What is the name and version number of the operating system?

SunSPARC Workstation with Solaris OS Dell PC with Ubuntu Linux.


Command used: uname s Name of OS: SunOS Command used: uname -s Name of OS: Linux

Command used: uname -r Version of OS: 5.8

Command used: uname -r Version of OS: 2.6.30.10-105.2.23.fc11.i686.PAE

3. How many processors are there? What are their types and speeds? SunSPARC Workstation with Solaris OS Dell PC with Ubuntu Linux.
Number of processor: 4 Number of processor: 1 Type and speed: sparcv9 processor with each 400MHz Type and speed: Intel(R) Xeon(R) CPU X5690 Command used: bash-2.03$ /usr/sbin/psrinfo v Status of processor 24 as of: 09/23/13 21:22:29 Processor has been on-line since 11/16/12 22:29:04. The sparcv9 processor operates at 400 MHz, and has a sparcv9 floating point processor. Status of processor 25 as of: 09/23/13 21:22:29 Processor has been on-line since 11/16/12 22:29:05. The sparcv9 processor operates at 400 MHz, and has a sparcv9 floating point processor. Status of processor 26 as of: 09/23/13 21:22:29 Processor has been on-line since 11/16/12 22:29:05. The sparcv9 processor operates at 400 MHz, and has a sparcv9 floating point processor. Status of processor 27 as of: 09/23/13 21:22:29 Processor has been on-line since 11/16/12 22:29:05. The sparcv9 processor operates at 400 MHz, and has a sparcv9 floating point Command used: [ee430106@linux ~]$ more /proc/cpuinfo processor vendor_id cpu family model model name X5690 stepping cpu MHz cache size fdiv_bug hlt_bug f00f_bug coma_bug fpu fpu_exception cpuid level wp flags :0 : GenuineIntel :6 : 44 : Intel(R) Xeon(R) CPU @ 3.47GHz

@ 3.47GHz :2 : 3457.999 : 12288 KB : no : no : no : no : yes : yes : 11 : yes : fpu vme de pse tsc msr pae

mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss nx rdtscp lm constant_tsc arch_p erfmon pebs bts xtopology tsc_reliable 2

processor.

nonstop_tsc pni pclmulqdq ssse3 cx16 sse4 _1 sse4_2 aes hypervisor lahf_lm ida arat bogomips clflush size : 6915.99 : 64

power management:

processor vendor_id cpu family model model name X5690 stepping cpu MHz cache size fdiv_bug hlt_bug f00f_bug coma_bug fpu fpu_exception cpuid level wp flags

:1 : GenuineIntel :6 : 44 : Intel(R) Xeon(R) CPU

@ 3.47GHz :2 : 3457.999 : 12288 KB : no : no : no : no : yes : yes : 11 : yes : fpu vme de pse tsc msr pae

mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss nx rdtscp lm constant_tsc arch_p erfmon pebs bts xtopology tsc_reliable nonstop_tsc pni pclmulqdq ssse3 cx16 sse4 _1 sse4_2 aes hypervisor lahf_lm ida arat bogomips clflush size : 6914.45 : 64

power management:

4. How much physical memory is there? SunSPARC Workstation with Solaris OS Dell PC with Ubuntu Linux.
Physical Memory: ~4GB Physical Memory: ~1GB

Command used: bash-2.03$ /usr/sbin/prtconf | grep Memory Memory size: 4096 Megabytes

Command used: free -m total shared Mem: 143 0 buffers 1003 157 266 0 used cached 859 435 736 free

-/+ buffers/cache: Swap: 2015 2015

5. How many disk drives are there? How large are they? SunSPARC Workstation with Solaris OS Dell PC with Ubuntu Linux.
Command used: Command used:

6. How many file systems are there and how are they arranged? 7. What is the name of the Ethernet device? 8. Can you figure out how to see the kernel boot messages? Is there a "dmesg" command? If not, can you find an equivalent? 9. Which of the two machines is faster? What is your argument for this? **Please tabulate your answers in order to have a better comparison between the two machines. Hints: Possible commands: uname, free, df, ifconfig, dmesg, cat, grep, etc. Possible directories: /proc, /usr/platform/SUNW