From dpelleg+ at cs.cmu.edu Fri Mar 21 10:11:18 2003 From: dpelleg+ at cs.cmu.edu (Dan Pelleg) Date: Fri, 21 Mar 2003 10:11:18 -0500 Subject: [auton-users] collection of tips and tricks for AUTON users Message-ID: <15995.11158.187886.636456@gs166.sp.cs.cmu.edu> Over time, the users@ mailing list (this one) has received plenty of useful tips and tricks for making people's lives easier. I know that every time this kind of thing comes up, everybody saves it in a special mail folder. And also burns a copy on one of tiny CDs that you can carry in your wallet. As well as put it on one of those keyring things that can store 32 or so MB and connect over USB. BUT, just in case you forgot to save it in a folder, and got mugged, and lost your keys, and find yourself in urgent need of some shell magic, I have collected the tips into a web page. It is http://www.autonlab.org/tips.html, it is linked from the old main page, and if you'd like, you can bookmark it. Note you will need your mailing-list password in order to access the actual tips. If you don't have it, the list-server mails out the passwords once a month. -- Dan Pelleg From dpelleg+ at cs.cmu.edu Fri Mar 21 11:33:23 2003 From: dpelleg+ at cs.cmu.edu (Dan Pelleg) Date: Fri, 21 Mar 2003 11:33:23 -0500 Subject: [auton-users] using screen Message-ID: <15995.16083.286622.855995@gs166.sp.cs.cmu.edu> screen is a great little utility to help you check up on long-running jobs. For example, you can start a long experiment while in the office. You can then log in from home and check up on it. If you're thinking "duh, detached jobs", then screen will surprise you because it also works with interactive processes. EXAMPLE: from the office, you log into (say) loki and start your job, the job generates output for 3 hours, then stops to ask you a question. But you're out of the office by then... ...in the evening, from home, you log into loki, inspect the output, see the question, and reply to it so the job keeps on running END IMPRESSIVE EXAMPLE How do you use it? Before starting your job, type "screen". It will show a welcome message and then will look just like your shell again. If this is not the first time you're using screen, it will not even show the message so it would appear you're exactly where you left off. But this is not true. You are, in fact, in an alternate universe where all your keystrokes and all program output is captured. Well, in light of the PATRIOT act maybe this universe is not that different, but the point is that it is processed by screen. After you have started your job, you can make the screen shell disappear and get your normal shell back (the job will keep on running "in it"). Just type C-a d (CTRL+A, then "d"). Then, from home, log into loki and type "screen -r". You will see the output from the job and will be able to interact with it. If you forgot to quit ("detach") from the first session, you can still "steal" it later by doing a "screen -D". Screen also support multiple "windows" (much like the ones your window manager gives you, but not using any graphics - this is good if you find yourself using old dialup software). It can alert you when any new output is sent to any window, so it's also good to keep track of several jobs without cluttering your display (for example, one of the windows can be an IRC client or a long-running job). It's also a nice way to keep a network-connected process (eg, a text-based mailer or, er, an IRC client) open and active, and check up on it periodically from different locations or across reboots of your laptop (screen won't survive a reboot - it will need to run on a machine that stays up the whole time). All in all, an extremely useful tool. More than once I've slapped my forehead about not having started a job under screen. Well now, you can too. -- Dan Pelleg From pgunn at cs.cmu.edu Fri Mar 21 11:40:42 2003 From: pgunn at cs.cmu.edu (Pat Gunn) Date: Fri, 21 Mar 2003 11:40:42 -0500 (EST) Subject: [auton-users] using screen In-Reply-To: <15995.16083.286622.855995@gs166.sp.cs.cmu.edu> Message-ID: On Fri, 21 Mar 2003, Dan Pelleg wrote: > screen is a great little utility to help you check up on long-running > jobs. For example, you can start a long experiment while in the office. You > can then log in from home and check up on it. If you're thinking "duh, > detached jobs", then screen will surprise you because it also works with > interactive processes. Gah, I was just writing something like this for my auton webpage. Looks like you beat me to it :) -- Pat Gunn Research Programmer, Auton Group, CMU From romer at cmu.edu Mon Mar 24 13:30:45 2003 From: romer at cmu.edu (Kathy Romer) Date: Mon, 24 Mar 2003 13:30:45 -0500 (EST) Subject: [auton-users] attn: Dan (IDL licenses on auton machines) Message-ID: Dan, I contacted Jacob last week about updating the IDL licenses on the auton machines. He didn't reply. So can you help me do that tomorrow? That's the last day we can update them before our maintenaince contract expires. You'd have to run the ./genver script in /usr/local/rsi/bin as root and then send me the "number for today" But don't do that yet. IDL are being very tardy about replying (still blaming the snow storm in CO) and once you run that script, the existing genver license will die. CHRIS MILLER, BOB NICHOL: would there be a really bad time for you to loose IDL for a few hours on those machines? If so let me know. -------------------------------------------------------------------- Dr Kathy Romer (Assistant Professor - Physics Dept - CMU) email: romer at cmu.edu URL: http://www.cmu-astro.org/~romer phone: 412 2688351 fax: 412 6810648 office: Wean Hall 8307 regular mail: Physics Department, Carnegie Mellon University, 5000 Forbes Avenue, Pittsburgh, PA15213, USA -------------------------------------------------------------------- From Andrew_W_Moore at lime.auton.cs.cmu.edu Tue Mar 25 12:18:08 2003 From: Andrew_W_Moore at lime.auton.cs.cmu.edu (Andrew W Moore) Date: Tue, 25 Mar 2003 12:18:08 -0500 Subject: [auton-users] FYI: lion Message-ID: <20030325171846.54582F@mail.autonlab.org> ------- Forwarded Message Return-Path: Delivered-To: awm+ at ux5.sp.cs.cmu.edu Received: from UX13.SP.CS.CMU.EDU ([128.2.203.57]) by ux5.sp.cs.cmu.edu id aa18514; 25 Mar 2003 11:57 EST Received: from ux13.sp.cs.cmu.edu ([127.0.0.1]) by ux13.sp.cs.cmu.edu id aa19310; 25 Mar 2003 11:56 EST Date: Tue, 25 Mar 2003 11:56:48 -0500 (EST) From: Pat Gunn X-X-Sender: To: Facilities Help cc: Andrew Moore Subject: lion shut down, taken off the network Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-UIDL: 5395f06f7e66754108ace12375c67dbe Hello, We've shut down lion and taken it off the network. It's too slow for our uses, the person who was using it as a workstation has left, and we believe it was being attacked anyhow. - -- Pat Gunn Research Programmer, Auton Group, CMU ------- End of Forwarded Message