Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
(Auditing) last command output
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
feiticeir0
Apprentice
Apprentice


Joined: 13 Jul 2005
Posts: 287
Location: Castelo Branco, Portugal

PostPosted: Tue Mar 30, 2010 8:47 am    Post subject: (Auditing) last command output Reply with quote

Hi all!

I'm doing a research for a report and i've trying to understand the last command output.

Somethings is straight forward, but there still some columns in the output of the command that i can't understand and my research in the internet didn't get me anything...

Here is a sample:
Code:

bvsantos pts/1        :0.0             Wed Mar  3 09:24 - 09:39  (00:15)   
bvsantos pts/0        :0.0             Wed Mar  3 09:24 - 09:38  (00:14)   
bvsantos :0                            Wed Mar  3 09:08 - 12:30 (12+03:21) 
reboot   system boot  2.6.32-zen6      Wed Mar  3 09:11 - 09:42 (26+23:30) 
bvsantos pts/5        :0.0             Tue Mar  2 15:21 - 15:29  (00:08)   
bvsantos pts/4        :0.0             Tue Mar  2 15:18 - 15:26  (00:07)   
bvsantos pts/4        :0.0             Tue Mar  2 14:51 - 14:55  (00:04)   
bvsantos pts/3        :0.0             Tue Mar  2 14:46 - 18:08  (03:21)   


The first column is my username. The second one is the console. The third one means is local.
The next columns are the date.
My problem is the last one. For some lines it's obvious, it's the session duration time, but this one: (12+03:21)
What does it means ? what is 12+ ???

cheers,

Bruno
_________________
Do It With Rhythm
Back to top
View user's profile Send private message
malern
Apprentice
Apprentice


Joined: 19 Oct 2006
Posts: 170

PostPosted: Tue Mar 30, 2010 10:08 am    Post subject: Re: (Auditing) last command output Reply with quote

feiticeir0 wrote:

My problem is the last one. For some lines it's obvious, it's the session duration time, but this one: (12+03:21)
What does it means ? what is 12+ ???


12 days. So that session was logged in 12 days, 3 hours, 21 minutes.
Back to top
View user's profile Send private message
feiticeir0
Apprentice
Apprentice


Joined: 13 Jul 2005
Posts: 287
Location: Castelo Branco, Portugal

PostPosted: Tue Mar 30, 2010 1:05 pm    Post subject: Reply with quote

Thx for the reply.

So, it means i start the session at March 3rd at 09:08 and last until March, 15th, 12:30 ?
_________________
Do It With Rhythm
Back to top
View user's profile Send private message
malern
Apprentice
Apprentice


Joined: 19 Oct 2006
Posts: 170

PostPosted: Tue Mar 30, 2010 2:24 pm    Post subject: Reply with quote

Yes, you can also use "last -F" to make it explicitly show you the session start and end times.
Back to top
View user's profile Send private message
feiticeir0
Apprentice
Apprentice


Joined: 13 Jul 2005
Posts: 287
Location: Castelo Branco, Portugal

PostPosted: Wed Mar 31, 2010 10:57 pm    Post subject: Reply with quote

Thank you all for the replys !

I understand now !

Cheers,

Bruno Santos
_________________
Do It With Rhythm
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum