How can I use nvprof to monitor a daemon ?

I plan to test SQream which is a GPU DB.
I’d like to monitor how it is doing with NVLink and things like that, so I guess I need to use nvprof.

I find that SQream server process is started as a daemon as below.

$ sudo service sqream start

I need to put this daemon under nvprof. I see that there is no way to attach a running process to nvprof, so I guess I need to start this daemon with nvprof.

But how should I do that ?

Any comment would be much appreciated.

Have you tried contacting the DB supplier to ask how their service can be profiled?

You can use nvprof to profile all processes. Follow the instructions in the nvprof documentation