uptime 명령어 (AIX 5.3·6.1)
https://archive.horanglab.com/posts/aix-cmd-uptime
핵심 정리
- 현재 시각, 시스템이 켜져 있던 시간, 로그인한 사용자 수, 부하 평균을 한 줄로 보여 줍니다.
- 부하 평균은 지난 1분, 5분, 15분 동안 실행할 수 있는 프로세스의 수입니다.
- 출력은
w명령의 머리줄과 같습니다(w -u와 같음). - 플래그가 없습니다.
- 마지막 부팅 시각을 날짜로 보려면
who -b를 씁니다. - AIX 5.3과 6.1 문서의 내용이 같습니다.
| 항목 | 내용 |
|---|---|
| 버전 | AIX 5.3, AIX 6.1 (두 버전 내용 같음) |
| 원문 | IBM Commands Reference — 5.3 Volume 5, 6.1 Volume 5 |
| 파일 | /usr/bin/uptime |
| 관련 명령어 | w, ruptime, who -b |
목적
시스템이 얼마나 오래 켜져 있었는지 보여 줍니다.
영어 원문
Shows how long the system has been up.
구문
uptime
설명
uptime 명령은 현재 시각, 시스템이 켜져 있던 시간, 접속한 사용자 수, 부하 평균을 출력합니다. 부하 평균은 지난 1분, 5분, 15분 동안 실행할 수 있는 프로세스의 수입니다. uptime의 출력은 사실상 w 명령이 보여 주는 머리줄입니다.
예:
uptime
10:15AM up 35 days, 21:07, 3 users, load average: 1.02, 0.96, 0.88
출력 예는 원문에 없으며, 형태를 보이려고 덧붙인 것입니다.
관련 명령어: ruptime, w
영어 원문
The uptime command prints the current time, the length of time the system has been up, the number of users online, and the load average. The load average is the number of runnable processes over the preceding 1-, 5-, 15-minute intervals. The output of the uptime command is, essentially, the heading line provided by the w command.
Related information:
- ruptime command
- w command
리눅스(GNU)와 다른 점
리눅스의 uptime(procps)도 같은 한 줄을 출력합니다. 리눅스에는 -p(사람이 읽기 쉬운 가동 시간), -s(부팅 시각) 옵션이 있지만 AIX에는 없습니다. AIX에서 부팅 시각은 who -b로 봅니다.