Xorg monitor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi,

Subject title was: " Someone with a good command construct ?? "

On Sat, 23 May 2009, Patrick O'Callaghan wrote:

> > hi,
> >
> > Not been well lately, and I have not done much clever thinking.
> > And so, - was the idea without any purpose at all ?
>
> Maybe if you explained what you're trying to do, someone may have an
> answer. I've read your original post about this several times and I
> still don't get it. Try to reduce the problem to its essentials and
> state it succinctly.
>
> poc
>

I tried to craft together some command, 
"strace  -o /dev/null  -p `pgrep Xorg`".  But this could be done better.

Here it will write to /dev/null, but it will also write a message on your
screen when it does so. It is actually this message I found 
interesting to use. 

What I believe it may tell me is:

a) when Xorg die
b) when a thead die
c) - some indication of the reason

                             --------------------

What I have found is that memory structures get trashed. Xorg seem to write
to parts it should leave alone, etc. ( some memory management is missing )
 
I am running 64bit AMD with ati-radeon.

So far, I have seen how this little command seem to report when/why some of
the problems occur.

Would like some improvement:

Pseudo code:
loop 
  if not "monitor" attached,
      write output to file,
      increment error-counter,
      attach monitor,
  endif
always 

( "monitor" being: strace  -o /dev/null  -p `pgrep Xorg` )

                       -------------------------

Some may have some clever idea as how to accomplish this. 

The *important* point would be if it could be of use for more then
myself, and perhaps uncover some of the obstacles we struggle with.


//ARNE

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux