Re: Adding `pgrep' and `pkill' to /usr/bin
From: Matthew D. Fuller (fullermd_at_over-yonder.net)
Date: 03/26/04
- Previous message: Garance A Drosihn: "Re: Questions on `pgrep' and `pkill'"
- In reply to: Peter Jeremy: "Re: Adding `pgrep' and `pkill' to /usr/bin"
- Next in thread: Garance A Drosihn: "Re: Adding `pgrep' and `pkill' to /usr/bin"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 25 Mar 2004 23:04:05 -0600 To: Peter Jeremy <peterjeremy@optushome.com.au>
On Thu, Mar 25, 2004 at 07:48:37PM +1100 I heard the voice of
Peter Jeremy, and lo! it spake thus:
>
> At another level, Unices tend to differ most when it comes to
> administration utilities. This requires sysadmins to mentally change
> gears as they move between xterm (should I type "ps -ef" or "ps -ax"
> into this terminal?). Adding (useful) sysadmin utilities from one of
> the more common Unices would seem to be A Good Thing.
That's why you have your shell rc file set up aliases. A few snips
from mine:
-----
case "FREEBSD":
case "UNKNOWN":
alias p 'ps -agOuser'
alias psa 'ps -gaxuww \!* | $PAGER'
breaksw
case "SOLARIS":
alias p '/usr/ucb/ps -agu'
alias psa '/usr/ucb/ps -gaxuww \!* | $PAGER'
breaksw
case "LINUX"
alias p 'ps ua'
alias psa 'ps axuww \!* | $PAGER'
breaksw
-----
And so on.
True, not perhaps as nice as them actually being the same, but what
fun would THAT be? :)
-- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ "The only reason I'm burning my candle at both ends, is because I haven't figured out how to light the middle yet" _______________________________________________ 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"
- Previous message: Garance A Drosihn: "Re: Questions on `pgrep' and `pkill'"
- In reply to: Peter Jeremy: "Re: Adding `pgrep' and `pkill' to /usr/bin"
- Next in thread: Garance A Drosihn: "Re: Adding `pgrep' and `pkill' to /usr/bin"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]