Distingushing X process in all the system processes.

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

 



Hello,

How can I distinguish the X related proccesses (X server or
X clients) among the all processes in the system?

For example, I think the follows are some candidate to distinguish
the X related processes:

  1) They use specific system calls to manupulate the display.
  2) Specific network port number(or UNIX domain sockets) is 
     used to communicate between X server and X clients.
  3) They refer specific environmental variables such as DISPLAY.

What do you think of this?

Any ideas?

-- 
Seongsu's blog - http://www.senux.com/
"I'd crawl over an acre of 'Visual This++' and
'Integrated Development That' to get to gcc, Emacs,
and gdb. Thank you." (By Vance Petree, Virginia Power)

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux