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 > Shell Programming and Scripting
.
google unix.com



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
swap space manoj.solaris Linux 1 08-22-2007 06:11 AM
Swap space used??? Lestat UNIX for Dummies Questions & Answers 1 02-17-2005 11:51 AM
swap space / paging space aaronh AIX 2 05-19-2004 10:06 AM
pageing space vs swap space VeroL UNIX for Dummies Questions & Answers 1 01-22-2004 11:54 AM
SWAP SPACE SmartJuniorUnix UNIX for Dummies Questions & Answers 5 11-13-2000 12:08 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-18-2005
una una is offline
Registered User
  
 

Join Date: Jan 2005
Posts: 6
swap space and cpu usage for an application

Hi,
How do i get the swap space used and cpu usage for a particular application ?

thanks
una
  #2 (permalink)  
Old 03-18-2005
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,206
You can do this with ps, giving it a custom output format.
man ps

It depends al bit on your actual OS, but you could try "top" if it is installed or on solaris prstat.
  #3 (permalink)  
Old 03-19-2005
esham's Avatar
esham esham is offline
Registered User
  
 

Join Date: Nov 2004
Location: INDIA
Posts: 107
Hello

Quote:
top | awk '(int($1)== $1) && ($2=="root") { print $2 " " $9 " "$10}'
Hope this will work..

Please try

esham
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 03:15 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
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