troubleshooting Question

processes etc....

Avatar of Mrdogkick
Mrdogkick asked on
Unix OS
17 Comments1 Solution266 ViewsLast Modified:
I use who to check users currently logged on to the system. the format is as follows...

milade.makram pts/15       2007-12-07 09:54 (172.16.1.73)

say I want to cut into this and display it as follows (NB the tty and time headers):

Makram Milade
TTY       Time
pts/15   09:54

so effectively it would put the second word first, then the 1st, thus making the users full name in the right order. Then it would print the processes under their respective headings just below. Any help would be great!!
ASKER CERTIFIED SOLUTION
evilrix
Senior Software Engineer (Avast)

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 17 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 17 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros