References
http://eric_rollins.home.mindspring.com/genezzo/cluster.html
http://opengfs.sourceforge.net/
http://opendlm.sourceforge.net/
http://hilli.dk/howtos/ata-over-ethernet-aoe-in-gentoo-linux/
http://lpk.com.price.ru/~lelik/AoE/
http://freshmeat.net/projects/vblade/
http://www.linuxjournal.com/node/8149/print
http://www.coraid.com/documents/AoEDescription.pdf
http://acd.ucar.edu/~fredrick/linux/etherdrive/
http://evblade.kwaak.net/
This document contains an overview of the principal RPM commands
for installing, uninstalling, upgrading, querying, listing, and
checking RPM packages on your Red Hat Linux system.
rpm search site
# rpm -ivh foo-2.0-4.i386.rpm
# rpm -i ftp://ftp.redhat.com/pub/redhat/RPMS/foo-1.0-1.i386.rpm
# rpm -i http://oss.oracle.com/projects/firewire/dist/files/kernel-2.4.20-18.10.1.i686.rpm
Used to install a RPM package. Note that RPM packages have file naming conventions like foo-2.0-4.i386.rpm, which include the package name (foo), version (2.0), release (4), and architecture (i386). Also notice that RPM understands FTP and HTTP protocols for installing and querying remote RPM files.
# rpm -e foo
To uninstall a RPM package. Note that we used the package name foo, not the name of the original package file foo-2.0-4.i386.rpm above.
# rpm -Uvh foo-1.0-2.i386.rpm
# rpm -Uvh ftp://ftp.redhat.com/pub/redhat/RPMS/foo-1.0-1.i386.rpm
# rpm -Uvh http://oss.oracle.com/projects/firewire/dist/files/kernel-2.4.20-18.10.1.i686.rpm
To upgrade a RPM package. Using this command, RPM automatically uninstall the old version of the foo package and install the new package. It is safe to always use rpm -Uvh to install and upgrade packages, since it works fine even when there are no previous versions of the package installed! Also notice that RPM understands FTP and HTTP protocols for upgrading from remote RPM files.
# rpm -qa
To query all installed packages. This command will print the names of all installed packages installed on your Linux system.
# rpm -q foo
To query a RPM package. This command will print the package name, version, and release number of the package foo only if it is installed. Use this command to verify that a package is or is not installed on your Linux system.
# rpm -qi foo
To display package information. This command display package information including the package name, version, and description of the installed program. Use this command to get detailed information about the installed package.
# rpm -ql foo
To list files in installed package. This command will list all of files in an installed RPM package. It works only when the package is already installed on your Linux system.
# rpm -qf /usr/bin/mysql
mysql-3.23.52-3
Which package owns a file? This command checks to determine which installed package a particular file belongs to.
# rpm -qpl kernel-2.4.20-18.10.1.i686.rpm
# rpm -qpl ftp://ftp.redhat.com/pub/redhat/RPMS/foo-1.0-1.i386.rpm
# rpm -qpl http://oss.oracle.com/projects/firewire/dist/files/kernel-2.4.20-18.10.1.i686.rpm
List files in RPM file. This command allows you to query a (possibly) uninstalled RPM file with the use of the the "-p" option. You can use the "-p" option to operate on an RPM file without actually installing anything. This command lists all files in an RPM file you have in the current directory. Also note that RPM can query remote files through the FTP and HTTP protocols.
# rpm --verify mysql
To verify an installed package. This command will list all files that do NOT pass the verify tests (done on size, MD5 signature, etc). Where a file does NOT pass, the output is listed using the following codes that signify what failed:S File sizeTake for example the following:
M Mode (includes permissions and file type)
5 MD5 sum
L Symlink
D Device
U User
G Group
T Mtime# rpm --verify mysqlThis example indicates that file /etc/my.cnf failed on:
S.5....T c /etc/my.cnfFile sizeHowever, the "c" tells us this is a configuration file so that explains the changes. It should still be looked at to determine what the changes were.
MD5 Sum
Modified Time
# rpm --checksig foo
To check a RPM signature package. This command checks the PGP signature of specified package to ensure its integrity and origin. Always use this command first before installing a new RPM package on your system. Also, GnuPG or Pgp software must be already installed on your system before you can use this command.
/etc/sysconfig/clock
sets whether the hardware clock
is stored as UTC or local time. /etc/localtime
to /usr/share/zoneinfo/...
to set your timezone. date MMDDhhmm
'' to set the current system
date/time. /sbin/hwclock --systohc [--utc]
'' to set the
hardware clock.This will take a "I-am-yoda" string and print out
yoda
am
i
Very useful for the next Star Wars sequel
awk -F '-' '{ for (i = NF; i > 0; --i) print $i }'
If you just want the last word, do this
echo $LOCAL | awk -F '-' '{ i = NF; print $i }'
It's rather difficult to find this on the internet. Hope it's useful.
awk -F '-' '{ i = NF; print $'${BASHVARIABLE}'}'
Lifted from smp-faq:
# make [modules|zImage|bzImages] MAKE="make -jX"Where X=max number of processes. WARNING: This won't work for "make dep".
Since running multiple compilers allows a machine with sufficient memory to use use the otherwise wasted CPU time during I/O caused delays make MAKE="make -j 2" -j 2 actually even helps on uniprocessor boxes (from Ralf B.chle).
Someone else posted this solution for unknown hostname with dhcp soloaris.
First of all, For Solaris 8 we need to edit the file /etc/init.d/network and change the line that reads. You can put a #sign before the line to disable it or change the line completely.
"dhcp") hostname=`/sbin/dhcpinfo Hostname` ;;
to
# "dhcp") hostname=`/sbin/dhcpinfo Hostname` ;;
"dhcp") hostname=`shcat /etc/nodename` ;;
Then, edit the file /etc/init.d/inetsvc and change the line that reads
hostname=`/sbin/dhcpinfo Hostname`
to
# hostname=`/sbin/dhcpinfo Hostname`
hostname=`/usr/bin/cat /etc/nodename`
Save the files and reboot the system. The system's hostname will be
the entry in the file /etc/nodename.
another version
****************************** sunmanagers.org
Sorry for the delay writing this Summary:
This *is* in the list archives but I found I had to really dig and piece it
together. maybe its just me. :-)
Here is what worked for me in hopes that it benifits others - your mileage
may vary.
Create or edit the files outlined and reboot:
/etc/nodename
yourhostname
/etc/hostname.elxl0
inet yourhostname
edit /etc/default/dhcpagent and set
REQUEST_HOSTNAME=yes
Create this script:
-cut-
/etc/init.d/set_hostname
#!/sbin/sh
HOSTNAME=`cat /etc/nodename`
echo "Setting hostname to $HOSTNAME... \c"
uname -S $HOSTNAME
echo "Done."
-cut-
Symlink /etc/init.d/set_hostname to /etc/rc2.d/S70set_hostname
Thanks to Hichael Morton, Alan Pae, Paul Boven, Sid Wilroy, Gerard Henry,
Dave Miner and Mitchell Bruntel and others who replied and provided
suggestions to me.
[root@purple]# ssh-keygen -t rsacreates .ssh/id_rsa.pub
Generating public/private rsa key pair.
Enter file in which to save the key (/home/cantin/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/cantin/.ssh/id_rsa.
Your public key has been saved in /home/cantin/.ssh/id_rsa.pub.
The key fingerprint is:
ba:d0:f0:0d:de:ad:be:ef:ff:aa:dd:ee:99:88:77:dd root@purple
X11 Session Forwarding
One lesser known feature of X windows is its network transparency. It was designed to be able to transmit window and bitmap information over a network connection. So essentially you can login to a remote desktop machine and run some X windows program like Gnumeric, Gimp or even Firefox and the program will run on the remote computer, but will display its graphical output on your local computer.
To try this out, you will need an account on a remote computer that has X windows installed with some X windows applications. suso.org servers do not have any such programs so you will need to either login to one of your other workstations or another server that does have them. The key to making it work is using the -X option, which means "forward the X connection through the SSH connection". This is a form of tunneling.
ssh -X username@desktopmachine.domain.com
If this doesn't work, you may have to setup the SSH daemon on the remote computer to allow X11Forwarding, check that the following lines are set in /etc/ssh/sshd_config on that computer:
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes
For some newer programs and newer versions of X windows, you may need to use the -Y option instead for trusted X11 forwarding. Try using this option if your X11 windows program fails to start running with a message like this one that was for Gimp:
The program 'gimp-2.2' received an X Window System error.reset server keys
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
(Details: serial 154 error_code 3 request_code 38 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error()
function.)
The Firefox Web browser is quickly becoming one of the most prominent Web browsers available. The fact that it is cross-platform makes it a comfortable browser for users who have to use more than one OS. There are, however, a number of hidden "gems" that you can enable that make Firefox even more powerful than it is "out of the box."
To increase the speed of opening Web pages, there are two options you can tweak. The first is to enable HTTP pipelining, which allows Firefox to request multiple files simultaneously rather than one at a time. To enable this, type about:config in the address bar. Scroll down the list until you find network.http.pipelining and set it to true. You can also enable network.http.proxy.pipelining as well.
To speed up rendering speeds, you can tell Firefox not to wait the default quarter second before drawing Web content. The option to look for here is the nglayout.initialpaint.delay, but it may not be displayed in the preference list by default. If not, right-click on the screen and select New | Integer. Type nglayout.initialpaint.delay as the preference name and the number 0 as the value. By default, Firefox uses a value of 250 (milliseconds).
Finally, the last gem is not a preference
modification but an
invaluable extension that is extremely useful for anyone doing Web
development.
In Firefox, click Tools | Extensions and a new box will open. Click on
Get More
Extensions. In the new page that opens, click on Developer Tools under
the All
Extensions sidebar. Jump to the last page and install the Web Developer
extension. Once the extension is installed, restart Firefox and you'll
see a
new toolbar with a number of options that include the ability to
quickly
validate HTML and CSS, view image dimensions, outline tables and table
cells,
and a lot more.
pdp11 collection
X windows, XDM, etc
If you already have XDM up and running, you can skip ahead to the
section on customizing XDM.
http://www.linuxjournal.com/article/3325
Setting up XDM requires you to change the run level of your system. The run level controls which mode the system is running in when it is rebooted. It can run in single user mode, multiuser mode without networking, multiuser mode with networking and multiuser mode with XDM running. My system is Red Hat 5.1 and it uses run level 3 for normal multiuser operation and run level 5 for XDM operation (multiuser, plus starting X at boot time). Edit your /etc/inittab file as the root user to change the run level of the system. First, make sure the XDM run level exists in /etc/inittab. It should look something like this and is usually located near the end of the file:
# Run XDM in run level 5
x:5:respawn:/usr/bin/X11/xdm -nodaemon
This is the entry from Red Hat 5.1. Slackware, Debian, SuSE and other Linux Distributions with X should be similar. The run level number is 5 in this case, but may be different in your distribution.
You can test the XDM run level by typing init 5. If the login box appears and everything looks okay, you can change the default initlevel for bootup or experiment with the XDM changes without rebooting your system. If you don't want XDM to start at boot time, skip ahead to the next section.
Make a backup copy of the /etc/inittab file before you change anything. Rename it to something like inittab.bak.1, then look for the initdefault line, which is usually near the start of the /etc/inittab file. Since you are not yet running XDM, yours probably looks something like this:
id:3:initdefault:
To make your system start XDM at boot time, you change the 3 in this line to equal the number in the XDM run level line. In my case, I changed the 3 to a 5. Reboot your system, and a gray screen with a box in the middle asking for a user name and password will appear. You can log in and make sure everything is running okay, but that isn't necessary to complete this tutorial.
Now that XDM is up and running, we can start making changes. We will be switching between a text-mode login and the XDM screen. To get to the text mode console, press <H>ctrl<H>-<H>alt<H>-F1; to get back to the XDM screen, press <H>ctrl<H>-<H>alt<H>-F7. With some distributions, you may have to use <H>ctrl<H>-<H>alt<H>-F6 for the XDM screen.
Change to text mode and log in as root. Change directories to /usr/lib/X11/xdm and look at the files present in this directory. These files control the behavior of your system when XDM is started and a user logs in using XDM. The files we are concerned with are:
Xsetup (or Xsetup_0), which sets up the XDM screen
Xresources, which controls the behavior of the xlogin widget
Let's start by changing the background color to something other than gray. You can use any program which can display an image or color on the background, which is sometimes called the root window. One program included with the X distribution is xsetroot. Edit the Xsetup file and comment out any programs that may already be setting the background image, like xbanner, xv or xsetroot. Add the following line:
/usr/X11R6/bin/xsetroot -solid steelblue
Color names like steelblue are defined in the /usr/lib/X11/rgb.txt file. This maps color names to the actual Red/Green/Blue color settings, making things more readable. If you use a color name that has spaces in it, you need to enclose them in quotes, e.g., ``navy blue''.
Save the Xsetup file and switch back to the XDM display by using <H>ctrl<H>-<H>alt<H>-F7 (or F6, depending on which virtual console the X server is using for its display). Then restart XDM by pressing <H>ctrl<H>-<H>alt<H>-<H>backspace<H>. Note: do not use the <H>del<H> key. It will reboot the whole system instead of just restarting XDM.
You should now have a nice, solid steel-blue background. You can experiment with different colors until you find one that you like.
A bitmap can be used to tile (copied over and over to cover the whole display) a simple two-color image onto the background instead of a solid color. There should be a collection of bitmaps in /usr/include/X11/bitmaps. You can also create your own using the bitmap program included with X windows. Try changing the xsetroot line to this:
/usr/X11R6/bin/xsetroot -bitmap\
/usr/include/X11/bitmaps/xsnow
Restart XDM as before, and you should now have a nice winter scene. You can change the foreground and background color with the bitmap by adding the -fg and -bg options and specifying a color. Try changing it to this:
/usr/X11R6/bin/xsetroot -bitmap\Not the most wonderful colors for snow, but you get the idea. The colors recognized by the -fg and -bg options are the same as the ones in the rgb.txt file discussed above.
/usr/include/X11/bitmaps/xsnow -fg blue -bg yellow
You can also tile color bitmaps stored in the xpm format. The xpmroot program is used for this. Change the xsetroot line to something like this:
/usr/X11R6/bin/xpmroot\
/usr/include/X11/pixmaps/file.xpm
Now that we can display colors and tiled bitmaps on the background, it is time to display a picture on the background. To do this, I use a shareware graphics program called xv. You can get it from the xv home page at http://www.trilon.com/xv/, or it may be included with your Linux distribution. Remember, this is shareware, and you should support the author by sending him $25 if you find his program useful.
I have chosen to use xv, but any program capable of displaying an image on the background can be used. For xv, you tell it to display the image centered on the background. You also want it to exit immediately after displaying the image; otherwise, XDM will hang until the xv program is exited manually.
/usr/X11R6/bin/xv -root -rmode 5 -quit\
/root/.gromit01.jpg
I use this to put a picture in the center of the display. To view your changes, save the Xsetup file and press <H>ctrl<H>_<H>alt<H>-F7 to switch back to the XDM screen. Press <H>ctrl<H>-<H>alt<H>-<H>backspace<H> to restart the X server. You should now see your image in the center of the screen, covered by the login box. xv supports several other placement options using the -rmode command. You can see a list of these options by typing xv -rmode -1.
With the help of a simple Perl script, you can display a random image on the background each time XDM is run. Listing 1 is a simplified version of a script written by Scott Scriven, toykeeper@cheerful.com.
Type in this program or download it from ftp://ftp.ssc.com/ftp/pub/lj/listings/issue68/3325.tgz. and save it as /usr/local/bin/bkgd. Make sure execute permissions are set by typing:
chmod ugo+x /usr/local/bin/bkgd
You may also have to change the path to xv and find to match your local setup. Including the absolute paths in the script ensures it will work correctly, even when the $PATH environment variable isn't set.
To load a random background, change the xv line in Xsetup to usr/local/bin/bkgd instead. Create a /usr/lib/X11/backgrounds directory and fill it with your favorite images. A couple of good places to look for background images are http://www.digitalblasphemy.com/ and http://ipix.yahoo.com/.
Listing 2 is a working Xsetup file with the intermediate steps commented out with ``#'' characters.
listing 1:
#!/usr/bin/perl -w
# This picks a random background from
# /usr/local/lib/X11/backgrounds,
# and calls an image viewer to set it as the
# background.
# This script is released under the GPL version 2.
# Putting the picture into a sub-directory named
# max will make sure it is
# resized to take up the whole background.
# Feel free to change the directory the images are
# stored in...
$bkgddir = "/usr/lib/X11/backgrounds";
# And if you'd like to use a different viewer, set
# it here.
$xv = "/usr/bin/X11/xv -root -quit +noresetroot\
-rmode 5";
$max = " -maxpect";
srand;
$tmp = '/usr/bin/find $bkgddir/* ! -type d\
-print';
@pictures = split(/\n/,$tmp);
$picture = splice(@pictures, rand @pictures, 1);
if($picture =~ /max/) { $xv .= $max; }
#!/bin/sh
# $XConsortium: Xsetup_0,v 1.3 93/09/28 14:30:31
# gildea Exp $
# Display gromit's picture on a black background
# /usr/bin/X11/xv -root -rmode 5 -quit
# /root/.gromit01.jpg
# Display a random image
/usr/local/bin/bkgd 1> /tmp/bkgd.1.log 2> /tmp/bkgd.2.log &
# Set the background to a color
#/usr/X11R6/bin/xsetroot -solid steelblue
# Tile the snowflake bitmap on the background
#/usr/X11R6/bin/xsetroot -bitmap /usr/include/X11/bitmaps/xsnow -fg blue
-bg\
yellow
# Tile an .xpm file on the background
#/usr/X11R6/bin/xpmroot
#/usr/include/X11/pixmaps/xpovicon.xpm
# Display a clock with black background and white
# hands
/usr/bin/X11/xclock -hl white -hd white -bg black\
-fg white -geometry 100x100+0+0 &
Now we want to customize the xlogin box using the /usr/lib/X11/xdm/Xresources file. This file is also used for configuring other XDM widgets like the chooser, but we aren't going to deal with these other options here--see the XDM man page to learn about them.
We can move the xlogin box, resize it, change its color, its fonts and what it says. I have moved mine into the lower-right corner and made it as small as I can, so that it doesn't cover up the background image.
The XDM xlogin widget uses X resources to specify these settings. They are all stored in the Xresources file and are read by XDM each time it restarts. A list of the available options, taken from the XDM man page, is shown in ``Xresources Options''. I will go through each option and explain its use.
I have ignored several more advanced xlogin resources, some of which may appear in the Xresources file. It is safe to leave them alone--the defaults set when you installed X should work fine. The XDM man page contains full descriptions of each option, if you want to experiment with them.
The .width, .height, .x and .y settings can be used to set the size and screen position of the xlogin box, or you can use .geometry to specify all of these at once. Let's move the login box to the lower-right corner and make it 300 by 250 pixels. The screen coordinates to be used start with 0,0 in the upper-left corner, and the coordinates of the lower-right corner will depend on your screen resolution. But X has another way to specify coordinates: -0,-0 is the lower-right corner of the display, no matter what the screen size. Add this line to the Xresources file, near the other xlogin* definitions:
xlogin*geometry: 300x250-0-0
Save the file and restart the x server as you did after changing the background image. Your login box should now fit snugly into the lower-right corner of the display, revealing more of your background image.
Now we can change the colors. There are five resources relating to color in the above table. First, change the default foreground and background colors for the box using the xlogin*foreground and .background settings. Let's make it black on blue:
xlogin*foreground: black
xlogin*background: steelblue
Save and restart the X server to make sure your changes have taken effect. The greeting and login prompt did not change color, because you haven't changed them yet. You must specify each individual color you want to change. The .greetColor setting is the greeting that is displayed at the top of the box. .promptColor is the login: and password: prompt color, as well as the text you enter for your user name. .failColor is used for when the user name or password entered is invalid.
Try out these settings:
xlogin*foreground: black
xlogin*background: steelblue
xlogin*greetColor: white
xlogin*promptColor: grey
xlogin*failColor: red
Not a terribly inspiring color scheme, but better than black on white. Play around with it until you find the colors you like.
The resources that control the four fonts we want to change are:
xlogin*font: used for displaying the typed-in user name
xlogin*greetFont: used to display the greeting
xlogin*promptFont: used to display the prompts username: and password:
xlogin*failFont: used for displaying that the login failed
Fonts under X are difficult to deal with. They have an abundance of options and modifiers, most of which are never used. The xfontsel program can make font selection much easier. Just browse through the fonts, selecting the font style, size and attributes you want. Then click on the select button and paste the font string into the Xresources file using your middle mouse button, or both mouse buttons at once if you have a two-button mouse. Add these lines to your Xresources file:
xlogin*font:\Experiment with the different fonts and sizes until you find something you like.
-*-courier-bold-r-*-*-18-*-*-*-*-*-*-*
xlogin*greetFont:\
-*-helvetica-bold-r-*-*-24-*-*-*-*-*-*-*
xlogin*promptFont:\
-*-lucidatypewriter-bold-r-*-*-18-*-*-*-*-*-*-*
xlogin*failFont:\
-*-times-bold-i-*-*-24-*-*-*-*-*-*-*
You can also specify the text that is displayed for each of the four prompts associated with the xlogin widget. .greeting can be set to CLIENTHOST and will display the full host name of the system it is running on. The .namePrompt value is displayed to ask for the user name, .passwdPrompt asks for the password, and .fail is displayed when an unsuccessful login occurs. For example:
xlogin*greeting: Welcome!
xlogin*namePrompt: Name:\040
xlogin*passwdPrompt: Password:
xlogin*fail: !WRONG!
X distributions usually include the xclock program which can display a nifty looking analog clock. Add it to your XDM screen by inserting this line in your Xsetup file:
xclock -hl white
-hd white -bg black -fg white\ -geometry 100x100+0+0 &
This will display an analog clock of moderate size in the upper-left corner of the screen. The clock may stay running, even after a user has logged in.
Well, that's about it for the basic customization of XDM. There are many things to play with, and hopefully I have given you a good framework with which to begin experimenting. No two users have the same tastes, so it may take some time before you finally get the look and feel you want.
Login manager:
/etc/sysconfig/displaymanager and change
DISPLAYMANAGER=”xdm” to
DISPLAYMANAGER=”kdm”
********************
radio stations
demento
station |
link |
wktg Madisonville
Ky. |
WKTG |
klfx harker Hts tx |
KLFX |
wips crown pt, ny |
WIPS |
WKTG Madisonville Ky.
development
doxygen homepage
headlines
vet irvine animal
services 714-573-1890
Suse | Yast |
Gentoo | stage3 |
Debian |
Debootstrap |
rpmstrap |
|
fedora core |
yum |
The .netrc should be in your home-directory and the permissions on the file should be unreadable for everybody except the owner:
[~] chichi>ls -al .netrc |
You can set to these settings with chmod 600 .netrc.
The first part of the .netrc is filled up with host-definitions:
machine ftp.freebsd.org |
What it is saying now is nothing more than "If you connect to ftp.freebsd.org, login as anonymous and use test@someplace.com as password." and "If you connect to myownmachine, login as myusername and use mypassword as password.".
This part of the .netrc consists of macros which can be used to perform automated tasks:
macdef uploadtest |
Keep in mind that there should be an empty line after the last macdef statement. If you don't do this, ftp will complain about it.
The first one is saying "Go to the /pub/tests directory, switch to binary mode, put a file there and quit it". The second one is saying the same, except that the name of the file is based on a parameter on the macro-call (see Usage of the .netrc for more about this).
Macros can be called from both inside ftp:
[~] chichi>ftp myownmachine |
...or from on the command-line:
[~] chichi>echo "\$ uploadtest" | ftp myownmachine |
There is not much information here, because ftp doesn't expect a terminal here. If you use ftp -v, there will be more output.
An example with arguments is
[~] chichi>echo "\$ dailyupload `date +'%Y%m%d'`"
$ dailyupload 20010827
[~] chichi>echo "\$ dailyupload `date +'%Y%m%d'`" | ftp myownmachine
ftp: connect to address ::1: Connection refused
Trying 127.0.0.1...
100% |**************************************************| 1103 00:00 ETA
Signals
First the signals described in the original POSIX.1-1990 standard.
Signal | Value | Action | Comment |
SIGHUP | |||
|
or death of controlling process | ||
SIGINT | 2 | Term | Interrupt from keyboard |
SIGQUIT | 3 | Core | Quit from keyboard |
SIGILL | 4 | Core | Illegal Instruction |
SIGABRT | 6 | Core | Abort signal from abort(3) |
SIGFPE | 8 | Core | Floating point exception |
SIGKILL | 9 | Term | Kill signal |
SIGSEGV | 11 | Core | Invalid memory reference |
SIGPIPE | 13 | Term | Broken pipe: write to pipe with no readers |
SIGALRM | 14 | Term | Timer signal from alarm(2) |
SIGTERM | 15 | Term | Termination signal |
SIGUSR1 | 30,10,16 | Term | User-defined signal 1 |
SIGUSR2 | 31,12,17 | Term | User-defined signal 2 |
SIGCHLD | 20,17,18 | Ign | Child stopped or terminated |
SIGCONT | 19,18,25 | Cont | Continue if stopped |
SIGSTOP | 17,19,23 | Stop | Stop process |
SIGTSTP | 18,20,24 | Stop | Stop typed at tty |
SIGTTIN | 21,21,26 | Stop | tty input for background process |
SIGTTOU | 22,22,27 | Stop | tty output for background process |
The signals SIGKILL and SIGSTOP cannot be caught,
blocked, or ignored.
ex:
kill -SIGUSR2 `cat /var/run/xinetd.pid`
kill -SIGUSR2 `pidof someprocess`