Re: systemd equivalent

2015-06-15 Thread Paul E Condon
On 20150612_1753-0400, Bob Bernstein wrote: > I need to steel myself to using systemd commands. What would be the > "systemd-correct" form of this: > > $ ps ax | grep ssh > > I use that to check for the existence (or, as the case may be) demise) of > an ssh tunnel I use for VNC. What should I us

Re: systemd equivalent

2015-06-15 Thread Darac Marjal
On Fri, Jun 12, 2015 at 05:53:52PM -0400, Bob Bernstein wrote: > I need to steel myself to using systemd commands. What would be the > "systemd-correct" form of this: > > $ ps ax | grep ssh > > I use that to check for the existence (or, as the case may be) demise) of > an ssh tunnel I use for VN

Re: systemd equivalent

2015-06-14 Thread Bob Holtzman
On Sun, Jun 14, 2015 at 07:25:36PM +0100, Brian wrote: > On Sun 14 Jun 2015 at 13:51:47 -0400, Bob Bernstein wrote: > > > On Sun, Jun 14, 2015 at 12:19:30PM +0100, Brian wrote: > > > > > I think everyone is trying to point out you have encountered > > > the age-old Square Peg in a Round Hole con

Re: systemd equivalent

2015-06-14 Thread Brian
On Sun 14 Jun 2015 at 13:51:47 -0400, Bob Bernstein wrote: > On Sun, Jun 14, 2015 at 12:19:30PM +0100, Brian wrote: > > > I think everyone is trying to point out you have encountered > > the age-old Square Peg in a Round Hole conundrum. > > I knew you wouldn't let me down. *plonk* The objectiv

Re: systemd equivalent

2015-06-14 Thread Bob Bernstein
On Sun, 14 Jun 2015, Ansgar Burchardt wrote: No, systemd is not supposed to replace standard system utilities. I have never believed nor claimed that it was thus "supposed" to be anything of the sort. I framed a query about it, and various subscribers read into that what they wished. (Als

Re: systemd equivalent

2015-06-14 Thread Bob Bernstein
On Sun, Jun 14, 2015 at 12:19:30PM +0100, Brian wrote: > I think everyone is trying to point out you have encountered > the age-old Square Peg in a Round Hole conundrum. I knew you wouldn't let me down. *plonk* -- Bob Bernstein -- To UNSUBSCRIBE, email to debian-

Re: systemd equivalent

2015-06-14 Thread Brian
On Sun 14 Jun 2015 at 05:14:53 -0400, Bob Bernstein wrote: > On Sun, 14 Jun 2015, Frederic Marchal wrote: > > >Why do you think systemd has a way of doing everything other tools > >are designed for? > > That's not a thought I have ever harbored or expressed. > > My initial question was _meant_

Re: systemd equivalent

2015-06-14 Thread Ansgar Burchardt
Bob Bernstein writes: > My initial question was _meant_ to be, simply: can this (ps ax|grep > ssh) be done, or approximated to, using sysctl? No, systemd is not supposed to replace standard system utilities. (Also sysctl is a completely unrelated tool to configure kernel parameters; the systemd u

Re: systemd equivalent

2015-06-14 Thread Bob Bernstein
On Sun, 14 Jun 2015, Frederic Marchal wrote: Why do you think systemd has a way of doing everything other tools are designed for? That's not a thought I have ever harbored or expressed. My initial question was _meant_ to be, simply: can this (ps ax|grep ssh) be done, or approximated to, u

Re: systemd equivalent

2015-06-14 Thread Sven Arvidsson
On Sat, 2015-06-13 at 16:35 -0400, Bob Bernstein wrote: > But it turns out I haven't yet found a way to do that, > that is, replicate (more or less) the output of 'ps > ax| grep ssh' using sysctl commands. They don't seem > to register, as it were, my ssh tunnel. But systemd manages services (d

Re: systemd equivalent

2015-06-13 Thread Frederic Marchal
On Saturday 13 June 2015 22:52:22 Bob Bernstein wrote: > On Sat, 13 Jun 2015, Brian wrote: > > You don't mean that, do you? After all, you do use > > its functionality for booting. :) > > Thanks for that. You may be right. > > BUT...hrrrmmm...just to show that I can be as > reasonable as the next

Re: systemd equivalent

2015-06-13 Thread Bob Bernstein
On Sat, 13 Jun 2015, Brian wrote: You don't mean that, do you? After all, you do use its functionality for booting. :) Thanks for that. You may be right. BUT...hrrrmmm...just to show that I can be as reasonable as the next fellow, allow me to ask if perhaps there was something actually help

Re: systemd equivalent

2015-06-13 Thread Brian
On Sat 13 Jun 2015 at 16:35:39 -0400, Bob Bernstein wrote: > On Sat, 13 Jun 2015, Sven Arvidsson wrote: > > >Not sure I follow, why would you use a different way to list > >processes just because you're using systemd? > > Well, the thing is, I am so gunshy about systemd that I am _not_ > using i

Re: systemd equivalent

2015-06-13 Thread Bob Bernstein
On Sat, 13 Jun 2015, Sven Arvidsson wrote: Not sure I follow, why would you use a different way to list processes just because you're using systemd? Well, the thing is, I am so gunshy about systemd that I am _not_ using its functionality for anything right now! SO, I thought I might coax m

Re: systemd equivalent

2015-06-13 Thread Sven Arvidsson
On Fri, 2015-06-12 at 17:53 -0400, Bob Bernstein wrote: > I need to steel myself to using systemd commands. What > would be the "systemd-correct" form of this: > > $ ps ax | grep ssh > > I use that to check for the existence (or, as the case > may be) demise) of an ssh tunnel I use for VNC. Wh

Re: systemd equivalent

2015-06-12 Thread Bob Bernstein
On Fri, 12 Jun 2015, John L. Ries wrote: Then you can check status, like so: systemctl status ssh.service The output of this command (above) doesn't change after a tunnel is started. My old clunky ps command tells me the tunnel is there: # ps ax |grep ssh 458 ?Ss 0:00 /usr/s

Re: systemd equivalent

2015-06-12 Thread John L. Ries
On Friday 2015-06-12 15:53, Bob Bernstein wrote: Date: Fri, 12 Jun 2015 15:53:52 From: Bob Bernstein To: Debian User List Subject: systemd equivalent I need to steel myself to using systemd commands. What would be the "systemd-correct" form of this: $ ps ax | grep ssh I use that to check fo