  | | | Var/log/wtmp | Var/log/wtmp 2005-12-05 - By Long, Jesse
Back Harry:
Use the ?who? command to read wtmp file.
Syntax = who /var/log/wtmp
Jess Long Systems Engineer Software Delivery ? Linux PSP Development Industry Standard Servers Hewlett Packard Company
Ofc: 281.927.1276 Fax: 281.518.5058
E-Mail <mailto:jesse.long@(protected)>
"As in football,
if you stand still, you go backwards."
__ ____ ____ ____ ____ ____ ____
From: valhalla-list-bounces@(protected) [mailto:valhalla-list-bounces@(protected) ] On Behalf Of Harry Hambi Sent: Monday, December 05, 2005 7:21 AM To: valhalla-list@(protected) Subject: Var/log/wtmp
Hi All, Trying to read the file wtmp?used vi & cat, however file not easy to read?see below example using Cat command, Vi is worse.
?&ttyp0p0netmanpc-L396927 S??C ???&ttyp0 *??C*??C ??T?Kttyp0p0installspc-S006603 ???C ???Kttyp0 ???C???C ???,Zttyp0p0installspc-S006603 ???C ??+Zttyp0 ???C???C ????lttyp0p0netmanpc-l403140.national.core.bbc.co.uk ???C ?$dswttyp1p1installspc-l416198.national.core.bbc.co.uk ? ?C ?!?lttyp0 C3?C? ?C ?!rwttyp1 w3?Cw3?C ?!??#ttyp0p0installspc-S006603 --More--
Any reason why this file cannot be read?.
Rgds.
Harry.
http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this.
<html>
<head> <meta http-equiv=Content-Type content="text/html; charset=utf-8 (See http://utf-8.ora-code.com)"> <meta name=Generator content="Microsoft Word 11 (filtered)"> <title>Var/log/wtmp</title> <style> <!-- /* Font Definitions */ @(protected) {font-family:Batang; panose-1 (See http://ose-1.ora-code.com):2 3 6 0 0 1 1 1 1 1;} @(protected) {font-family:Tahoma; panose-1 (See http://ose-1.ora-code.com):2 11 6 4 3 5 4 4 2 4;} @(protected) {font-family:"Futura Md"; panose-1 (See http://ose-1.ora-code.com):2 11 6 2 2 2 4 2 3 3;} @(protected) {font-family:"\@(protected)"; panose-1 (See http://ose-1.ora-code.com):0 0 0 0 0 0 0 0 0 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:#606420; text-decoration:underline;} p {margin-right:0in; margin-left:0in; font-size:12.0pt; font-family:"Times New Roman";} span.EmailStyle18 {font-family:Arial; color:navy;} @(protected) Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </style>
</head>
<body lang=EN-US link=blue vlink="#606420">
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'>Harry:</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'>Use the ?who? command to read wtmp file.< /span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'>Syntax = who /var/log/wtmp</span></font>< /p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'> </span></font></p>
<div>
<p class=MsoNormal style='text-autospace:none'><i><font size=3 color=gray face=Arial><span style='font-size:12.0pt;font-family:Arial;color:gray; font-style:italic'>Jess Long</span></font></i><font color=teal face=Arial><span style='font-family:Arial;color:teal'><br> </span></font><font size=2 color=teal face=Arial><span style='font-size:10.0pt; font-family:Arial;color:teal'>Systems Engineer<br> Software Delivery ? Linux PSP Development<br> Industry Standard Servers<br> Hewlett Packard Company<br> <br> Ofc: 281.927.1276<br> Fax: 281.518.5058<br> <br> </span></font><font size=2 color=blue face=Arial><span style='font-size:10.0pt; font-family:Arial;color:blue'><a href="mailto:jesse.long@(protected)">E-Mail</a>< /span></font></p>
<p class=MsoNormal><font size=2 color=teal face="Futura Md"><span style='font-size:10.0pt;font-family:"Futura Md";color:teal'>"As in football, </span></font></p>
<p class=MsoNormal><font size=2 color=teal face="Futura Md"><span style='font-size:10.0pt;font-family:"Futura Md";color:teal'>if you stand still, you go backwards."</span></font></p>
</div>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'> </span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=3 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt; font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> valhalla-list-bounces@(protected) [mailto:valhalla-list-bounces@(protected)] <b> <span style='font-weight:bold'>On Behalf Of </span></b>Harry Hambi<br> <b><span style='font-weight:bold'>Sent:</span></b> Monday, December 05, 2005 7:21 AM<br> <b><span style='font-weight:bold'>To:</span></b> valhalla-list@(protected)<br> <b><span style='font-weight:bold'>Subject:</span></b> Var/log/wtmp</span></font ></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'> </span></font></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Hi All,</span></font> <br> <font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Trying to read the file wtmp?used vi & cat, however file not easy to read?see below example using Cat command, Vi is worse.</span></font></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>? &ttyp0p0netmanpc-L396927</span></font> <br> <font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>S< /span></font><font size=2><span style='font-size:10.0pt'>??C</span></font> <br> <font size=2><span style='font-size:10.0pt'>???&ttyp0</span></font> <br> <font size=2><span style='font-size:10.0pt'>*??C*??C</span></font> <br> <font size=2><span style='font-size:10.0pt'>??T?Kttyp0p0installspc-S006603< /span></font> <br> <font size=2><span style='font-size:10.0pt'>???C</span></font> <br> <font size=2><span style='font-size:10.0pt'>???Kttyp0</span></font> <br> <font size=2><span style='font-size:10.0pt'>???</span></font><font size=2 face=Batang><span style='font-size:10.0pt;font-family:Batang'>C</span></font> <font size=2><span style='font-size:10.0pt'>???C</span></font> <br> <font size=2><span style='font-size:10.0pt'>???,Zttyp0p0installspc-S006603< /span></font> <br> <font size=2><span style='font-size:10.0pt'>???C</span></font> <br> <font size=2><span style='font-size:10.0pt'>??+Zttyp0</span></font> <br> <font size=2><span style='font-size:10.0pt'>???</span></font><font size=2 face=Batang><span style='font-size:10.0pt;font-family:Batang'>C</span></font> <font size=2><span style='font-size:10.0pt'>???C</span></font> <br> <font size=2><span style='font-size:10.0pt'>????lttyp0p0netmanpc-l403140 .national.core.bbc.co.uk</span></font> <br> <font size=2><span style='font-size:10.0pt'>???C</span></font> <br> <font size=2><span style='font-size:10.0pt'>?$dswttyp1p1installspc-l416198 .national.core.bbc.co.uk</span></font> <br> <font size=2><span style='font-size:10.0pt'>?</span></font> <br> <font size=2><span style='font-size:10.0pt'>?</span></font><font size=2 face=Batang><span style='font-size:10.0pt;font-family:Batang'>C</span></font> <br> <font size=2><span style='font-size:10.0pt'>?</span></font><font size=2 face=Batang><span style='font-size:10.0pt;font-family:Batang'>!</span></font> <font size=2><span style='font-size:10.0pt'>?</span></font><font size=2 face=Batang> <span style='font-size:10.0pt;font-family:Batang'>lttyp0</span></font> <br> <font size=2 face=Batang><span style='font-size:10.0pt;font-family:Batang'>C3< /span></font><font size=2><span style='font-size:10.0pt'>?</span></font><font size=2 face=Batang> <span style='font-size:10.0pt;font-family:Batang'>C</span></font><font size=2><span style='font-size:10.0pt'>?</span></font> <br> <font size=2><span style='font-size:10.0pt'>?</span></font><font size=2 face=Batang><span style='font-size:10.0pt;font-family:Batang'>C</span></font> <br> <font size=2><span style='font-size:10.0pt'>?</span></font><font size=2 face=Batang><span style='font-size:10.0pt;font-family:Batang'>!rwttyp1</span>< /font> <br> <font size=2 face=Batang><span style='font-size:10.0pt;font-family:Batang'>w3< /span></font><font size=2><span style='font-size:10.0pt'>?</span></font><font size=2 face=Batang> <span style='font-size:10.0pt;font-family:Batang'>Cw3</span></font><font size=2><span style='font-size:10.0pt'>?</span></font><font size=2 face=Batang><span style='font-size:10.0pt;font-family:Batang'>C</span></font> <br> <font size=2><span style='font-size:10.0pt'>?</span></font><font size=2 face=Batang><span style='font-size:10.0pt;font-family:Batang'>!</span></font> <font size=2><span style='font-size:10.0pt'>??</span></font><font size=2 face=Batang> <span style='font-size:10.0pt;font-family:Batang'>#ttyp0p0installspc-S006603</span>< /font> <br> <font size=2 face=Batang><span style='font-size:10.0pt;font-family:Batang'>- -More--</span></font> </p>
<p><font size=2 face=Batang><span style='font-size:10.0pt;font-family:Batang' >Any reason why this file cannot be read?.</span></font> </p>
<p><font size=2 face=Batang><span style='font-size:10.0pt;font-family:Batang' >Rgds.</span></font> </p>
<p><font size=2 face=Batang><span style='font-size:10.0pt;font-family:Batang' >Harry.</span></font> </p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'><br> <br> <br> <br> <br> http://www.bbc.co.uk/<br> <br> This e-mail (and any attachments) is confidential and may contain<br> personal views which are not the views of the BBC unless specifically<br> stated.<br> If you have received it in error, please delete it from your system. <br> Do not use, copy or disclose the information in any way nor act in<br> reliance on it and notify the sender immediately. Please note that the<br> BBC monitors e-mails sent or received. <br> Further communication will signify your consent to this.</span></font></p>
</div>
</body>
</html>
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Valhalla-list mailing list Valhalla-list@(protected) https://www.redhat.com/mailman/listinfo/valhalla-list
|
|
 |