Solaris / OpenSolarisThis forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm developing a c program in solaris machine. Iam stuck in a situation. I want to know the amount of virtual memory a particuliar process will take.for exmaple a process align.c is running currently. I want to know the amount of virtual memory align.c takes..........
hobbs@turnip:~$ top -n 1
94 processes: 90 sleeping, 4 running, 0 zombie, 0 stopped
CPU states: 8.6% user, 4.7% system, 85.9% nice, 0.9% idle
Mem: 190472K total, 162236K used, 28236K free, 14496K buffers
Swap: 498004K total, 4660K used, 493344K free, 72964K cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
3081 hobbs 20 19 14284 13M 608 R N 44.7 7.4 336:06 setiathome
3118 hobbs 19 19 576 576 504 R N 43.8 0.3 335:53 dnetc
30225 hobbs 18 0 976 976 748 R 8.2 0.5 0:00 top
1 root 8 0 480 436 416 S 0.0 0.2 0:12 init
2 root 9 0 0 0 0 SW 0.0 0.0 0:00 keventd
3 root 19 19 0 0 0 SWN 0.0 0.0 0:00 ksoftirqd_CPU0
what does the first 1 and the second 1 do to the prstat command though? i can't find anything about it in the man pages... 'prstat 1' appears to do exactly the same as 'prstat'... but when the second 1 is added, it only does one iteration!