countryboy
New Member
Hi All,
I am trying to see what the best way to do a continuous ping even if my ssh session is disconnected.
I've tried detaching using the screen command.
I've tried using nohop
I've tried using disown
I've tried using setsid
I do not have root access (since I'm not consider an engineer). So I'm not sure if this is something that a non-root user can do, but figure I ask to see.
Below should be the Server info you need.
Servername:~ $ cat /etc/os-release
NAME="Red Hat Enterprise Linux Server"
VERSION="7.6 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="7.6"
PRETTY_NAME="Red Hat Enterprise Linux Server 7.6 (Maipo)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:7.6:GA:server"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
REDHAT_BUGZILLA_PRODUCT_VERSION=7.6
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="7.6"
Servername:~ $ lsb_release -a
LSB Version: :core-4.1-amd64:core-4.1-noarch
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 7.6 (Maipo)
Release: 7.6
Codename: Maipo
Servername:~ $ hostnamectl
Static hostname: Servername
Icon name: computer-vm
Chassis: vm
Machine ID: <Redacted>
Boot ID: <Redacted>
Virtualization: <Redacted>
Operating System: Red Hat Enterprise Linux Server 7.6 (Maipo)
CPE OS Name: cpe:/o:redhat:enterprise_linux:7.6:GA:server
Kernel: Linux 3.10.0-957.5.1.el7.x86_64
Architecture: x86-64
I am trying to see what the best way to do a continuous ping even if my ssh session is disconnected.
I've tried detaching using the screen command.
I've tried using nohop
I've tried using disown
I've tried using setsid
I do not have root access (since I'm not consider an engineer). So I'm not sure if this is something that a non-root user can do, but figure I ask to see.
Below should be the Server info you need.
Servername:~ $ cat /etc/os-release
NAME="Red Hat Enterprise Linux Server"
VERSION="7.6 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="7.6"
PRETTY_NAME="Red Hat Enterprise Linux Server 7.6 (Maipo)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:7.6:GA:server"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
REDHAT_BUGZILLA_PRODUCT_VERSION=7.6
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="7.6"
Servername:~ $ lsb_release -a
LSB Version: :core-4.1-amd64:core-4.1-noarch
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 7.6 (Maipo)
Release: 7.6
Codename: Maipo
Servername:~ $ hostnamectl
Static hostname: Servername
Icon name: computer-vm
Chassis: vm
Machine ID: <Redacted>
Boot ID: <Redacted>
Virtualization: <Redacted>
Operating System: Red Hat Enterprise Linux Server 7.6 (Maipo)
CPE OS Name: cpe:/o:redhat:enterprise_linux:7.6:GA:server
Kernel: Linux 3.10.0-957.5.1.el7.x86_64
Architecture: x86-64