If pid is really what you are getting at, then you might consider ps -au. This doesn't have the 'inactive' counter. So if that is what is important, then the 'ps' wont do. However, the 'w' command will show idle time, but not the pid (I guess you cant have everything). However, it would not be very difficult to do something that issues the 'ps -au', then the 'w' and splice the two together. I always try to stay away from putting extra software on the machine as much as possible, but that's just me. Anthony
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Firl Sent: Thursday, May 20, 2004 5:59 PM To: [EMAIL PROTECTED] Subject: RE: [U2] Where can I find out about RPM package updates? > 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 ------- u2-users mailing list [EMAIL PROTECTED] http://www.u2ug.org/listinfo/u2-users
