"Sigar"의 두 판 사이의 차이

오픈소스 비즈니스 컨설팅
둘러보기로 가기 검색하러 가기
 
 
52번째 줄: 52번째 줄:
  
 
==참고 문헌==
 
==참고 문헌==
 +
*[[ElasticSearch]]
 +
 
*[https://www.evernote.com/shard/s25/sh/10e1d1cf-7dc7-489a-87d9-b5f062df9193/f78822608200e0e753ef8084b0ac9574?noteKey=f78822608200e0e753ef8084b0ac9574&noteGuid=10e1d1cf-7dc7-489a-87d9-b5f062df9193 Sigar API 설치 및 사용법(시스템 모니터링 API), 2012.11]
 
*[https://www.evernote.com/shard/s25/sh/10e1d1cf-7dc7-489a-87d9-b5f062df9193/f78822608200e0e753ef8084b0ac9574?noteKey=f78822608200e0e753ef8084b0ac9574&noteGuid=10e1d1cf-7dc7-489a-87d9-b5f062df9193 Sigar API 설치 및 사용법(시스템 모니터링 API), 2012.11]
 
*[http://blog.naver.com/PostView.nhn?blogId=shin7688&logNo=120166198000 CPU Memory DISK 사용률 알아내는 sigar API, 2012.08]
 
*[http://blog.naver.com/PostView.nhn?blogId=shin7688&logNo=120166198000 CPU Memory DISK 사용률 알아내는 sigar API, 2012.08]

2014년 9월 12일 (금) 11:01 기준 최신판

다양한 OS에서 동작하는 모니터링 Java API인 Hyperic SIGAR를 정리 합니다.

Sigar 개요

  • CentOS에서 Sigar 사용
wget http://jaist.dl.sourceforge.net/project/sigar/sigar/1.6/hyperic-sigar-1.6.4.tar.gz
tar xvzf hyperic-sigar-1.6.4.tar.gz
cd hyperic-sigar-1.6.4
cd sigar-bin

java -jar sigar.jar                    //--- Prompt가 표시되면 help를 입력하여 도움말을 볼 수 있음
java -jar sigar.jar cpuinfo            //--- CLI 환경에서 바로 실행
  • sigar command
alias          - Create alias command
cpuinfo        - Display cpu information
df             - Report filesystem disk space usage
du             - Display usage for a directory recursively
free           - Display information about free and used memory
get            - Get system properties
help           - Gives help on shell commands
ifconfig       - Network interface information
iostat         - Report filesystem disk i/o
kill           - Send signal to a process
ls             - simple FileInfo test at the moment (like ls -l)
mps            - Show multi process status
netinfo        - Display network info
netstat        - Display network connections
nfsstat        - Display nfs stats
pargs          - Show process command line arguments
penv           - Show process environment
pfile          - Display process file info
pidof          - Find the process ID of a running program
pinfo          - Display all process info
pmodules       - Display process module info
ps             - Show process status
quit           - Terminate the shell
route          - Kernel IP routing table
set            - Set system properties
sleep          - Delay execution for the a number of seconds 
source         - Read a file, executing the contents
sysinfo        - Display system information
time           - Time command
ulimit         - Display system resource limits
uptime         - Display how long the system has been running
version        - Display sigar and system version info
who            - Show who is logged on

참고 문헌

  • 파일 다운로드