CSRI Malloc - anyone know how to get total "arena" size?

CSRI Malloc - anyone know how to get total "arena" size?

Post by Avinash Chop » Tue, 11 Jul 1995 04:00:00



I am fiddling around with the CSRI Malloc library (since it claims to be
both time and space efficient!), and was wondering if anyone else has
used it? It currently has a function called "mal_heapdump", which prints
all the areans, but it does not print the total size used by all the
malloc arena blocks, nor does it tell me what is the total space
allocated to the user.

Before I dig into the code trying to see how to do that, if anyone else
knows how to do this, please let me know! Thanks!

--
----
Avinash Chopde

 
 
 

1. Anyone know how to rm the file "-af" and "-al"?

I have a user that has created some strange files that I cannot remove.
Here is a listing of the directory

total 48
-rw-r--r--   1 bferring staff          5 Dec 16 17:51 -af
-rw-r--r--   1 bferring staff          0 Oct 25 16:18 -al
drwxr-xr-x   6 bferring staff        512 Dec 16 17:51 .
drwxr-xr-x   9 root     root         512 Dec 14 12:32 ..
-rw-r--r--   1 bferring staff        364 Dec 17 11:59 .bash_history
-rwxr-xr-x   1 bferring staff        285 Dec 16 17:45 .bashrc
-rw-------   1 bferring staff       2342 Dec 17 11:59 .sh_history
-rwxr-xr-x   1 bferring staff       9592 Dec 11 14:59 a.out
drwxr-xr-x   2 bferring staff        512 Dec  8 15:46 hw14
drwxr-xr-x   2 bferring staff        512 Oct 13 21:45 hw4
drwxr-xr-x   2 bferring staff        512 Oct 25 11:56 hw7
drwxr-xr-x   2 bferring staff        512 Nov  2 10:33 hw9
-rw-r--r--   1 bferring staff       1869 Dec 11 14:59 nshell5.cpp

I tryp and remove -af and -al and I cannot.

I have tried
rm '-al' , rm "-af", rm "\-af"

Anyone know how to rm these files.

2. How to compile libc 5.4.46

3. GETSERVBYNAME()????????????????????"""""""""""""

4. Per-directory quota ?

5. the WinTroll formerly known as "Taylor" is now known as "GERRI"

6. Buy a computer WITHOUT RedHat

7. The schizophrenic formerly known as "GERRI" is now known as "Depardeau"

8. KDE setup question

9. The schizophrenic formerly known as "GERRI" is now known as "HHippo"

10. """"""""My SoundBlast 16 pnp isn't up yet""""""""""""

11. "sar -f <file>" fails with "sar: malloc failed"

12. Is there a limitation of "malloc" size?