Department of computer science and engineering
2008-01-31
Chalmers
Unix internals
ST/AD
Laboratory assignment 1 - Search for information in the Unix system
Purpose
To search for information about a Unix system.
Assignement:
- Under the directory '/etc' there are a lot of information that
is used by the operating system itself and by its services. Look up
what is stored here and examine some of the files. Can you you find the
information that is used by the function "getservbyname"? What is the
content of fstab?
- There is a command, uname,
that gives information about the machine you are using. Check what
information you can get from the command.
- In Unix there is a command vmstat.
Test what information you can get from it with different patameters.
- Sockets can be used for communication in Unix. There are
different types of sockets (address family) for internet
and local communication, inet and
unix. A Unix domain
socket is named as a file in the local filesystem. Can you find such a
file and how do you know that it is a socket?
Hints:
Use the unix man command (and possibly Google) to find information
about Unix commands and how they work.
Reporting:
No reporting required, but some knowledge from this assignment may be
needed in the following assignments