Re: Adding `pgrep' and `pkill' to /usr/bin

From: Dan Nelson (dnelson_at_allantgroup.com)
Date: 03/25/04

  • Next message: Garance A Drosihn: "Re: Questions on `pgrep' and `pkill'"
    Date: Thu, 25 Mar 2004 15:16:36 -0600
    To: Garance A Drosihn <drosih@rpi.edu>, arch@FreeBSD.ORG
    
    

    In the last episode (Mar 24), David Schultz said:
    > I think it would be *great* to import any and all of the Solaris proc
    > tools into FreeBSD. I tend to think of these utilities as ps(1),
    > fstat(1), and friends done the proper Unix way (with lots of simple
    > tools that can be combined for powerful effect.) For those who
    > haven't seen the rest of the tools, take a look at:
    >
    > http://www.freebsd.org/cgi/man.cgi?query=proc&manpath=SunOS+5.9

    Some of these already exist or would be trivial to add:

    pstack is in ports, and can decode libc_r threads.
    pwdx could be a wrapper around fstat?
    pstop and prun are just wrappers around kill -{STOP|CONT} $@
    pwait would make wait_for_pids() in rc.subr simpler
    pstree is in ports and looks similar to ptree

    -- 
    	Dan Nelson
    	dnelson@allantgroup.com
    _______________________________________________
    freebsd-arch@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-arch
    To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
    

  • Next message: Garance A Drosihn: "Re: Questions on `pgrep' and `pkill'"

    Relevant Pages

    • FreeBSD Status Report Second Quarter 2006
      ... April-June 2006 Status Report ... With the release of FreeBSD 5.5 and FreeBSD 6.1, ... consider the "Open Tasks lists" provided with some reports. ... Improving Ports Collection ...
      (freebsd-current)
    • FreeBSD Status Report Second Quarter 2006
      ... April-June 2006 Status Report ... With the release of FreeBSD 5.5 and FreeBSD 6.1, ... consider the "Open Tasks lists" provided with some reports. ... Improving Ports Collection ...
      (freebsd-hackers)
    • FreeBSD Quarterly Status Report, First Quarter of 2007
      ... This report covers FreeBSD related projects between January and March ... Building Linux Device Drivers on FreeBSD ... Ports Collection ... Initially the project focused on USB webcams, ...
      (freebsd-current)
    • FreeBSD Quarterly Status Report, First Quarter of 2007
      ... This report covers FreeBSD related projects between January and March ... Building Linux Device Drivers on FreeBSD ... Ports Collection ... Initially the project focused on USB webcams, ...
      (freebsd-hackers)
    • FreeBSD Quarterly Status Report, First Quarter of 2007
      ... This report covers FreeBSD related projects between January and March ... Building Linux Device Drivers on FreeBSD ... Ports Collection ... Initially the project focused on USB webcams, ...
      (freebsd-stable)