rup(1) ignores the arguments -h, -l and -t (sort by hostname, load or uptime) if it is given a list of hostnames. It doesn't sort at all then, but just uses the list in the order given. Only tested on x86, but I presume that applies to all platforms. rpm -qvf `which rup` rusers-0.15-6
Hmm, looks like a buglet in bugzilla as well. My original short title was: "rup <arg> host1 host2 ... hostN doesn't sort by <arg>" or to put it in html: "rup <arg> host1 host2 ... hostN doesn't sort by <arg>" Html problem... Main point: rup -h gamma beta alpha should return alpha up ... beta up ... gamma up ... but it returns gamma up ... beta up ... alpha up ...
This is not a bug. It simply processes the command line args in the order that they were given, which is the expected behaviour. If you need ordering simply use a pipe: rup <arg> host1 host2 ... hostN | sort which should return the wanted ordered list. Read ya, Phil