The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
Processes by Actual names
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Portal
Register
Forum Rules
FAQ
Contribute
Members List
Arcade
Search
Today's Posts
Mark Forums Read
Thread
:
Processes by Actual names
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
05-13-2008
jim mcnamara
...@...
Join Date: Feb 2004
Location: NM
Posts: 3,807
Code:
w -s | awk 'BEGIN { getline; getline } {print $0}' | cut -c1-8,16-
You may need to alter the "16" to another number to get exactly what you want.
Your output of w -s may vary from mine.
jim mcnamara
View Public Profile
Find all posts by jim mcnamara