On Sat, Jul 27, 2013 at 05:43:52PM -0500, J Raynor wrote:
> >
> > Why? What's wrong with using cat?
> >
> 
> I log my sessions, so I end up with a bunch of cat and sh processes,
> and it just bugs me slightly seeing them when they don't need to be.

Well, they're a means to an end.  That's no worse than other programs.

> Some better reasons for it would be:
> 
> -  If you log lots of sessions, you're getting closer to hitting maxuproc.

If you log lots of sessions, what the hell are you doing in the first place
that needs it?  You could always use script(1) or ttyrec(1) instead.

> -  Using cat uses up slightly more memory and available FDs.

If you're even coming close to hitting the number of maximum FDs, I'd be
amazed.

> -  Using cat makes it obvious to an attacker that you're logging
> sessions somewhere.

What's your real use-case here?  I mean, it's obvious you're logging
activity across sessions, but for what?

-- Thomas Adam

-- 
"Deep in my heart I wish I was wrong.  But deep in my heart I know I am
not." -- Morrissey ("Girl Least Likely To" -- off of Viva Hate.)

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to