![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
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 |
| prstat output | senabhi | SUN Solaris | 5 | 05-14-2009 07:39 AM |
| prstat in shell | madmat | Shell Programming and Scripting | 4 | 02-07-2007 04:46 AM |
| Mem analyze / vmstat, prstat ... | unclefab | SUN Solaris | 2 | 01-24-2007 02:58 PM |
| Redirect the output of prstat | vastare | Shell Programming and Scripting | 2 | 03-14-2006 07:55 AM |
| Help with prstat | vibhor_agarwali | UNIX for Dummies Questions & Answers | 6 | 04-07-2005 08:01 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
prstat problem
This will be a smaple output for my prstat -t
NPROC USERNAME SIZE RSS MEMORY TIME CPU 43 root 249M 62M 1.5% 33:50:01 0.1% 12 oadmin 1396M 862M 22% 0:06:49 0.1% 2 acne 3960K 3176K 0.1% 0:00:00 0.0% 4 essagent 10M 7456K 0.2% 0:00:00 0.0% 1 smmsp 4424K 568K 0.0% 0:00:00 0.0% 1 daemon 2544K 1128K 0.0% 0:00:00 0.0% I want to get the output of only user 'oadmin' so I tried to use prstat -t | grep oadmin , when i used grep this doesnt seem to work any ideas please. ![]() |
|
||||
|
i got it
prstat -t -u oadmin doesnot give the output , imean the script never returns.essentially i just want to get the memory variable for user oadmin which is 22 , any ideas how to get this.
Last edited by vivsiv; 02-15-2008 at 02:53 AM.. Reason: correcting |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|