Tag: free

  • How Linux is Built

  • free – Display amount of free and used memory in the system

    commandline session $free -m -c 10 -s 10 total used free shared buffers cached Mem: 1948 1816 131 0 105 536 -/+ buffers/cache: 1175 773 Swap: 5706 19 5687 total used free shared buffers cached Mem: 1948 1816 131 0 105 536 -/+ buffers/cache: 1175 773 Swap: 5706 19 5687 total used free shared buffers […]

  • line with cairo

    /* Jeffrin Jose Licensed GPL v3 Copyright August 2010 GPL –> http://www.gnu.org/copyleft/gpl.html */ #include int main () { cairo_surface_t *surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, 800, 600); cairo_t *cr = cairo_create (surface); cairo_set_font_size (cr, 32.0); cairo_set_source_rgb (cr, 0, 0, 0); cairo_set_line_width(cr,1.0); cairo_move_to (cr, 10.0, 50.0); cairo_line_to(cr,20,300); cairo_stroke(cr); cairo_destroy (cr); cairo_surface_write_to_png (surface, “hello.png”); cairo_surface_destroy (surface); return 0; }

  • free – Display amount of free and used memory in the system

    A UNIX Command $free total used free shared buffers cached Mem: 507008 432908 74100 0 14700 186816 -/+ buffers/cache: 231392 275616 Swap: 1485972 0 1485972 $free -m total used free shared buffers cached Mem: 495 422 72 0 14 182 -/+ buffers/cache: 225 269 Swap: 1451 0 1451 $ UNIX Explanation Display amount of free […]