The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 05-13-2008
kartikkumar84@g kartikkumar84@g is offline
Registered User
 

Join Date: May 2008
Posts: 16
Question Processes by Actual names

hi all.

Is there any way to get the original names (not the login names) of users currently logged on to the machine and the processes they are logged on to...names as in abc xyz and not abc.xyz

I dont want to first use w -s and then loops to arrange the information, and i cant figure out how to use grep and then display the users.

$ w -s, $ users, $ ps commands can not be used in the best of knowledge. Is there any other way..
Reply With Quote
Forum Sponsor