Chapter 1
Chapter 1
CHAPTER ONE
• Problem identification
– By usernotification
– By log files or monitoring programs
• Tracking and visibility
– Ensure users know you’re working onproblem
• Finding the root cause of problems
– Provide temporary solution if necessary
– Solve the root problem to permanently eliminate
Performance Monitoring
Needs
Accommodate user needs
Optimize resources
Response
Five design goals
Extensibility
Portability
Reliability
Compatibility
Performance
File Management
Directory Services
Active Directory
Database storing many information types
General-purpose directory service for heterogeneous
network
Built entirely around DNS and LDAP
Groups machines into domains
Each domain gets a DNS domain name (e.g., cs.edu)
Each domain must have at least one domain controller
Domain can have more than one domain controller
Active Directory clients use standard DNS and LDAP
protocols: locate objects on the network
Security Concerns
figure
Using the TaskManager, users can view the system status, assign priorities, and
more.
The resource monitor offers running statistics for this session.
Selected commands that can be used in the Command Prompt Window.
Linux Operating system
Linux Distributions
Unix
Unix is a multi-user, multi-tasking operating system.
You can have many users logged into a system
simultaneously, each running many programs.
It's the kernel's job to keep each process and user separate and
to regulate access to system hardware, including cpu, memory,
disk and other I/O devices.
First Version was created in Bell Labs in 1969.
Some of the Bell Labs programmers who had worked on
this project, Ken Thompson, Dennis Ritchie, Rudd
Canaday, and Doug McIlroy designed and implemented
the first version of the Unix File System on a PDP-7
along with a few utilities. It was given the name UNIX
by Brian Kernighan.
00:00:00 Hours, Jan 1, 1970 is time zero for UNIX. It is
also called as epoch.
1973 Unix is re-written mostly in C, a new language
developed by Dennis Ritchie.
Being written in this high-level language greatly decreased the
effort needed to port it to new machines.
1977 There were about 500 Unix sites world-wide.
1980 BSD 4.1 (Berkeley Software Development)
1983 SunOS, BSD 4.2, System V
1988 AT&T and Sun Microsystems jointly develop System V
Release 4 (SVR4). This later developed into UnixWare and
Solaris 2.
1991 Linux was originated
What is LINUX
Linux is a free Unix-type operating system originally
created by Linus Torvalds with the assistance of
developers around the world.
It originated in 1991 as a personal project of Linus
Torvalds, a Finnish graduate student.
The Kernel version 1.0 was released in 1994.
Developed under the GNU General Public License , the
source code for Linux is freely available to everyone.
LINUX distributions
Mandrake: http://www.mandrakesoft.com/
RedHat: http://www.redhat.com/
Fedora: http://fedora.redhat.com/
SuSE/Novell: http://www.suse.com/
Debian: http://www.debian.org/
Ubuntu https://www.ubuntu.com/download/desktop
Red Hat Enterprise Linux is a Enterprise targeted Operating
System. It based on mature Open Source technology and
available at a cost with one year Red Hat Network
subscription for upgrade and support contract.
UNIX structure
UNIX File System
File System
The Unix file system looks like an inverted tree structure.
You start with the root directory, denoted by /, at the top and
work down through sub-directories underneath it.
Each node is either a file or a directory of files, where the
latter can contain other files and directories.
You specify a file or directory by its path name, either the full,
or absolute, path name or the one relative to a location.
The full path name starts with the root, /, and follows the
branches of the file system, each separated by /, until you
reach the desired file, e.g.:
/home/condron/source/xntp
A relative path name specifies the path relative to another,
usually the current working directory that you are at. Two
special directories :
. the current directory
.. the parent of the current directory
So if I'm at /home/frank and wish to specify the path above in
a relative fashion I could use:
../condron/source/xntp
This indicates that I should first go up one directory level,
then come down through the condron directory, followed by
the source directory and then to xntp.
Structure of Standard Directories in Unix/Linux
For example, if a user enters ls then the shell executes the ls command.
ls prints a listing of a specific file or directory.
Basic Navigation
Pwd :- (print working directory) shows the
current directory (basically, the folder) you’re in.
Cd:- The most basic command of all time, cd (change
directory) means... Err, change directory.
cd followed by a dash (-)will bring you to the recent directory
you were in.
Ls:- ls (list) list down all the content inside the directory.
Continued…
Basic Navigation
Flags:- In addition to performing a general task, a command
may also contain flags to specify a specific task you want the
command to do. A flag is anything prefixed with a dash (-) that
follows the command name.
For example, you can type ls -l. In this case, l being the flag, to
display the content of the directory in a nice list view.
shutdown -h now:- to shutdown the computer
Reboot:- To restart the computer:
Exit :- To log out from the terminals
Continued…
File Manipulation
mkdir:- mkdir (make directory) is used to create a
directory.
mv:- To move files, the command mv (move) is used.
rm:-rm (remove) removes files. Take note that this action
cannot be undone.
rm –r :- To remove a directory and all its contents, including
any subdirectories and files
rm –rf:- to remove a directory and all its contents without
asking yes/no
Continued…
File Manipulation
rmdir:- to remove a directory
touch:- When you wish to create new (empty) files, use touch
cp:- Copying is undeniably one of the greatest inventions of all
time. To do that, use cp
To copy a directory recursively, use cp -r.
echo:- prints out whatever you say to it.