
General Info
- USERID is the login name that you use to access Biomat.
- Each process that runs on Unix has a PID (Process ID) : the number that identifies the
process.
- To know what are the PIDs of your processes use the commands ps or top.
Some basic Unix commands:
(see also unixinfo@nmr
)
- man
- The most usefull command for Unix newbies! Gives access to the manual of a certain
command. Usage: man <command> .The commands below are only the
simplest or most usefull example of a given command. Use man to see all
the functions of a command (man -k <keyword> it is the
same as apropos <keyword>)
- top
- Display top CPU processes, i. e., information about the processes that are running on
the machine.
- ps
- gives a snapshot of the current processes. ps -u <USERID> gives all
processes that the user is running on the machine.
- nice
- Runs a program with modified scheduling priority. Usage: nice -n <priority level>
<program> .The priority can be adjusted by nice over the range of -20 (the highest
priority) to 19 (the lowest). This command is very important to all Biomat users, because
we all need to share the two processors without conflits! ;-). All matlab processes should
run with the lowest priority(+19) to allow any of us to login in Biomat and perform fast
tasks or administrative tasks...
- renice
- Apllies a new scheduling priority to a running program.Usage: renice <new
priority> <PID> Ex: renice +19 74105 ->Sets the priority of process 74105 to
the lowest(+19)
other usefull commands: chmod, ls, grep, mkdir, rm, mv
Text Editors: pico, joe, emacs, vi. This order is from the easiest to
the mor complicated (vi
is for professionals only! ;-) )