Xref: utzoo comp.unix.wizards:24595 comp.unix.internals:2452 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uwm.edu!ogicse!intelhf!ichips!inews!khouglan From: khouglan@autoc3.intel.COM (Kriss Hougland~) Newsgroups: comp.unix.wizards,comp.unix.internals Subject: Monitoring processes and machines (program itself and central) Keywords: Uhm, Help! Message-ID: <3545@inews.intel.com> Date: 29 Mar 91 03:50:23 GMT Sender: news@inews.intel.com Reply-To: khougland@sedona.intel.com Distribution: na Organization: ASU/Intel High Tech Grad Slaves Inc. Lines: 36 I'm intrested in being able to keep tabs on our whole domain. That way, when people log off for the day; it's usable CPU time! The unfortune problem is that sometimes the programs crash and burn by themselves and sometimes ye old operator does a kill -9 one them. What I am wondering is: 1) Where can I find say the source code for a "ps" function so I don't have to C shell out and get the info. 2) I'm trying to find the "ofiles" on a comp.source.unix machine. (so far no luck.) 3) I'm trying to figure out if there is a way to totally swap out the program (context or whatever) so I can resume execution later. Or at worst, have a central program (daemon time) that will kill it remotely. (like when someone comes in the morning and logs on, I want to either kill the process via a central program on another machine -- trying to use sockets now, or swap out the program so people don't gripe and get the operator to do a #9 on it.) Currently, I don't have source for the number crunching programs. Please post any comments or suggestions. I hope I have not screwed up my point, but I have a feeling that other people might be intrested in distributive computing the chuncky way other than using "at". All rights given, All wrongs deserved! -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- Addresses: !Disclaimer: All information is my own and is not that khouglan@hopi.intel.com ! my employer. "Opportunity came knocking, but I was askah@acvax.inre.asu.edu! in the bathroom." (ME) -- -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- Addresses: !Disclaimer: All information is my own and is not that khouglan@hopi.intel.com ! my employer. "Opportunity came knocking, but I was askah@acvax.inre.asu.edu! in the bathroom." (ME)