Browse Source

ss command in dev-query-raw

info_messages.sh
pull/3428/head
Daniel Gibbs 4 years ago
parent
commit
5d967daf7a
  1. 1
      lgsm/functions/command_details.sh
  2. 12
      lgsm/functions/command_dev_query_raw.sh
  3. 1
      lgsm/functions/command_postdetails.sh
  4. 5
      lgsm/functions/info_messages.sh

1
lgsm/functions/command_details.sh

@ -34,6 +34,7 @@ fn_info_message_backup
if [ "${shortname}" != "jc2" ]&&[ "${shortname}" != "dst" ]&&[ "${shortname}" != "pz" ]&&[ "${engine}" != "renderware" ]; then
fn_info_message_commandlineparms
fi
fn_info_message_ports_edit
fn_info_message_ports
fn_info_message_select_engine
fn_info_message_statusbottom

12
lgsm/functions/command_dev_query_raw.sh

@ -14,6 +14,7 @@ check.sh
info_config.sh
info_parms.sh
info_distro.sh
info_messages.sh
echo -e ""
echo -e "${lightgreen}Query IP Addresses${default}"
@ -194,16 +195,7 @@ fi
echo -e ""
echo -e "${lightgreen}SS Output${default}"
echo -e "================================="
if [ "${shortname}" == "av" ]; then
echo -e "ss -tuplwn | grep AvorionServer"
echo -e ""
ss -tuplwn | grep AvorionServer
else
executableshort="$(echo "${executable//.\/}" | cut -c -15)"
echo -e "ss -tuplwn | grep ${executableshort}"
echo -e ""
ss -tuplwn | grep ${executableshort}
fi
fn_info_message_ports
echo -e ""
echo -e "${lightgreen}Query Port - Raw Output${default}"
echo -e "=================================================================="

1
lgsm/functions/command_postdetails.sh

@ -54,6 +54,7 @@ else
if [ "${shortname}" != "jc2" ]&&[ "${shortname}" != "jc3" ]&&[ "${shortname}" != "dst" ]&&[ "${shortname}" != "pz" ]&&[ "${engine}" != "renderware" ]; then
fn_info_message_commandlineparms
fi
fn_info_message_ports_edit
fn_info_message_ports
fn_info_message_select_engine
fn_info_message_statusbottom

5
lgsm/functions/info_messages.sh

@ -637,7 +637,7 @@ fn_info_message_commandlineparms(){
echo -e "${preexecutable} ${executable} ${startparameters}"
}
fn_info_message_ports(){
fn_info_message_ports_edit(){
#
# Ports
# =================================
@ -669,6 +669,9 @@ fn_info_message_ports(){
done
echo -e "${startparameterslocation}"
echo -e ""
}
fn_info_message_ports(){
echo -e "${lightblue}Useful port diagnostic command:${default}"
if [ "${shortname}" == "av" ]; then
echo -e "ss -tuplwn | grep AvorionServer"

Loading…
Cancel
Save