05-14-2009
Yeah, I guess it depends on the amount of virtual memory being used up (or for that matter the RSS also).
But what I was looking for was a command wherein I would not have to do any calculation on my own.
Anyway I think there is no way out of this situation except for writing a script
.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
The last line of prstat shows load average.
I am unable to figure out what actually it is.
I have read the man pages and also googled, all for no use.
Can somebody help me, as to what should be the avg. load of the system for best performance and how is this load of prstat calculated. (6 Replies)
Discussion started by: vibhor_agarwali
6 Replies
2. Shell Programming and Scripting
Hi,
How to redirect the output of prstat command to a file.
Ex:
I want to do like this
while :
do
prstat >> prs.log
sleep 5
done
is it possible ???? if No, then how can i proceed??
PLEASE HELP ME OUT FROM THIS :confused:
Thanks in advance
----------- (2 Replies)
Discussion started by: vastare
2 Replies
3. Solaris
Good Evening everyone,
I am confused about prstat O/P as it shows memory values which are different from actual value.Below is the O/P of prstat command and swap commands.
NPROC USERNAME SIZE RSS MEMORY TIME CPU
48 root 2113M 1590M 1.2% 45:09.39 32%
31 daemon ... (7 Replies)
Discussion started by: vvpotugunta
7 Replies
4. Solaris
Can someone please explain me the "TIME" field of the output of "prstat -p<pid>" command ? The man page says it is "The cumulative execution time for the process". Does it mean how many hrs:min:sec the process is running ? If so then I'm not getting the desired output.
Can someone pls help me in... (5 Replies)
Discussion started by: senabhi
5 Replies
5. Solaris
hi all,
was trying to figure out how busy my app was by looking at the performance of the app server. did a 'prstat -s rss' command to find the app servers using most memory.
Found a command 'prstat -m' which is meant to show more details on each pid but the output of this command... (1 Reply)
Discussion started by: cesarNZ
1 Replies
6. Shell Programming and Scripting
hi all,
have a ksh script where i am doing a prstat -m -u osuser 1 1 >> $FILE_NAME but for some reason it only writes 15 lines wheres when i run the same command manually from command prompt it prints out 60 lines.
why is it not writing the full 60 lines to the file ??
ta. (1 Reply)
Discussion started by: cesarNZ
1 Replies
7. Shell Programming and Scripting
Hi,
I want to fire the prstat command which should run fro 60 secs and get the report into a text file using a script.
I just know the command:
prstat -c >> log.txt
which will run until we stop it.
But i want the script to run only for 60 sec,print the output to text file and stop... (3 Replies)
Discussion started by: nessj
3 Replies
8. Shell Programming and Scripting
Hi Expert,
I want to print CPU and Memory utilization into a text file. I am using "prstat -Z" to see the output on screen. When I run below command
prstat -Z | grep httpd | awk '{print$3} '>> output.txt
but it is not printing to file. Also I want to be below header on output
PID USERNAME ... (6 Replies)
Discussion started by: lalit kumar
6 Replies
9. Shell Programming and Scripting
need help with formatting output of command top and prstat. My requirment is to remove few columns and display remaining . But when i used awk to do that the output seems to be have gone vague, mixing the column values.
After using awk to print particular column the output seems to have lost... (1 Reply)
Discussion started by: NarayanaPrakash
1 Replies
10. Solaris
Hi how to send below prstat script output into table format and send through email?
prstat|awk '{ if ($9 >= 5) print $0 }' (17 Replies)
Discussion started by: tharmendran
17 Replies
LEARN ABOUT HPUX
eqmemsize
eqmemsize(5) File Formats Manual eqmemsize(5)
NAME
eqmemsize - determines the minimum size (in pages) of the equivalently mapped reserve pool (OBSOLETED)
DESCRIPTION
This tunable has been obsoleted and removed.
If it is desired to control the total amount of equivalently mapped memory available to the kernel after boot, then use the new tunable
(see eqmem_limit(5)).
Note that generally speaking, systems where it was useful to set will not need to set
Equivalently mapped memory is memory which is given the same physical and virtual address. On PA-RISC systems, this is required to support
on-line addition of memory, and may be useful for some applications and some I/O devices.
HP-UX 11i Version 2 maintained a (small) reserve of equivalently mapped pages, which could be used for no other purpose. It could also
potentially equivalently map any page having a physical address below the maximum kernel virtual address, but only if it happened to find
both the virtual and physical addresses available; this rarely happened, except immediately after boot. The tunable was used to size this
reserve. It was kept quite small, except on systems known to use such memory, where the reserve pool size would be increased using the
tunable.
The equivalent memory allocator was completely rewritten after HP-UX 11i Version 2. The current version of the equivalent memory allocator
decides, at boot, which pages it will consider to be equivalently mappable. It makes the corresponding virtual addresses unavailable for
other purposes, thereby ensuring that if the physical page is available, it will be possible to map it equivalently. This allows such
pages to be used for other purposes, and still be reliably reused for equivalent mappings. Thus no reserve is required. The tunable
places a cap on the total amount of memory which will be considered equivalently mappable.
Such pages are treated almost identically to other pages, but not quite. The differences only matter on Cache-Coherent Non-Uniform Memory
Access (ccNUMA) systems, where in some circumstances these differences can result in reduced performance. On such systems the tunable may
be used to reduce the total amount of memory that will be designated equivalently mappable down to the maximum expected to actually be
needed. (Normally the kernel makes a very conservative estimate of the total amount that might be needed.) See eqmem_limit(5) for
details.
AUTHOR
was developed by HP.
SEE ALSO
eqmem_limit(5).
OBSOLETED
Tunable Kernel Parameters eqmemsize(5)