[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Q: last -i



On Mon, Oct 18, 2010 at 07:28:30PM +0400, yuri.nefedov@gmail.com wrote:
>
>  Давненько меня параноя не мучила, но вот посмотрел
>  я на вывод команды last и он мне не понравился.
>
>> last -i -n 5 nefedov
> nefedov  pts/0        159.93.xx.xxx    Mon Oct 18 19:09   still logged in
> nefedov  console      96.0.0.0         Mon Oct 18 19:08   still logged in
> nefedov  console      96.0.0.0         Mon Oct 18 19:05 - 19:06  (00:00)
> nefedov  pts/17       159.93.xx.xxx    Mon Oct 18 18:42 - 18:44  (00:02)
> nefedov  pts/25       159.93.xx.xxx    Mon Oct 18 15:00 - 15:12  (00:11)
>
>  Во первых, что такое console? tty1 или это что-то другое?

Цитирую linux/Documentation/devices.txt:

The console device, /dev/console, is the device to which system
messages should be sent, and on which logins should be permitted in
single-user mode.  Starting with Linux 2.1.71, /dev/console is managed
by the kernel; for previous versions it should be a symbolic link to
either /dev/tty0, a specific virtual console such as /dev/tty1, or to
a serial port primary (tty*, not cu*) device, depending on the
configuration of the system.

>  Во вторых, что такое 96.0.0.0 ? Полная абстракция...

Действительно интересно. Привет физикам-ядерщикам, btw =)

>  По смыслу - это xdm поднимает X session.
>
>  Ю.

-- 
Stanislav


Reply to: