0% found this document useful (0 votes)
106 views2 pages

HiSpeed CTi Quick Reference SGI IRIX SUN UNIX

This document provides a guide to commonly used commands and procedures for the SGI IRIX and SUN UNIX operating systems. It includes commands for changing directories, copying and linking files, listing files and directories, viewing processes, and accessing diagnostics. The guide distinguishes commands for each operating system and those common to both.

Uploaded by

gust
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
106 views2 pages

HiSpeed CTi Quick Reference SGI IRIX SUN UNIX

This document provides a guide to commonly used commands and procedures for the SGI IRIX and SUN UNIX operating systems. It includes commands for changing directories, copying and linking files, listing files and directories, viewing processes, and accessing diagnostics. The guide distinguishes commands for each operating system and those common to both.

Uploaded by

gust
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Direction 2152921–100

Rev. 0
GE Medical Systems

pwd {enter} (u,i) tip sbc {enter} (u) df {enter} (u)


SGI IRIX and SUN UNIX Change directory to “/usr/g/genesis”: cu sbc (i) df –k{enter} (i)
Quick Reference Command Guide cd {enter} (u,i) Exit or log off “tip” or “cu” remote log in. Display number of kilobyes for each file in current directory:
This guide lists commonly used commands and procedures. Change directory to parent of current directory: (see pwd) {enter}~{CTRL}d (u,i) du –s {enter} (u)
The SBC uses SUN OS, and the OC uses SGI IRIX. UNIX Abort “tip” or “cu” command and go to prom monitor: du –sk {enter} (i)
cd .. {enter} (u,i)
and IRIX have some common commands and procedures. Use this HARD ABORT only if SBC is hung. Display available system components stored in the file, at time
The following tags identify the system: Change directory to “pathname”.
{enter}~# (u,i) of system boot:
· (u) = Use this command for SUN UNIX. cd [ pathname ] {enter} (u,i)
Access and Termnate Processes dmesg {enter} (u)
Use this when you logon to the CT/i SBC, or any HLA, HSA Z or HSA Copy contents of “filename1” to “filename2”. more /var/adm/SYSLOG {enter} (i)
RP system Create ”filename2”: Terminate or exit the user’s currently running process:
Display a list of recently executed shell commands:
· (i) =Use this command for for SGI IRIX. cp [ filename1 ] [ filename2 ] {enter} (u,i) {CTRL}c (u,i)
Use this when you logon to the CT/i OC. history {enter} (u,i)
Link “filename1” to “filename2”. “Create ”filename2” is another Terminate or exit the user’s current login OR remote login:
· (u,i) = Use this command for both the SUN UNIX and SGI IRIX Execute the command identified by “history number”.
name for “filename1“. Viewing or manipulating ”filename2” {CTRL}d (u,i)
Operating Systems. Expect the same result on either OS type. ![ history number ] {enter} (u,i)
displays same results as viewing or manipulating”filename1”. Stop scrolling information on display:
Common Guide Conventions ln –s [ filename1 ] [ filename2 ] {enter} (u,i) Repeat the last command (or highest “history number”)
{CTRL}q (u,i) execution:
1. Type boldface text exactly as shown, including upper and lower Display (list) contents of current directory:
cases and spacing. Continue to scroll information on display: !! {enter} (u,i)
ls {enter} (u,i) {CTRL}s (u,i)
2. Substitute your filename, directory name or pathname for the “[]” Display the network name of the host:
bracketed information in the command line. Display (list) size of “filename” in kilobytes: Toggle display between boot terminal mode and application hostname {enter} (u,i)
3. The pathname begins with the highest level, root directory. Slashes ls –s [ filename ] {enter} (u,i) terminal mode:
separate directory levels. Ex: /directory–in–root/next–highest Display all currently running processes,
level/etc/filename Recursively display (list) subdirectories in current directory: {L1}b (u) one screen at a time:
4. Press the CTRL key when you see {CNTRL}. If a boldface letter ls –R {enter} (u,i) Go to set up screen display: ps –aux | more {enter} (u)
follows {CTRL}, press and hold the CTRL key while you type the To exit, press the “BACKUP” display softkey button.
boldface character. Display directory listing in multiple columns: ps –ef | more {enter} (i)
(use when directory has many files) {L1}c (u)
5. Press the L1 key when you see {L1}. If a boldface letter follows Display all currently running user processes,
{L1}, press and hold the L1 key while you type the boldface ls –C {enter} (u,i) Access diagnostics: one screen at a time:
character. (Press {L1}c and press {CTRL} and type “diag”)
Display permission modes (group, other, owner) and size, in ps –g | more {enter} (u)
6. Press the ENTER key when you see {enter}. Press {enter} to bytes, of filename: To exit, press the “BACKUP” display softkey button.
execute the command you typed.
ps –ef | grep ‘whoami‘ | more (i)
ls –l [ filename ] {enter} (u,i) {L1}c{CTRL}diag (u) (note, ‘ is a backward quote, or a grave mark )
7. Press {Shift} \ (shifted backslash) when you see the pipe command,
“|”. Display hidden files in current directory: Bring a background window to the foreground: Display users currently logged on the system:
8. With this font, a lowercase “L” looks like “l”. ls –a {enter} (u,i) {ALT}F1 (i) who {enter} (u,i)
View and Search Files Create a subdirectory of the current directory: Move a foreground window to the background: Display the login name of the current user:
Display the contents of a file: mkdir [ directory name ] {enter} (u,i) {ALT}F3 (i) whoami {enter} (u,i)
cat [ filename ] {enter} (u,i) Move “filename1” from current directory to “directory name”: Operating System Commands Display hosts currently running “yellow pages” (YP) in the
Perform byte–to–byte comparison of 2 files: mv –i [ filename1 ] [ directory name ] {enter} (u,i) Display list of command aliases. suite: (All suite OCs, OCs and SBC must run “yellow pages”)
cmp [ filename1 ] [ filename2 ] {enter} (u,i) Move “filename1” to “filename2”: alias {enter} (u,i) ypcat –k ypservers {enter} (u,i)
Find the difference between 2 files or 2 directories: (Also known as renaming “filename1”.) Display all host names and internet addresses accessable to Display ethernet addresses, and their host names:
diff [ filename1 ] [ filename2 ] {enter} (u,i) mv –i [ filename1 ] [ filename2 ] {enter} (u,i) the current host: ypcat ethers {enter} (u,i)
diff [ directory1 ] [ directory2 ] {enter} (u,i) Remove “filename1” from current directory, and confirm: (Also cat /etc/hosts {enter} (u) Display internet addresses, and their host names:
Display path of a given filename, starting at root directory: known as deleting “filename1”) Display this host’s timezone: ypcat hosts {enter} (u,i)
find / –name [ filename] – print {enter} (u,i) rm –i [ filename1 ] {enter} (u,i) (hours added to Greenwich mean time) Display the host name of the “yellow page” (YP) server:
Search filename for the line containing the character string and Remove all files and subdirectories in “directory name,” and cat /.timeZone {enter} (u) ypwhich {enter} (u,i)
display the line. Use upper or lower case characters. confirm: (Also known as deleting directory) Display the current date: Display host name of the “yellow page” (YP) master server:
grep –iw [ character string ] [ filename ] {enter} (u) rm –ir [ directory name ] {enter} (u,i) date {enter} (u,i) ypwhich –m {enter} (u,i)
grep –i [ character string ] [ filename] {enter} (i) Remote Accessing Commands Set the current date to (YY)year, (MM)month, (DD)day, Display current partition sizes for disk [n] (ex: sd0).
Search for the exact character string and display the line: Remote copy “filename1” to “pathname” on “hostname”: (hh)hour, (mm)minute and (ss) seconds: (Execute as root user)
grep [ character string ] [ filename ] {enter} (u) rcp [ filename ] [ destination hostname ]:[pathname] {enter} (u,i) (Excute this function as root user) /etc/dkinfo sd[n] {enter} (u)
grep “[character string ]” [ filename ] {enter} (i) date [ YYMMDDhhmm].[ss] {enter} (u) prtvtoc /dev/rdsk/dks0d[n]s0 {enter} (i)
Remote login to SBC0 via the ethernet; not the serial port:
Display contents of the text filename, 1 full screen at a time: (“suite_ID” is the scanner suite name) Set current date to (MM)month, (DD) day, (hh) hour, Switch login to root (no login name), or to “log in name”:
more [ filename ] {enter} (u,i) rsh [ suite ID ]_SBC0 {enter} (u,i) (mm)minute, (YY)year. (Excute this function as root user) su {enter} (u,i)
Redirect the output of “command” to ”filename”: Exit or log off “rsh” remote login: date [ MMDDhhmmYY ] {enter} (i) su [log in name] {enter} (u,i)
[ command ] > [ filename ] {enter} (u,i) {CTRL}d Display available disk space and disk useage summary in 512 View available system swap space:
List or Manipulate Files and Directories Remote login to sbc0 or sbc1 via the serial port; not the blockbytes: swap –s {enter} (i)
Display current working directory (print working directory): ethernet:
Copyright 1996 General Electric Company All Rights Reserved.
printed in U.S.A.
Direction 2152921–100
Rev. 0
GE Medical Systems

Screen capture current monitor display: Display this host’s modality configuration: (CT, MR) tar –xvf /dev/nrst8 {enter} (u) · If you don’t see the |Shutdown| button, move the
snapshot {enter} (i) grep ^modality /w/config/Suite.cfg {enter} (u) Write all files in directories listed in the set command to tape: mouse cursor to the upper left corner of the
grep ^modality /usr/g/config/host.cfg {enter} (i) ExamRx monitor and press {Alt–F3} to display a
1. Open a Command window tar –cvf /dev/nrst8 .* * {enter} (u) drop–down menu containing the |Shutdown|
2. snapshot {enter} (in command window) Display current revision of software running on the system: Write the “filename,” or list of “directory name” files to tape: button
whatRev {enter} (u,i) tar –cvf [ filename or directory name ] {enter} (u)
3. Hold {shift} key down to draw a box around the area 2. Click left on the |Log out| button.
showprods | grep “Rhapsode product” (i temporary pre FUTS con-
of interest figuration) Command line to start all the scan application software · When the pop–up window appears, click left on
4. Pull down menu for the “snapshot” button. This processes after system reboot or shutdown: the |Yes| button.
Display a list of the Hardware system configuration:
creates a snap.rgb file in the directory your current st {enter} (u)
configTracker (u) Reboot the OC
working directory. startMon {enter} (i)
hinv {enter} (i) 1. Follow steps in “Shutdown the Scan and Service
Display snapshot: Command line to shutdown all scan application processes
Save system state and files important to troubleshooting Software Processes.”
started with startMon or st:
imageworks {enter} (i) system behavior: (“rhapSnap” stores its information to the 2. Log off the system.
sd –i {enter} (u)
1. Open applications media tools MOD. “ZeuSnap” stores information to the hard disk)
cleanMon {enter} 3. reboot {enter} to the right of “login name.”
ZeusSnap {enter} (u)
2. Select “imageworks” System Startup from Power Off 4. Press {enter} again.
rhapSnap {enter} (i)
3. Select “file open” 1. Turn OC power on, and wait for “Genesis power up
Mount MOD on the system: (and view the rhapSnap) Manually Shutdown the SBC
4. Choose the “snap.rgb” you created with “snapshot”. mount MOD (i) Complete” message to appear on the monitor.
1. Login as “ctuser”. (Follow first two steps in “Start the
Select Stop for Maintenace, and Select Run Diags during 1. /mount /dev/dsk/dks1d3s7 /MOD 2. Turn SBC power on, and wait for SUN OS UNIX to Scan and Service Software Processes”)
“system startup”: come up on the SBC. (UNIX is up on the SBC when
2. cd /MOD 2. rsh [ suite–ID ]_SBC0 {enter}
PROM IDE diagnostics (i) the bank of LEDs ripple up and down.)
3. ls –l 3. haltSystem {enter}
Verify keyboard, monitor, cdrom and other peripherals: 3. Power up the computer.
Peripheral confidence tests (i) Tape Commands (U only) Startup the SBC from Prom Monitor Process
Start the Scan and Service Software Processes
1. Open DeskTop menu This section shows command examples for cart or cartridge 1. Login as “ctuser”.
1. Type “ctuser” in the box to the right of “Login name”
tape. If the system has a Reel tape or 9 track tape, substitute (Follow first two steps in “Start the Scan and Service
2. Select System, Run Confidence tests. “mt0” for “nrst8”. 2. Type in the “ctuser” password (default: 4$apps) in the Software Processes”)
Misc. GEMS Commands Eject a tape: box to the right of “Password”
2. Click on the |UNIX shell| menu item to open an IRIX
Display host type: (OC, IC, or SBC) mt –f /dev/rst8 offline 3. Click left on the “Startup” button to start both SBC and shell window.
grep ^hostType /w/config/Host.cfg {enter} (u) Fast forward tape to position after file [n]: OC processes.
3. Move the mouse cursor into the IRIX shell window.
grep ^hostType /usr/g/config/host.cfg {enter} (i) mt –f /dev/nrst8 fsf [n] {enter} (u) Shutdown the Scan and Service Software Processes
4. cu sbc {enter}
Display host name: (OC1, IC1, IC2, or SBC0) Rewind to begining of tape: 1. Software running:
5. When the word “connected” appears, press {enter}.
grep ^hostName /w/config/Host.cfg {enter} (u) mt –f /dev/nrst8 rewind {enter} (u) · Click left on the |Shutdown| button in the upper
grep ^hostName /usr/g/config/host.cfg {enter} (i) left corner of the Display monitor. · “MC68040>” displayed: SBC PROM monitor
Retention tape: (Recommend before first use of new tape) process is running, and you can continue with
Is this host the primary archive node? mr –f /dev/nrst8 retension {enter} (u) · When the pop–up window appears, click left on next step.
grep ^pan /w/config/Host.cfg {enter} (u) the |OK| button.
grep ^pan /usr/g/config/host.cfg {enter} (i) Display tape directory: · Login prompt displayed: The SBC is already
tar –tvf /dev/nrst8 {enter} (u) –OR– booted and running UNIX.
Display the suite identification number: · Click left on the |Shutdown| button in the upper
grep ^suiteID /w/config/Suite.cfg {enter} (u) Write contents of tape to the current directory: left corner of the ExamRx Display. 6. b {enter}
grep ^suiteID /usr/g/config/host.cfg {enter} (i)

You might also like