From: Roman Gaufman <hackeron@dsl.pipex.com>
To: linux-kernel@vger.kernel.org
Subject: Truncated 'last' output, please help!
Date: Sat, 3 Jan 2004 18:54:00 +0000 [thread overview]
Message-ID: <200401031854.00698.hackeron@dsl.pipex.com> (raw)
Hello,
This is my first message. I am having problems with the 'last' command which
is part of the package found on:
http://www.kernel.org/pub/linux/utils/util-linux/
I have the following bug reports:
1) It truncates username to 8 characters, potpockey becomes potpocke
2) any truncated output cannot be fixed with awk or cut
(example ps: aux | awk '{ print $11 } fixes truncated output for ps)
and following feature requests: pretty please :)
1) Seconds support is a must for me
2) General output modification without parsing
Could someone please provide a fix or an alternative, because I highly require
this functionality of being able to get a list of:
Login time , Login duration, IP and Username and require seconds support
(Login times either as timestamp or date with seconds will do, but need
seconds)
I tried searching for parsing /var/wtmp with perl and other related keywords
to wtmp, but cannot find anything :(.
I'm currently just looking at source code for last while reading some C
tutorials and trying to make a fix, but I'm sure anything I write won't be
near as elegant comming for a C noob such as myself, but am willing to try if
needed.
reply other threads:[~2004-01-03 18:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200401031854.00698.hackeron@dsl.pipex.com \
--to=hackeron@dsl.pipex.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox