标题: uid to user name [打印本页] 作者: dawncaller 时间: 2008-02-05 08:54 标题: uid to user name want to get the user name from uid for example uid=1667
id -un 1667, it gives no such user, which 1667 is my account, any idea why? thanx作者: dawncaller 时间: 2008-02-05 09:04
actually i need ps -ef to check if something is run by one user, and i need the username, eg, alex.g, but ps -ef gives the uid at the first column作者: nbrr 时间: 2008-02-05 10:28
我在solaris, redhat上试的ps -ef第一列都是username呀