[Toybox] new toy : w command
Rob Landley
rob at landley.net
Wed Jul 18 18:29:31 PDT 2012
On 07/18/2012 08:40 AM, Gaurang Shastri wrote:
> Hi All,
>
> Please find attached the initial implementation of "w" command.
>
> Output after compiling my code with toybox :
> {{{
> [root at stark toybox-0.3.0]# ./toybox w
> USER TTY LOGIN@ FROM
> root tty2 Wed Jul 11 18:29:24 2012 ( )
> rpmuser pts/1 Wed Jul 11 21:33:15 2012 (43.88.80.109)
> rpmuser pts/2 Wed Jul 11 19:23:09 2012 (:0.0)
> rpmuser pts/3 Tue Jul 17 20:33:41 2012 (43.88.80.208)
> }}}
>
> Dear Rob, let me know your comments if any.
Applied, and cleaned up a bit.
I note that the w in ubuntu 10.04 gives several more fields, such as
idle time. Does this match the one in android...?
Thanks,
Rob
--
GNU/Linux isn't: Linux=GPLv2, GNU=GPLv3+, they can't share code.
Either it's "mere aggregation", or a license violation. Pick one.
1342661371.0
More information about the Toybox
mailing list