Tom Firl wrote:
Im not sure about the posix version. What is it that is missing ? I might
be able to tell you how to get what it is that you need. We are running AS
2.1 and I am not a guru, but I can get around enough to be dangerous.


Ultimately, I'd like "who -Hu" to produce output in the following format:

NAME     LINE         TIME         IDLE          PID COMMENT
tomf     pts/0        May 20 14:41   .          1455 (tomf)


Essentially, the program uses the value in the PID column for each line of output, and does an inner join with the output of "ps -ef" command. But, the version of "who" running on the customer's AS 2.1 system omits the PID column from the output and the join process fails.

I found out sh-utils-2.0.12 package includes a POSIX version of "who" that displays the PID 
column.  Near as I can tell, sometime in the last couple of years sh-utils was folded into coreutils... 
So, I'm trying to find out if there is an updated coreutils package (or sh-utils package) for AS 2.1 that 
provides the POSIX version of "who".  Hopefully, that makes sense.

I've spent a few hours Googling today and haven't found anything telling me whether or 
not there is an updated version of either of these packages for AS 2.1.  I have no 
clue where to get answers to questions about package-version compatibility for RH 
distributions.  So, just knowing where I can get answers to these questions would be 
helpful.

Tom Firl
Columbia Ultimate
-------
u2-users mailing list
[EMAIL PROTECTED]
http://www.u2ug.org/listinfo/u2-users

Don't know if this will help, but who -Hu produces exactly what you describe on both a SuSE 9.0 and an aging slackware installation here.


bash-2.05b# who -Hu
NAME     LINE         TIME         IDLE          PID COMMENT
root     tty1         May 20 20:13 10:10        1067
dave     pts/0        May 21 06:19   .          2525 (:0.0)

--
Dave Walker
-------
u2-users mailing list
[EMAIL PROTECTED]
http://www.u2ug.org/listinfo/u2-users

Reply via email to