Permalink
Switch branches/tags
Nothing to show
Commits on May 3, 2011
Commits on May 2, 2011
  1. add FreeBSD note

    ioerror committed May 2, 2011
  2. Add FreeBSD setproctitle() support

    ioerror committed May 2, 2011
    FreeBSD is a little crafty and while you can set the process name to something
    new - the old process name sticks around.
    
    eg:
    
    Python 2.5.4 (r254:67916, Apr 14 2009, 08:39:49)
    [GCC 4.2.1 20070719  [FreeBSD]] on freebsd7
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import karmakarma
    >>> karmakarma.chameleon('/usr/lib/openssh/sftp-server')
    /usr/lib/openssh/sftp-server
    /usr/lib/openssh/sftp-server
    <karmakarma.chameleon instance at 0x801334b90>
    >>>
    [1]+  Stopped                 python
    [ioerror@freebsd ~]$ ps auxw|grep python
    ioerror 81643  0.0  0.3 22080  5572  p0  T     6:32AM   0:00.03 /usr/lib/openssh/sftp-server: /usr/lib/openssh/sftp-server (python)