Sigar
둘러보기로 가기
검색하러 가기
다양한 OS에서 동작하는 모니터링 Java API인 Hyperic SIGAR를 정리 합니다.
- 홈페이지 : http://sourceforge.net/projects/sigar/
- 다운로드 : http://sourceforge.net/projects/sigar/files/?source=navbar
- 라이선스 : Apache v2
- 플랫폼 : Java
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
참고 문헌
- 파일 다운로드