commandline session $gdb a.out GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type “show copying” and “show warranty” for details. This GDB …
Category Archives: Uncategorized
Binary Tree Debug II ( Insert Function )
commandline and also gdb session related $pwd /home/jeffrin $gdb a.out GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type “show copying” and …
Binary Tree Debug
commandline session $gdb a.out GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type “show copying” and “show warranty” for details. This GDB …
Running Unit tests
commandline session $./utils/unittest_suite.py Number of test modules found: 59 autotest.client.kernel_versions_unittest: PASS autotest.client.shared.profiler_manager_unittest: PASS autotest.mirror.database_unittest: PASS autotest.client.shared.autotemp_unittest: PASS autotest.tko.utils_unittest: PASS autotest.client.harness_unittest: PASS autotest.client.shared.hosts.base_classes_unittest: PASS autotest.client.setup_job_unittest: PASS autotest.mirror.source_unittest: PASS autotest.client.fsinfo_unittest: PASS autotest.client.shared.base_job_unittest: PASS autotest.server.hosts.remote_unittest: PASS autotest.database_legacy.database_connection_unittest: FAIL autotest.server.hosts.monitors.monitors_util_unittest: PASS autotest.server.hosts.monitors.console_patterns_unittest: FAIL autotest.client.net.net_tc_unittest: PASS autotest.client.partition_unittest: PASS autotest.cli.user_unittest: PASS autotest.scheduler.drone_manager_unittest: PASS autotest.client.local_host_unittest: PASS autotest.cli.rpc_unittest: PASS autotest.scheduler.drones_unittest: PASS autotest.cli.job_unittest: PASS …
Autotest Unittest suite. Setting up dependencies
Get The Hang $sudo ./utils/build_externals.py 20:28:50 INFO | imported setuptools version 0.6. 20:28:50 INFO | A new Setuptools is not needed on this system. 20:28:50 INFO | MySQLdb isn’t present. Will install. 20:28:50 INFO | Fetching http://downloads.sourceforge.net/project/mysql-python/mysql-python/1.2.2/MySQL-python-1.2.2.tar.gz 20:28:52 INFO | Good checksum. 20:28:52 INFO | imported django version 1.5.1. 20:28:52 INFO | A new Django …
Continue reading “Autotest Unittest suite. Setting up dependencies”
SICP CHAPTER 1 SECTION "NAMING AND ENVIRONMENT”
commandline session $scm SCM version 5e5, Copyright (C) 1990-2006 Free Software Foundation. SCM comes with ABSOLUTELY NO WARRANTY; for details type `(terms)’. This is free software, and you are welcome to redistribute it under certain conditions; type `(terms)’ for details. ;loading /usr/share/slib/require ;done loading /usr/share/slib/require.scm ;loading /usr/share/slib/require ;done loading /usr/share/slib/require.scm ;loading /usr/lib/scm/Link ;done loading /usr/lib/scm/Link.scm …
Continue reading “SICP CHAPTER 1 SECTION "NAMING AND ENVIRONMENT””
SICP Chapter 1 Section "Expressions"
commandline session $scm SCM version 5e5, Copyright (C) 1990-2006 Free Software Foundation. SCM comes with ABSOLUTELY NO WARRANTY; for details type `(terms)’. This is free software, and you are welcome to redistribute it under certain conditions; type `(terms)’ for details. ;loading /usr/share/slib/require ;done loading /usr/share/slib/require.scm ;loading /usr/share/slib/require ;done loading /usr/share/slib/require.scm ;loading /usr/lib/scm/Link ;done loading /usr/lib/scm/Link.scm …
readelf – Displays information about ELF files
commandline session $readelf -I /bin/ping Histogram for `.gnu.hash’ bucket list length (total of 3 buckets): Length Number % of total Coverage 0 0 ( 0.0%) 1 0 ( 0.0%) 0.0% 2 0 ( 0.0%) 0.0% 3 3 (100.0%) 100.0% $readelf -a /bin/ping | head ELF Header: Magic: 7f 45 4c 46 02 01 01 00 …
Continue reading “readelf – Displays information about ELF files”
hexdump, hd — ASCII, decimal, hexadecimal, octal dump
commandline session $echo a > hex.txt $hexdump hex.txt 0000000 0a61 0000002 $ $echo b > hex.txt $hexdump hex.txt 0000000 0a62 0000002 $echo ab > hex.txt $ $hexdump hex.txt 0000000 6261 000a 0000003 $echo > hex.txt $hexdump hex.txt 0000000 000a 0000001 $echo abc > hex.txt $hexdump hex.txt 0000000 6261 0a63 0000004 $
free – it displays buffers used by the kernel
root>free -l -s 3 total used free shared buffers cached Mem: 1995396 1832704 162692 0 246952 500216 Low: 1995396 1832704 162692 High: 0 0 0 -/+ buffers/cache: 1085536 909860 Swap: 5843964 7456 58310008 total used free shared buffers cached Mem: 1995396 1832616 162780 0 246952 500216 Low: 1995396 1832704 162692 High: 0 0 0 -/+ …
Continue reading “free – it displays buffers used by the kernel”