How to get Xvfb display number

x11

Solution

on a unix system, run

ps -ef|grep Xvfb

and it should list it there with the process

Problem

How can I get the display number that used while running Xvfb? For example somebody run ./Xvfb :14 I need somehow to get the used display number 14. Thanks in advance

Original source