APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

Unix, Xenix and ODT General FAQ

Some material is very old and may be incorrect today

© December 2003 (various)

This article is from a FAQ concerning SCO operating systems. While some of the information may be applicable to any OS, or any Unix or Linux OS, it may be specific to SCO Xenix, Open There is lots of Linux, Mac OS X and general Unix info elsewhere on this site: Search this site is the best way to find anything.

Killall doesn't work! (Old Sco Unix)

Well, actually it does- it's just a very different command than what you might think.

Solaris, Linux and Bsd users are accustomed to using killall to kill processes by name. SCO (and old Sunos too) use killall quite differently. They use it as part of shutdown to kill off stuff before shutting down. Here's what happens with SCO if you type "killall mozilla-bin" as root. (thanks to Bela Lubkin for some enlightenment here):

"mozilla-bin" gets converted to a number. Fortunately, that's 0, because "killall" then builds a list of processes and sends them a signal 0. Signal 0 does nothing, so no harm done in this case. But if we had said "killall 9lives" instead, it would have sent a signal 9 to just about everything running. That could upset a few people.

See "man killall" for the gory details. Try "killall -v mozilla-bin" on SCO if you like - but don't try "9lives" unless you don't care what gets killed (the -v shows the processes affected).

John Dubois's "maim" program is similar to Linux/Bsd killall:

"maim" script

If you found something useful today, please consider a small donation.

Got something to add? Send me email.

(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

-> (SCO Unix) Killall doesn't work!

Inexpensive and informative Apple related e-books:

Take Control of OS X Server

Take Control of the Mac Command Line with Terminal, Second Edition

Take Control of Preview

iOS 8: A Take Control Crash Course

Take Control of Apple Mail, Third Edition

Printer Friendly Version

Have you tried Searching this site?

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us

Printer Friendly Version

The teaching of BASIC should be rated as a criminal offence: it mutilates the mind beyond recovery. (Edsger W. Dijkstra)

Linux posts

Troubleshooting posts

This post tagged:


Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode