On Friday 2015-06-12 15:53, Bob Bernstein wrote:
Date: Fri, 12 Jun 2015 15:53:52
From: Bob Bernstein <poo...@ruptured-duck.com>
To: Debian User List <debian-user@lists.debian.org>
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 for the existence (or, as the case
may be) demise) of an ssh tunnel I use for VNC. What
should I use?
My usual approach is to look for the name of the service, like so:
systemctl -a|grep ssh
On my Debian/Jessie box, I get:
ssh.service
loaded active running OpenBSD Secure Shell server
Then you can check status, like so:
systemctl status ssh.service
Assuming it's running, the output should include a listing of the sshd
processes running.
I still find systemd to be excessively complicated and the tools
(especially systemadm) primitive, but at least now I have some idea as
to how to work the system.
--------------------------|
John L. Ries |
Salford Systems |
Phone: (619)543-8880 x107 |
or (435)867-8885 |
--------------------------|
Thanks all,
--
These are not the droids you are looking for.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive:
https://lists.debian.org/nycvar.QRO.7.75.3.1506121750100.917@arjgebyy.ybpnyqbznva
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive:
https://lists.debian.org/alpine.LSU.2.11.1506121627210.30769@snypbe.evrfraunhf.ybpny