02-08-2009
prtstat RSS value
Hi,
I new to solaris and I was assigned to make a script to check the memory usage of a particular server by checking the usage of some 400+ processes. Everything is fine except the RSS value of the prtstat command because some of the value are in megabytes and some are in kilobytes. I need them to be on the same because I want to get the average memory per day.
Now much question is is there are way/options that I can use to get a kB or MB output? Or do I need to convert them manually? Also any help whith getting the average is much welcome.
Any help is appreciated.
Thanks,
d
6 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
Could RSS-support mod be installed for this forum? (3 Replies)
Discussion started by: eugrus
3 Replies
2. UNIX for Dummies Questions & Answers
I am trying to make a script that downloads/reads an rss feed every couple of days and then parses through looking at the results. I am unsure of how to get the information from the feed. Anyone have any suggestions on where to start? (0 Replies)
Discussion started by: rcunn87
0 Replies
3. Post Here to Contact Site Administrators and Moderators
Hi Guys,
With the RSS feeds of new threads added to the forums, would it be possible to include the text of the post in the RSS body?
This means that i wouldn't have to keep clicking "view site" to see what the thread's about from my rss aggregator.
I've included 2 x screenshots below that... (11 Replies)
Discussion started by: craigp84
11 Replies
4. Shell Programming and Scripting
Hi all ;-)
I would like to know if somebody knows a way to make a script for check a .xml RSS page every 1-5 min and send the last news to an email address.
I would like to put in on my shell with FreeBSD 6.2
Thanks you in advance 4 help!
;-) (0 Replies)
Discussion started by: Mukka
0 Replies
5. Solaris
Hi,
I have some question about memory in Solaris.
How it's possible that prstat -a show me that some process using 230M RSS and when I'm using pmap -x show me that this same process using only 90M RSS ? (0 Replies)
Discussion started by: deivo
0 Replies
6. Solaris
Hi,
When I sum the RSS number in the ps command for a specific user and compare it with the RSS values of the prstat command of the same user - there is a big difference.
Server details: Solaris 10 5/09 s10s_u7wos_08 SPARC
prstat output:
NPROC USERNAME SWAP RSS MEMORY TIME ... (2 Replies)
Discussion started by: amitlib
2 Replies
FREE(1) Linux User's Manual FREE(1)
NAME
free - display information about free and used memory on the system
SYNOPSIS
free [-b|-k|-m|-g] [-l] [-o] [-t] [-s delay ] [-c count ]
DESCRIPTION
free(1) displays the total amount of free and used physical memory and swap space in the system, as well as the buffers and cache consumed
by the kernel.
OPTIONS
Normal invocation of free(1) does not require any options. The output, however, can be fine-tuned by specifying one or more of the follow-
ing flags:
-b, --bytes
Display output in bytes.
-k, --kb
Display output in kilobytes (KB). This is the default.
-m, --mb
Display output in megabytes (MB).
-g, --gb
Display output in gigabytes (GB).
-l, --lowhigh
Display detailed information about low vs. high memory usage.
-o, --old
Use old format. Specifically, do not display -/+ buffers/cache.
-t, --total
Display total summary for physical memory + swap space.
-c n, --count=n
Display statistics n times, then exit. Used in conjunction with the -s flag. Default is to display only once, unless -s was speci-
fied, in which case default is to repeat until interrupted.
-s n, --repeat=n
Repeat, pausing every n seconds in-between.
-V, --version
Display version information and exit.
--help Display usage information and exit
FILES
/proc/meminfo -- memory information
SEE ALSO
ps(1), top(1), vmstat(1)
AUTHORS
Written by Robert Love.
The procps package is maintained by Rik van Riel and Robert Love and was created by Michael Johnson.
Send bug reports to <procps-list@redhat.com>.
Linux 18 Nov 2002 FREE(1)