06-07-2002
I don't know tru64, but until a tru64 expect checks in, I will try a couple of guesses.
First look at your man page ps and see if there is a way that you can specify exactly which fields to display. Both HP-UX and SunOS can do this and they a field called rss (resident set size). If you also can get your ps to display rss that should do it.
There is a freeware program called top. HP-UX bundles it in with the os. And it's at freeware sites for SunOS. Top has a field called RES that also does this.
I hope one of these works for you.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi All,
I'm trying to find a command like similar to "touch" which would let me change the file size property.
For ex: I have a file of size 1MB using the command i would like to set/update the size something like 1KB.
Is it possible? Is there any such command which would accomplish this... (3 Replies)
Discussion started by: sriharshareddyk
3 Replies
2. AIX
Hi,
This is odd, however here goes. There are several shell scripts that run in our production environment AIX 595 LPAR m/c, which has sufficient memory 14GB (physical memory) and horsepower 5CPUs. However from time to time we get the following errors in these shell scripts. The time when these... (11 Replies)
Discussion started by: jerardfjay
11 Replies
3. UNIX for Dummies Questions & Answers
Hi!!..
I would like to know what is maximum character size for a command in the "sh" or "bourne" shell?
Thanks in advance..
Roshan. (1 Reply)
Discussion started by: Roshan1286
1 Replies
4. UNIX for Advanced & Expert Users
Hi!!..
I would like to know what is maximum character size for a command in the "sh" or "bourne" shell?
Thanks in advance..
Roshan. (1 Reply)
Discussion started by: Roshan1286
1 Replies
5. Shell Programming and Scripting
Hi!!..
I would like to know what is maximum character size for a command in the "sh" or "bourne" shell?
Thanks in advance..
Roshan. (1 Reply)
Discussion started by: Roshan1286
1 Replies
6. Shell Programming and Scripting
I wrote a script to delete files which are older than "x" days, if the size of the directory is greater than "y"
#!/bin/bash
du -hs $1
while read SIZE ENTRY
do
if ;
then
find $1 -mtime +$2 -exec rm -f {} \;
echo "Files older than $2 days deleted"
else
echo "free Space available"... (4 Replies)
Discussion started by: JamesCarter
4 Replies
7. Shell Programming and Scripting
Hi,
I am trying to get the system RAM size from "top" command's output by the following but it is not working.
top | sed "s/^Mem.**\(*\), *//" (10 Replies)
Discussion started by: royalibrahim
10 Replies
8. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
9. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
10. AIX
Hi 2 all,
i have had AIX 7.2
:/# /usr/IBMAHS/bin/apachectl -v
Server version: Apache/2.4.12 (Unix)
Server built: May 25 2015 04:58:27
:/#:/# /usr/IBMAHS/bin/apachectl -M
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_worker_module (static)
... (3 Replies)
Discussion started by: penchev
3 Replies
LEARN ABOUT DEBIAN
rdsfree
RDSFREE(3) RDS PHYSICAL FUNCTIONS RDSFREE(3)
NAME
rdsfree - free memory place
ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in
Paris, France.
Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users@asim.lip6.fr
SYNOPSYS
#include "rdsnnn.h"
void rdsfree( Pointer, Size )
char *Pointer;
unsigned int Size;
PARAMETER
Pointer pointer to the memory to free.
Size Size of the memory to free.
DESCRIPTION
The rdsfree function deletes memory of size='Size' allocated with rdsalloc function. If the parameter Size is set to ZERO (or
RDS_ALLOC_BLOCK) then the memory is deleted by BLOCK else the memory is deleted by HEAP.
Note : A memory allocated by BLOCK (resp. by HEAP) must be deleted by BLOCK (resp. by HEAP).
RETURN VALUE
nothing
ERRORS
none
EXAMPLE
#include "rdsnnn.h"
main()
{
rdsrec_list *Rectangle;
rdsfig_list *Figure;
Figure = allocrdsfig ();
Rectangle = allocrdsrec ();
Rectangle->X = 20;
Rectangle->Y = 20;
Rectangle->DX = 48;
Rectangle->DY = 8;
...
/* */ rdsfree ( Rectangle, sizeof (rdsrec_list));
/* deletes a figure allocated by block */
/* */ rdsfree ( Figure , RDS_ALLOC_BLOCK);
}
SEE ALSO
librds, rdsalloc
BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.
ASIM
/LIP6 October 1, 1997 RDSFREE(3)