Sponsored Content
Full Discussion: Processes by Actual names
Top Forums UNIX for Dummies Questions & Answers Processes by Actual names Post 302194711 by kartikkumar84@g on Tuesday 13th of May 2008 02:36:17 PM
Old 05-13-2008
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..
 

10 More Discussions You Might Find Interesting

1. Solaris

Need actual bootpd for solaris

Hi everybody, i have downloaded some archieves but i couldn't compile it without errors. please help... where can i find a bootp that works?! my hardware: sparc prozessor with solaris 8 (5.8 (2.8)) thanks Johnny (0 Replies)
Discussion started by: johnnypark
0 Replies

2. UNIX for Advanced & Expert Users

Monitoring Processes - Killing hung processes

Is there a way to monitor certain processes and if they hang too long to kill them, but certain scripts which are expected to take a long time to let them go? Thank you Richard (4 Replies)
Discussion started by: ukndoit
4 Replies

3. Shell Programming and Scripting

Processes by User's actual names

Hi All I am being trained in unix and am tryin to write a script for listing the user Processes by user's names exactly the following manner WITHOUT USING A TEMPORARY FILE or SED OR AWK! The format of the output I want is: James Hallan PID TTY TIME CMD 31799 pts/3 00:00:00 vim 31866... (1 Reply)
Discussion started by: kartikkumar84@g
1 Replies

4. UNIX for Dummies Questions & Answers

Processes by User's names

Hi All I am being trained in unix and am tryin to write a script for listing the user Processes by user's names exactly the following manner WITHOUT USING A TEMPORARY FILE or SED OR AWK! The format of the output I want is: Code: James Hallan PID TTY TIME CMD 31799 pts/3 00:00:00 vim ... (2 Replies)
Discussion started by: kartikkumar84@g
2 Replies

5. Solaris

Identifying and grouping OS processes and APP processes

Hi Is there an easy way to identify and group currently running processes into OS processes and APP processes. Not all applications are installed as packages. Any free tools or scripts to do this? Many thanks. (2 Replies)
Discussion started by: wilsonee
2 Replies

6. Shell Programming and Scripting

How to find the actual process name

Dear All I have created customisation appliaction for my application process which look likes below, 364688 ach_outbound -proc nla_acho_equ_01 -format EQUENS0001 DEQ WAIT 1167452 listener -p 42662 hostget_server -proc at_vld 11874 at_vld IDLE 1560634 listener -p 11870 menu IDLE... (4 Replies)
Discussion started by: manas_ranjan
4 Replies

7. Shell Programming and Scripting

Following Symlinks to Actual Script

I need to have my script know what directory it's in, even if it's run from a symlink located elsewhere. Here's what I've come up with, for the benefit of anyone with a similar need, but I'm also interested to know if there's a more elegant solution. I'd rather not get into awk-land, but I couldn't... (2 Replies)
Discussion started by: jeffclough
2 Replies

8. AIX

Trying to verify actual switchport speed

Connecting network adapter from 100MB switchport to a 1GB switchport. Trying to verify actual switchport speed. While connected to 100MB switchport lsattr -R -l ent0 -a media_speed shows: 10_Half_Duplex 10_Full_Duplex 100_Half_Duplex 100_Full_Duplex 1000_Full_Duplex Auto_Negotiation ... (2 Replies)
Discussion started by: landog
2 Replies

9. HP-UX

Actual date minus six months (HP UX)

Hi there, is it possible to get the actual date minux six months with just a simple command? It's easy with Linux but on HP Unix (for me) impossible ;) Best wishes (3 Replies)
Discussion started by: System
3 Replies

10. Shell Programming and Scripting

SVN for actual VirtualHost

hi, Earlier I had this thread posted on "UNIX for Experts" Group here in unix.com, but somehow no one bothered to respond, so I thought someone might be able to help me here. In short, I have to make accessible a directory via SVN to all 5 developers, call it /var/www/html/beta3 ... (0 Replies)
Discussion started by: busyboy
0 Replies
rusers(1)							   User Commands							 rusers(1)

NAME
rusers - who is logged in on remote machines SYNOPSIS
rusers [-ahilu] host... DESCRIPTION
The rusers command produces output similar to who(1), but for remote machines. The listing is in the order that responses are received, but this order can be changed by specifying one of the options listed below. The default is to print out the names of the users logged in. When the -l flag is given, additional information is printed for each user: userid hostname:terminal login_date login_time idle_time login_host If hostname and login host are the same value, the login_host field is not displayed. Likewise, if hostname is not idle, the idle_time is not displayed. A remote host will only respond if it is running the rusersd daemon, which may be started up from inetd(1M) or listen(1M). In the absence of a name service, such as LDAP or NIS, rusers displays host names as numeric IP addresses. OPTIONS
-a Give a report for a machine even if no users are logged on. -h Sort alphabetically by host name. -i Sort by idle time. -l Give a longer listing in the style of who(1). -u Sort by number of users. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWrcmdc | +-----------------------------+-----------------------------+ SEE ALSO
who(1), inetd(1M), listen(1M), pmadm(1M), sacadm(1M), attributes(5) SunOS 5.10 7 Mar 2003 rusers(1)
All times are GMT -4. The time now is 09:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy