Re: screen question?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sep 22, 2016 12:49 PM, "bruce" <badouglas@xxxxxxxxx> wrote:
>
> Hey guys.
>
> Trying to get my heads around something. I'm looking to automate a process. Basically, I want to kick off/initiate a number of processes on remote boxes. I've looked at different online sites, but I'm missing something..
>
> I can ssh into the box, trivial.
> I know I can create a "screen" process, that allows me to then later access the 'screen' session to see the progress of the action. And of course I can access the screen and fire up my process.
>
> However, (and here's where I'm not getting how to do it) - I'd like to be able to auto/programatically :
>
> ssh into the remote box
> create the screen session (with a name I define)
> access the screen session, and then fire up/start my process
>
> If I can figure out how to do all of this initially for a test, I can of course roll out the rest of my tests...
>
> Hope this makes sense.
>
> (if someone has a chunk of code, or pointers to any code I can look at, that would be great.)
>
> I suspect this is really trivial.
>
> Thanks again...
>

Do you need to interact with this automated process?  If not, running it as a oneshot service unit might be a better fit.  I'm curious what the thing does, and what led you to screen as a way of doing it.

--Pete

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux