I need to compile the 'w' command for a Linux distro that has no access to
conventional package management stuff. Therefore, I need the source code.
I expected it to be in 'coreutils', but it isn't. Furthermore, none of the
commonly available methods for tracking this sort of thing has worked.
See:
% where w df
/usr/bin/w
/bin/df
% dpkg -S /bin/df /usr/bin/w
coreutils: /bin/df
dpkg-query: no path found matching pattern /usr/bin/w
%
I've also tried various tips found online, such as searching at
http://packages.ubuntu.com. While these work for many commands, none have
worked for the 'w' command. Can anyone help me on this?
P.S., for reference, this is the 'w' command I am talking about. Note that
this command combines features of the 'uptime', 'who', and 'ps' command,
which is what makes it attractive.
% w
08:50:43 up 17 days, 6:14, 27 users, load average: 1.41, 1.55, 1.53
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
someuser pts/8
somewhere.com Mon22 10:23m 0.05s 0.05s -csh
etc, etc
%
--
First of all, I do not appreciate your playing stupid here at all.
- Thomas 'PointedEars' Lahn -