Some softwares I am developing

Here are some softwares I developed, you can download them (provided you agree with the enclosed license) and give me feedback (by mail to gb at gbarbier dot org).

Up to now there are only some very small softwares, but this page will improve.


nmbscan

nmbscan scans the shares of a SMB/NetBIOS network, using the NMB/SMB/NetBIOS protocols.

Its homepage is no longer here, hit has moved there: http://nmbscan.gbarbier.org/.


bcv

Converts number to/from decimal, hex, bin, octal and ascii on the command line. Useful for debuging and so on.

Sample output :

[gbarbier@obelix dev]$ bcv 0b110011 0x2a -204 3040 c hello ^M
      0x33 =          063 =                           0b110011 =   51 <-> '3'
      0x2a =          052 =                           0b101010 =   42 <-> '*'
0xffffff34 = 037777777464 = 0b11111111111111111111111100110100 = -204
     0xbe0 =        05740 =                     0b101111100000 = 3040
      0x63 =         0143 =                          0b1100011 =   99 <-> 'c'
      0x68 =         0150 =                          0b1101000 =  104 <-> 'h'
      0x65 =         0145 =                          0b1100101 =  101 <-> 'e'
      0x6c =         0154 =                          0b1101100 =  108 <-> 'l'
      0x6c =         0154 =                          0b1101100 =  108 <-> 'l'
      0x6f =         0157 =                          0b1101111 =  111 <-> 'o'
       0xd =          015 =                             0b1101 =   13 <-> ^M

 versionpackagingtypearchsizeurl
tar/src2.2-tarsrc18 kBbcv-2.2.tar.gz
rpm/bin2.23rpmx86_647 kBbcv-2.2-3.x86_64.rpm
rpm/src2.23rpmsrc20 kBbcv-2.2-3.src.rpm
rpm/bin2.23rpmi3867 kBbcv-2.2-3.i386.rpm
rpm/src2.22rpmsrc20 kBbcv-2.2-2.src.rpm
rpm/bin2.22rpmi3866 kBbcv-2.2-2.i386.rpm
rpm/src2.21rpmsrc20 kBbcv-2.2-1.src.rpm
rpm/bin2.21rpmi3866 kBbcv-2.2-1.i386.rpm

txt

txt is a simple command-line tool that converts end-of-line sequences from one system to another. It understands the EOL sequences used by DOS, MacOS, Unix, and the reversed DOS sequence. txt can handle mixed-type inputs where the EOL sequence differs from line to line. It can handle several files at once, preserving their permissions/ownership, and it can handle standard input.

I personnaly tested compilation and correct execution successfully on the following platforms : Linux/i386/gcc, AIX/rs6000/ibmcxx, Solaris/sparc/gcc.

This program won't work properly on cygwin32/i386/gcc due to special handling of end of lines on this platform.

 versionpackagingtypearchsizeurl
tar/src1.2-tarsrc19 kBtxt-1.2.tar.gz
rpm/bin1.22rpmx86_647 kBtxt-1.2-2.x86_64.rpm
rpm/src1.22rpmsrc22 kBtxt-1.2-2.src.rpm
rpm/bin1.22rpmi3867 kBtxt-1.2-2.i386.rpm
rpm/src1.21rpmsrc21 kBtxt-1.2-1.src.rpm
tar/bin1.21tarsolaris26_sparc12 kBtxt-1.2-1.solaris26_sparc.tar.gz
rpm/bin1.21rpmi3866 kBtxt-1.2-1.i386.rpm
tar/bin1.21taraix433_rs60004 kBtxt-1.2-1.aix433_rs6000.tar.gz
tar/src1.1-tarsrc18 kBtxt-1.1.tar.gz
rpm/src1.11rpmsrc20 kBtxt-1.1-1.src.rpm
rpm/bin1.11rpmi3866 kBtxt-1.1-1.i386.rpm

mmap_dispatch

Report information about memory allocated by processes, using /proc/*/maps. May be helpfull to evaluate processes use of memory.

This script is Linux specific.

Online help:

mmap_dispatch version 1.0.0
usage:
  ./prj/dev/mmap_dispatch [-h|--help]
    displays this help info
  ./prj/dev/mmap_dispatch [-H|--headers] pid [pid2 [pid3 [...]]]
    displays mmap info about specified processes
  ./prj/dev/mmap_dispatch [-H|--headers] [-a|--all]
    displays mmap info about all processes

private memory is that which is writeable and of type 'copy on write'.
shared memory is that which is of type 'shared'.
sharable memory is that which is not writeable and 'copy on write'.

private memory can even be shared (if not written).
sharable memory is shared if more than one process maps the same
resources.

see man mmap for more details.

 versionpackagingtypearchsizeurl
tar/src1.0.0-tarsrc1 kBmmap_dispatch-1.0.0.tar.gz
rpm/src1.0.01rpmsrc4 kBmmap_dispatch-1.0.0-1.src.rpm
rpm/bin1.0.01rpmnoarch3 kBmmap_dispatch-1.0.0-1.noarch.rpm

Notes :