System commands
Format
finger [options] [user-list]
Summary
With no arguments finger gives you a list of all users logged
on to the system together with their full names, terminal
device numbers the number of times they logged in and other
information. If specify a user on the command line, finger
gives you detailed information on that user and displays
his/her .plan, .project and .forward file. The really cool
thing with finger is that you can finger users on other
hosts.
User list options
[user] gives you information on that user on your local
system
[user]@[host] gives you information on that particular user
on that particular host
@[host] lists all the users currently logged on on that
host
Options
-l long, gives you detailed information
on about every user currently logged on
Format
kill [option] PID-list
Summary
Terminates all jobs with PID number=PID-list
You can determine what signal to send to terminate the process.
These are the possibilities
Options
-0 sh(1) only, signals all members of process group
-9 non-catchable, non-ignorable kill (this is the one to
use if you process if doesn't want to get killed)
-15 software termination signal (default)
-HUP A very useful option. This causes
kill to terminate the process and to restart it afterwards.
Format
ps [options]
Summary
Lists active processes. If you run ps without any options,
it displays all processes that you control. If you run ps
without any options you will see five columns
PID process ID, The process ID of the process on that line
TTY terminal, the terminal that controls the process
TIME The number of minutes and seconds the process has been
running
COMMAND The command name with which the process was started.
If you use the w option you will see the entire command
line.
a all, lists all processes controlled
by any terminal
e environment, Prints the environment
of the process
l long, a complete status
report (13 columns)
u user, causes ps to display a userorientated
status information. Extra columns (CPU and MEM usage)
Format
talk [user] [tty]
Summary
Allows you to real-time chat with any user given by [user].
If you want to talk with someone on the local system [user]
is just the username of that person. If you want to talk
to a user on a different host [user] is [user@host]. If
a user is logged in more than once, you may want to specify
the appropriate terminal. Do this with using the [tty] option.
It's on the form 'ttyXX'. To find out what tty's the user
you want to chat with uses, use the finger command.
When someone sends you a chat request you must reply with
"talk [user]@[host] or just [user] if the person is
on the same system. Use ^c to quit from the chat.
Format
top [-] [options]
Summary
Gives you a list of existing processes and their activity
in real time. Defaults to sort processes by CPU activity,
but can also sort by MEM usage. It has both command line
parameters and interactive commands.
Options
d [number] delay, the number of
seconds between each update.
i idle, causes top to ignore idle
or zombie processes.
Interactive commands
SPACE causes top to update the screen immediately.
h help, gives you the help screen
with a list of commands (very useful)
k kill, Terminate a process. You
will be prompted for the PID to kill, and the signal to
send.
q quit
s change the delay between each
update. You will be prompted for the time in seconds.
Format
who [am i]
Summary
Who is a strip down of finger. With no arguments it displays
the users currently logged on, their terminal device number
and the time they logged on to the system.
Given the [am i] option who displays information about the
current user (you).
Table of contents
|