Process
Process
System Administration
Objectives
• kill command
— Controls any process
— Sends signals to
processes
— -I option views all
signals
— Examples:
• kill -9 1482
• kill -SIGTERM 1482
• Free command
— Displays information about both RAM
and virtual memory
— All information displayed is in kilobytes
• Buffer
— Memory used by application for data
storage
• Several fields of ps command output also
provide information about memory
usage
The Complete Guide to Linux System Administration 35
Viewing Virtual Memory
Information
• vmstat command
— View detailed information about how
swap space is being used
— Displayed information based on
information averaged over time
since system was started
—Can also run to be continuously updated
• Like top
• at command
— Define one or more commands to be
executed at
some future time
— Command relies on background process
called
atd
• crontab command
— Define one or more commands to
be executed repeatedly at intervals that
you designate
The Complete Guide to Linux System Administration 37
— Relies on background process called
Automating One-Time Tasks