안되면되게하자
안되면되게하자
안되면되게하자
전체 방문자
오늘
어제
  • 분류 전체보기 (36)
    • Linux (1)
    • Troubleshooting (13)
    • TIP (9)
    • etc(미분류) (6)
    • 용어.약어들 (2)
    • 티스토리시작전셋팅 (4)

블로그 메뉴

  • 홈
  • 태그
  • 미디어로그
  • 위치로그
  • 방명록

공지사항

인기 글

태그

  • 그림 붙이기 문제 해결 되었나
  • devtoolset
  • 20TB
  • Received message too long
  • iDRAC9
  • R730
  • iDRAC8
  • centos
  • Dell
  • +1 647 477 8345
  • Ansible
  • xsos
  • webapp2
  • 티스토리 다시 시작
  • PIP
  • ST20000NE000
  • jinja2
  • pip3
  • grafana
  • VxRail

최근 댓글

최근 글

티스토리

hELLO · Designed By 정상우.
안되면되게하자

안되면되게하자

xsos 명령어 좋다~
Linux

xsos 명령어 좋다~

2023. 1. 13. 20:05

1. 설치 방법

wget https://raw.github.com/ryran/xsos/master/xsos 
chmod 777 xsos 
cp xsos /usr/bin

 

2. 사용 방법

  • 명령어만 실행해도 기본적으로 이쁘게 잘 출력해준다.
  • 옵션이 a~t까지 다양하게 있다.
Content options:
 -a, --all       show everything
 -b, --bios      show info from dmidecode
 -c, --cpu       show info from /proc/cpuinfo
 -d, --disks     show info from /proc/partitions, dm-multipath, lsblk, df
 -e, --ethtool   show info from ethtool
 -f, --intrupt   show info from /proc/interrupts
 -F, --firewall  show firewall status
 -g, --bonding   show bonding and teaming info
 -h, --help      show help
 -i, --ip        show info from ip addr (BASH v4+ required)
     --net       alias for: --lspci --ethtool --softirq --netdev --bonding --ip
 -I, --ifcfg     show ifcfg files summary
 -j  invalid option
 -k, --kdump     inspect kdump configuration
 -l, --lspci     show info from lspci
 -m, --mem       show info from /proc/meminfo
 -n, --netdev    show info from /proc/net/dev
 -N, --netstat   |show ifcfg files summary
 -o, --os        show hostname, distro, SELinux, kernel info, uptime, etc
 -p, --ps        inspect running processes via ps
 -q  invalid option
 -r, --softirq   show info from /proc/net/softnet_stat
 -s, --sysctl    show important kernel sysctls
 -S, --ss        inspect running processes via ss
 -t, --mpath     show info from dm-multipath
 
Display options:
 -q, --wwid=ID      restrict dm-multipath output to a particular mpath device,
                    where ID is a wwid, friendly name, or LUN identifier
 -u, --unit=P       change byte display for /proc/meminfo & /proc/net/dev,
                    where P is "b" for byte, or else "k", "m", "g", or "t"
     --threads      make ps take threads into account (via `ps auxm`)
 -v, --verbose=NUM  specify ps verbosity level (0-4, default: 1)
 -w, --width=NUM    change fold-width, in columns (positive number, e.g., 80)
                    "0" disables wrapping, "w" autodetects width (default)
 -x, --nocolor      disable output colorization
 -y, --less         send output to `less -SR`
 -z, --more         send output to `more`
 -6, --ipv6         parse ip addr output for IPv6 addresses instead of IPv4
     --scrub        remove from output: IP/MAC addrs, hostnames, serial numbers,
                    proxy user & passwords
ex) cpu, disk, memory
저작자표시 비영리 (새창열림)
    안되면되게하자
    안되면되게하자
    '하라'가 아닌, '하자'.... 스스로.... 방법이 없어서 안되는게 아니다... 방법을 몰라서 안되는것 이리라... 다방면으로 검색하고 알아보자...

    티스토리툴바