0% found this document useful (0 votes)
4 views

Module 7s - Introduction To Solaris

Uploaded by

Ara Sunu
Copyright
© © All Rights Reserved
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

Module 7s - Introduction To Solaris

Uploaded by

Ara Sunu
Copyright
© © All Rights Reserved
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 22

Introduction to Solaris / UNIX

Module 7
Operating System Logins
• tech • reboot
– Normal ops
– Applications will close
– Typical login and OS will restart
• mgr
• shutdown
– Allows Lead Tech to
create reports, delete – Applications will close
patients from database and computer will
and edit procedures power off.
• apps • dr
– Has access to – Typically used as a
Administration and remote login using
Service Tools ssh, telnet or ftp
• phys • root
– Same as Mgr
– Solaris Administrator
Log On to the Operating System
Common Desktop Environment

Status Window

Icons

CDE Toolbar
Common Desktop Environment
• Very similar to Windows desktop
• Icons on the left are similar to
Windows shortcuts
– Double click to open
• Status Window
– Much like Task Manager showing the
user running processes
• CDE Toolbar
– Similar to Windows Start button
CDE Toolbar
Click to Close Tool
bar Printer (not
File Manager - Home used)
Desktop
Mail ( not used) Controls

Text Editor
Performance
Clock/ Netscape •Workstation
Navigator and Info
Calendar • Console
Workspace
• Screen Lock Help Files
• Add
Trash Can
Workspace
• CPU Busy
• Little Exit
File Manager

Launches a window to
the
/opt/users/$LOGNAME
Launches a folder
window to open
floppy or CD- Launches a window to
ROM the floppy drive

Creates a *.Z or
a *.tar file
Search for a file or
folder.
Workstation Info
Opening another Terminal Window

Left click on the Terminal


icon

Right click on the Desktop


Goto Tools, then Terminal
Terminal Window
• The terminal window
runs a Unix shell in
which you can type
commands.
– What you type is
called the standard
input, and the output Hostname_User:/Home Folder
is the standard
output.
• Each terminal
window starts in your
home directory.
Filesystem Structure
• The entire UNIX file system is a hierarchical
organization of files and directories. It is
logically organized into meaningful
directories, with each directory containing
files and additional sub-directories.
• The top level of the UNIX file system is
symbolized by the "/" character.
– Being in this directory is like looking at a series
of file cabinets against a wall. This directory has
a special name - it is called the "root" directory.
Navigating the file system
• "cd" stands for change directory. It is the primary
command for moving you around the file system.
– An absolute path always begins with a "/". This
indicates that the path starts at the root
directory.
• cd /opt/users
– A relative path does not begin with a "/". It
identifies a location relative to your current
position.
• cd apps
• "pwd" stands for print working directory.
– It displays your current position in the UNIX
filesystem.
Navigating the filesystem
• "ls" stands for list. It is used to list information
about files and directories.
– -a, display all files and subdirectories,
including hidden files.
– -l, The long listing will provide important
information about file permissions, user and
group ownership, file size, and creation
date.
– -t, sort by modification time
– -r, display files in reverse order
Fields in the "ls -al" output
Links Owner Group Filename / Folder Name
File and Directory information
File
Type Owner Group Other
d r w x r w x r w x
d r w x r w - r - -
- r w x r - - r - -
- r - x - - - - - -

• File Type: The character in the first column indicates the


“type” of file that is listed on the current line. This first
character is usually a "-" (indicating an ordinary file) or a "d"
(indicating directory).
• Owner: This field contains information about permissions for
the owner of the file or directory.
• Group: This field contains information about permissions for
users in the same group as the owner of the file or directory.
• Other: This field contains information about permissions for
users not in the same group as the owner of the file or
directory.
Disk Partitions
• During Solaris 8
Installation on – Disk 2
Blade 1500 (c0t2d0sn)
– Disk1 (c0t0d0sn) • /images (0)
• / (0)
• swap
– (/tmp)
• /opt (2)
• /linx_mp (3)
• /export/home (7)
Disk Partitions
• During Solaris
10 Installation
on Ultra 45
– Disk1
(c0t0d0sn)
• / (0)
• swap (1)
– (/tmp)
• /opt (3)
• /linx_mp (4)
• /images (5)
Acquisition Station Logs
• Typically you can access log files using
Task Launcher window
– Available at tech, mgr and apps
• System logs are located at /linx_mp/logs
– Report log contains
• patients processed
• images accepted and rejected
• system reboots
• drapi logs are located /opt/linx_mp/data
– Failure of files to load
– Communication with array
Important Folders
• /images • /linx_mp/logs
– System logs
– Patient images
• /linx_mp/backups
• /opt/linx_mp/data – System configuration
– Array files backup file
• cfg, map, smj, llc, – mpb backup file
pwl • /etc
• /opt/users/ – Hosts, netmask,
defaultrouter
– tech, mgr, apps, dr
• /var/adm
– Contain many
– Operating System
scripts users can Status / Alarm logs
run
Scripts
• A “text” file containing commands
that can be run like an executable
file
• getlogs.sh
– Gathers system, brick and array files
and places them in /tmp/log directory
• checktemp.sh
– Displays recent temperature data for
array
Typing Commands
• Issuing a command consists of
typing a series of words and then
pressing the Enter (or Return) key.
– The first word is the name of the
command
– the rest of the words are arguments that
affect the way the command works.
– Generally the commands are lowercase,
but they are case sensitive.
Commands and Descriptions

You might also like