The UNIX and Linux Forums  

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


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Active windows when pointed. rimser9 UNIX Desktop for Dummies Questions & Answers 1 07-14-2008 12:07 PM
Active Quota - RPC rquota.x Glimmung High Level Programming 2 05-22-2008 01:42 PM
Active / Non Active users ? varungupta UNIX for Advanced & Expert Users 3 05-11-2008 08:00 PM
Switching the active pts? tspicher UNIX for Dummies Questions & Answers 4 06-25-2007 04:52 PM
active machine Raom UNIX for Advanced & Expert Users 0 10-20-2005 10:10 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-05-2008
Registered User
 

Join Date: Jun 2008
Posts: 9
Stumble this Post!
active working

hi!
i want to create a list of the active working of the system classified by size and run the list on the monitor in a contolled pattern.Every active work has to appear only once.
Any suggestions?
also how can i create a list of the active working that does not belong to the user root?thanks
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 06-05-2008
Moderator
 

Join Date: Sep 2007
Location: Germany
Posts: 724
Stumble this Post!
What do you understand by active working?
Size of what?
Which OS?
Reply With Quote
  #3 (permalink)  
Old 06-05-2008
Registered User
 

Join Date: Jun 2008
Posts: 9
Stumble this Post!
active working

i mean active processes.
ps -auxf.
i want to classify them by their size.
Reply With Quote
  #4 (permalink)  
Old 06-05-2008
Registered User
 

Join Date: Mar 2008
Location: /bin/sh
Posts: 338
Stumble this Post!
I am considering you need to list them by their memory size.You can use sort for the same.

This is something that might help, but untested.

Code:
ps -auxf | tr -d " " | sort -n -t ' ' +3
To list the all the processes which are not owned by root:

Code:
ps -auxf | grep -v root
Now what do you mean by running the list in the controlled pattern..?
Reply With Quote
  #5 (permalink)  
Old 06-05-2008
Registered User
 

Join Date: Jun 2008
Posts: 9
Stumble this Post!
active working

forget about "controlled pattern".
it's ok.
the 2nd one worked.
what should i put inside '' '' and ' ' ?
a bogus?
what is a bogus?
thank you....
Reply With Quote
  #6 (permalink)  
Old 06-05-2008
Registered User
 

Join Date: Mar 2008
Location: /bin/sh
Posts: 338
Stumble this Post!
Don't put anything in it..

Is the first one not working..?
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 01:12 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0