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

Unix, Xenix and ODT General FAQ

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

Got something to add? Send me email.





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

Printer Friendly Version

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




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





We are stuck with technology when what we really want is just stuff that works. (Douglas Adams)




FAQ



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode


SCO Unix Sales, Support, & Service

Phone:  707-SCO-UNIX (707-726-8649Toll Free: 833-SCO-UNIX (833-726-8649)
www.SCOsales.com