So Long as they Fear (letthemhate) wrote in netbsd,
So Long as they Fear
letthemhate
netbsd

hohoho..

here is a goodie for those of you out there who are used to the 'killall' command but are too lazy to 'cd /usr/pkgsrc/sysutils/psmisc && make update', or just can't get the psmisc package installed for some reason; http://sabu.net/data/code/killall.py. I wrote it in python, should work on most or all python distributions <2.3.*.

just wget it, chmod +x it, place it /usr/local/bin for good measures and use away.. its pretty fast and interprets the output of 'ps -jac'.. I am looking into the proper syscalls to get me process information directly from kernel instead through 'ps'.. so I'll just update with any speed improvements.
Subscribe

  • Compile a program for me - please!

    Good evening all. I have an old machine that runs NetBSD. I want to use it to run PLT Scheme programs. Trouble is, it has so little memory that…

  • remove the base system component

    Greets. I’m digging in to pkgsrc now and I want to install X.org, but during the installation I had chosen to install XFree86 -- just to test if X…

  • NFS tuning

    Hi! I'm using NetBSD on an old notebook as a multipurpose server. I've installed nfsd on my NAS to let NetBSD access file archives. Samba doesn't…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic
  • 1 comment