AIX topas command

2011-09-20 Thread craigjl77
Hi, The aix command topas does not seem to work inside tmux. After I ssh to my aix box and try to run topas(a top like app for aix) I get this error :- Terminal screen is unknown Can anyone help? Thanks -- All the da

Re: AIX topas command

2011-09-20 Thread Rob
On 20 September 2011 09:12, wrote: > The aix command topas does not seem to work inside tmux. After I ssh to my > aix box and try to run topas(a top like app for aix) I get this error :- > Terminal screen is unknown > > Can anyone help? Try setting $TERM to xterm, while inside tmux, then launch

Re: AIX topas command

2011-09-20 Thread craig lister
Thnx Rob, that worked. If I am using this shell script to start things :- tmux new-session -d -s itmult sleep 2 tmux neww -a -n 'fred' 'ssh -X clister@fred' tmux neww -a -n 'fred1' 'ssh -X clister@fred1' tmux neww -a -n 'fred2' 'ssh -X clister@fred2' tmux select-window -t itmult:fred2 tmux -2 a

sporadic CPU burning on ioctl(401, FIONREAD, [0]) in evbuffer_read

2011-09-20 Thread marcel partap
Hi there :) This is a strange thing, sometimes tmux totally pwns one CPU, just noticed it has been consuming bloody 30hours of precious 2.8GHz processor time that should have been going to BOINC *grrr* ^^ anyways, a crude statistical analysis after detaching all clients > sleep 10s && killall -v

Re: sporadic CPU burning on ioctl(401, FIONREAD, [0]) in evbuffer_read

2011-09-20 Thread Nicholas Marriott
tmux version? libevent version? give the full strace log for 10 seconds please On Tue, Sep 20, 2011 at 02:05:22PM +0200, marcel partap wrote: > Hi there :) > This is a strange thing, sometimes tmux totally pwns one CPU, just > noticed it has been consuming bloody 30hours of precious 2.8GHz > p

Re: sporadic CPU burning on ioctl(401, FIONREAD, [0]) in evbuffer_read

2011-09-20 Thread Nicholas Marriott
This is weird, either epoll is returning EPOLLHUP but read() is returning EAGAIN not 0 or an error, or epoll is returning EPOLLIN and read() is always returning EAGAIN. Can you send "tmux info" output? On Tue, Sep 20, 2011 at 03:47:26PM +0200, marcel partap wrote: > On 20/09/11 14:40, Nicholas M

Problems building tmux on Solaris

2011-09-20 Thread Peter Jeremy
I have been trying to build tmux-1.5 on Solaris 8, Solaris 9 and Solaris 10 using SunStudio 11 and SunStudio 12 and have run into a number of issues: 1) Neither SunStudio 11 nor SunStudio 12 support __inline The following patch changes them back to "inline": --- compat/tree.h~ 2011-07-09 1

Re: Problems building tmux on Solaris

2011-09-20 Thread Nicholas Marriott
Can you do the inline change with an ifdef #define __inline inline? Not sure about asprintf, there used to be another version too but I took it out. closefrom() came from OpenSSH, how does it deal with the dirfd() thing? INFINITY has gone in tmux SVN already. Cheers On Mon, Sep 19, 2011 at 03

Re: Problems building tmux on Solaris

2011-09-20 Thread Nicholas Marriott
Hi Try this to fix the dirfd thing. I'll have to look at ssh's vsnprintf. tmux will require a C99 compiler (or at least, some of the C99 features) so if you want it to work on Tru64 you'll have to dig out one. mdocml has the start of a man output mode now so when that is finished we can use tha