Introduction to System Commands in FineBI

  • Last update:  2023-03-27
  • Overview

    During the operation of FineBI, some processes will execute system commands and requests on the server. This article will introduce some system commands in FineBI, allowing you to report security issues.

    Introduction

    Module

    Linux Command

    Purpose

    FineBI

    bash

    Check bash.

    ifconfig -a

    Get MAC address.

    sh -c cat /proc/cpuinfo | grep processor |wc -l

    CPU information

    free -g

    Memory information

    sysctl vm.max_map_count

    sysctl vm.overcommit_memory

    sysctl vm.overcommit_ratio

    Virtual information

    date -R

    Timezone information

    sh -c echo $LANG

    Language information

    sh -c hostname

    host information

    cat /etc/hosts

    host file information

    gcc --version

    sh -c strings /usr/lib64/libstdc++.so.6 | grep GLIBCXX_3.4.22

    sh -c strings /usr/lib64/libstdc++.so.6 | grep GLIBCXX_3.4.22

    gcc information

    fc-list :lang=zh

    Font information

    sh -c ulimit -a | grep 'open files'

    Open file number information.

    Cloud Operation

    cat /etc/redhat-release

    Get system information.

    cat /etc/issue

    Get system information.

    java -version

    Get JDK version information.

    cat /proc/cpuinfo | grep -w "model name" | uniq

    Get CPU model.

    cat /proc/cpuinfo |grep processor | wc -l

    Get number of CPU cores.

    ps -aux | sort -k6nr | sed -n 2p | awk '{print $6}'

    View the memory usage of the process with the second largest memory usage.

    ps -aux | sort -k6nr | sed -n 1p | awk '{print $6}'

    View the memory usage of the process with the largest memory usage.

    dmidecode -t 1

    View motherboard information.


    Attachment List


    Theme: デプロイ統合
    前の記事
    次の記事
    • いいね
    • 良くない
    • 閲覧しただけ

    フィードバック

    鼠标选中内容,快速反馈问题

    鼠标选中存在疑惑的内容,即可快速反馈问题,我们将会跟进处理。

    不再提示

    9s后关闭

    反馈已提交

    网络繁忙