The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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
a begginers question hadar UNIX for Dummies Questions & Answers 5 01-06-2008 09:44 PM
Enterprise Unix Roundup: The Ghost of Unix Future - Server Watch iBot UNIX and Linux RSS News 0 12-19-2007 12:20 PM
Running UNIX commands remotely in Windows box from Unix box – avoid entering password D.kalpana UNIX for Dummies Questions & Answers 1 04-20-2007 05:24 AM
FTP script for sending a file from one unix directory to another unix server director raja_1234 Shell Programming and Scripting 1 11-30-2006 07:57 AM
Unix History Question: Why are filenames/dirnames case sentsitive in Unix? deckard UNIX for Dummies Questions & Answers 3 03-26-2005 01:59 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-03-2007
jao_madn jao_madn is offline
Registered User
  
 

Join Date: Aug 2007
Posts: 9
unix begginers

hi im a unix system beginner

i would like to write a script that will run as follows

1 it will read all process including what they are doing
2 it will list all the processes that were idle or not consuming space in the VMSTAT command like in the cpu or memory coloum so i can kill those processes.

hope you can help me thnks

cause there an alarm in in mail said that vmstat and i use the command and i see the msg and i go o ps -ef and saw a lot of proceses i dont know which proceses usually in idle or just a process not terminated when user log out..is that possible..


jao madn
  #2 (permalink)  
Old 10-03-2007
porter porter is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 2,965
Quote:
Originally Posted by jao_madn View Post
2 it will list all the processes that were idle or not consuming space in the VMSTAT command like in the cpu or memory coloum so i can kill those processes.
Is that wise, especially if you don't actually understand what their function is?
  #3 (permalink)  
Old 10-05-2007
jao_madn jao_madn is offline
Registered User
  
 

Join Date: Aug 2007
Posts: 9
what did you mean

what did you mean by that..
  #4 (permalink)  
Old 10-05-2007
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,910
Quote:
Originally Posted by jao_madn View Post
what did you mean by that..
u should not kill a process even if it don't consumes memory or cpu time! there are many sleeping processes in an unix server environmet...
  #5 (permalink)  
Old 10-08-2007
jao_madn jao_madn is offline
Registered User
  
 

Join Date: Aug 2007
Posts: 9
ah.. i see..how about the processes that still running or sleeping like the -csh in which the user has been already logout..or the processes still running but the user who run that processes already logout...
thnks for the reply
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 08:10 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0