Jade's weblog Archive

Jim Davidson on a few undocumented things you can do with Aolserver

It turns out theres an undocumented Tcl_GetMemoryInfo call in Tcl. The only user is AOLserver's "ns_info pools" command which uses it to get a list of lists of per-bucket memory usage for each thread. Since it turns out you can load libnsd to get the ns_info command (also undocumented), you can try this:

shell# bin/tclsh8.5
% load lib/libnsd.so
% ns_info pools; ... look at output on zippy memory usage ...
% ... run test ...
% ns_info pools; ... look again ...

12:08 AM, 07 Apr 2005 by Jade Rubick Permalink | Comments (0)

XML

Notifications

You may request notification for Jade's weblog.

Syndication Feed

XML

Recent Comments

  1. Jade Rubick: And... yes and no
  2. Jade Rubick: Using hoptoad
  3. Jade Rubick: Much better
  4. Bodo Tasche: Link changed :)
  5. Bodo Tasche: Better commt emails. Now with color :)
  6. Jade Rubick: Filed a ticket
  7. Vinod Kurup: Wow
  8. Jade Rubick: Then what
  9. Paul Post: Percentages
  10. Paul Post: I might be an ENFJ?