![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Processes and Users | barbus | Shell Programming and Scripting | 22 | 10-03-2007 08:09 PM |
| users and there processes | iago | UNIX for Dummies Questions & Answers | 3 | 09-10-2007 03:51 PM |
| i need a scipt to email users with idle processes!? | sheppy28 | Shell Programming and Scripting | 0 | 02-02-2007 04:08 PM |
| Displaying the processes of users | olimiles | Shell Programming and Scripting | 2 | 08-18-2006 03:57 PM |
| Users and processes | Chiefos | UNIX for Dummies Questions & Answers | 17 | 06-17-2006 05:16 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
printing each users by processes
hello All,
i am trying to get the each users by with thier processing. I have try it in several ways but i am not getting thier my code is #!bin/bash/ users=`cat /etc/passwd | cut -d':' -f5` onlineusers=`users | tr '.' ' '` $onlineusers | while read `$users` do echo `ps -U $users` done but its not working, root: it says command not found pls any way around it. |
| Bookmarks |
| Tags |
| linux, ubuntu |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|