LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX
User Name
Password
Other *NIX This forum is for the discussion of any UNIX platform that does not have its own forum. Examples would include HP-UX, IRIX, Darwin, Tru64 and OS X.

Notices


Reply
  Search this Thread
Old 03-02-2006, 05:27 AM   #1
gsr_kashyap
Member
 
Registered: Jul 2004
Location: india
Distribution: Ubuntu 14.04
Posts: 155

Rep: Reputation: 15
unable to read logs


hi guys,
i am unable to c the logs from /var/adm/wtmp
how do u view the log in a readble fromat any third party tool is welcome
thnx in advance
 
Old 03-02-2006, 05:53 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Use the "last" program.

Last edited by jschiwal; 03-02-2006 at 06:03 AM.
 
Old 03-02-2006, 04:49 PM   #3
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Which is worse: rm /* -r or xhost - ?
The first one, but it could be worse with the -r option properly located.
Code:
# rm /* -r
rm: /boot is a directory
rm: /dev is a directory
rm: /devices is a directory
...
-r: No such file or directory
# xhost -
access control enabled, only authorized clients can connect

Last edited by jlliagre; 03-02-2006 at 04:53 PM.
 
Old 03-02-2006, 06:34 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
That's my rhetorical sig, not a question!
 
Old 03-02-2006, 10:55 PM   #5
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
I obviously noticed it is your signature, but a sentence starting with "Which" and ending with "?" is very much a question too.

This rethorical question has a faulty syntax.
 
Old 03-03-2006, 01:08 AM   #6
gsr_kashyap
Member
 
Registered: Jul 2004
Location: india
Distribution: Ubuntu 14.04
Posts: 155

Original Poster
Rep: Reputation: 15
but it does'nt diplay the logoff ( of course it displays the login-logoff time)

Last edited by gsr_kashyap; 03-03-2006 at 02:04 AM.
 
Old 03-03-2006, 03:34 PM   #7
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You can add the time connected to the login time to figure out the logout time.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i read logs from Freebsd?? human *BSD 2 03-01-2005 06:19 PM
how to read mail logs? djfranknitti Linux - Newbie 2 09-21-2004 08:41 AM
apache logs please teach me how to read them Lleb_KCir Linux - Security 17 04-28-2004 02:18 PM
how to read fwlogwatch logs rosscopeeko Mandriva 1 04-20-2004 01:22 AM
kernel panic unable to mount root (yes ive read/read other posts) dmx9595 Linux - General 4 01-17-2004 05:07 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX

All times are GMT -5. The time now is 05:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration