[안녕하세요]님이 남기신 글:
>
> 궁금한게 있습니다..
> 다름 아니라.. 아래 목록 에서요..
>
> 1:40pm up 1:20, 3 users, load average: 0.05, 0.03, 0.00
>USER TTY LOGIN@ IDLE JCPU PCPU WHAT
> ? ^^ pts/0 1:20pm 13.00s 0.75s 0.30s -bash
> ? ^^ pts/2 1:30pm 0.00s 0.91s 0.08s w
>
> ** TTY, IDLE, JCPU, PCPU 가 무엇을 의미하는지..
>
> 알고 싶습니다.. 그럼 답변 기다립니다..
> 부탁드립니다..
========================================
시스템 내부에 대해서 아는 것이 거의 없기 때문에
눈대중으로 답변합니다.
맨 페이지를 보니 다음과 같네요
name, the tty name, the remote host, login time, idle time,
JCPU, PCPU, and the command line of their current process.
---------
-TTY
pts/0 은 가상 터미널 0번에 접속
-IDLE
해당 유저가 로그인해서 마지막으로 명령을 실행후 멈춘 시간 (시간h-분m-초s)
-JCPU
TTY로 해당 유저가 접속해서 프로세스를 사용한 시간으로 접속해서
지금까지 총 흐른 시간이 아니고 명령을 실행한 총 시간
-PCPU
-현재 명령을 실행중인 시간
으로 설명되어 있네요.....
영어 실력이 꼬랑지라서...대충 의미는 이렇습니다.
$ man w | col -b ~YOURID/man-w.txt
명령을 내려 맨 페이지를 읽어보시길 바랍니다.
DESCRIPTION
w displays information about the users currently on the
machine, and their processes. The header shows, in this
order, the current time, how long the system has been
running, how many users are currently logged on, and the
system load averages for the past 1, 5, and 15 minutes.
The following entries are displayed for each user: login
name, the tty name, the remote host, login time, idle
time, JCPU, PCPU, and the command line of their current
process.
The JCPU time is the time used by all processes attached
to the tty. It does not include past background jobs, but
does include currently running background jobs.
The PCPU time is the time used by the current process,
named in the "what" field. |