Disabling display in DeepStream

I like to disable display in DeepStream application.
I am using the following elements in the pipeline.
*pipeline , *streammux , *sink , *pgie, *queue1, *queue2, *queue3, *queue4, *queue5, *nvvidconv , *nvosd, *tiler , *nvtracker ;
I removed *nvvidconv , *nvosd, *tiler

Do I still need to remove sink and nvegltransform?

How can I check pgie and nvtracker are still working?
How can I probe metadata, bounding box, fps etc?

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
• DeepStream Version
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

I think you can refer the deepstream test1/test2 code

• Hardware Platform (Jetson / GPU)
Xavier

• DeepStream Version
6.0

• JetPack Version (valid for Jetson only)
Package: nvidia-jetpack
Version: 4.5.1-b17
Architecture: arm64

• TensorRT Version
7.1

• NVIDIA GPU Driver Version (valid for GPU only)
Depends: nvidia-cuda (= 4.5-b129), nvidia-opencv (= 4.5-b129), nvidia-cudnn8 (= 4.5-b129), nvidia-tensorrt (= 4.5-b129), nvidia-visionworks (= 4.5-b129), nvidia-container (= 4.5-b129), nvidia-vpi (= 4.5-b129), nvidia-l4t-jetson-multimedia-api (>> 32.5-0), nvidia-l4t-jetson-multimedia-api (<< 32.6-0)

• Issue Type( questions, new requirements, bugs)
How to disable display in deeplearning app?

• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

Please check my last comment, is this still need help?

Thanks that is settled.