티스토리 뷰
[Windows] 윈도우 시스템 점검 스트립트
@echo off
echo.
echo "==============================================================="
echo " 점검일자 : %data% / %time%
echo "==============================================================="
echo.
echo "==============================================================="
echo " 서버기본정보 "
echo "==============================================================="
echo.
systeminfo | findstr 호스트
systeminfo | findstr OS
systeminfo | findstr 제조업체
systeminfo | findstr 모델
systeminfo | findstr 부트
echo.
echo "==============================================================="
echo " CPU사용률 (할당된 메모리) "
echo "==============================================================="
echo.
typeperf "\processor(_total)\%% processor time" -sc 3
echo.
echo "==============================================================="
echo " Memory 사용률 "
echo "==============================================================="
echo.
typeperf "\memory\%% committed bytes in use" -sc 3
echo.
echo "==============================================================="
echo " Disk 남은공간(MB) "
echo "==============================================================="
echo.
echo "C드라이브"
typeperf "\Logicaldisk(c:)\Free megabytes" -sc 3
echo.
echo "D드라이브"
typeperf "\Logicaldisk(d:)\Free megabytes" -sc 3
echo.
echo "E드라이브"
typeperf "\Logicaldisk(e:)\Free megabytes" -sc 3
echo.
echo "==============================================================="
echo " Disk 사용률 "
echo "==============================================================="
echo.
echo "C드라이브"
typeperf "\Logicaldisk(c:)\%% Free Space" -sc 3
echo.
echo "d드라이브"
typeperf "\Logicaldisk(d:)\%% Free Space" -sc 3
echo.
echo "e드라이브"
typeperf "\Logicaldisk(e:)\%% Free Space" -sc 3
echo.
echo "==============================================================="
echo " 시간동기화 확인 (NTP서버 : x.x.x.x)"
echo "==============================================================="
echo.
w32tm /stripchart /dataonly /computer:x.x.x.x /samples:5
echo.
'Windows' 카테고리의 다른 글
[Windows] 윈도우 파일 자동삭제 스크립트 (0) | 2018.02.07 |
---|---|
[Windows] 윈도우 CMD 명령어 (0) | 2018.02.07 |
- Total
- Today