---
name: "function::qsq_print"
section: "3stap"
platform: "linux"
package: "systemtap-doc"
version: "5.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/function::qsq_print"
---

# function::qsq\_print(3stap)

Prints a line of statistics for the given queue

## NAME

function::qsq\_print - Prints a line of statistics for the given queue

## SYNOPSIS

```
    qsq_print(qname:string)
```

## ARGUMENTS

*qname*

queue name

## DESCRIPTION

This function prints a line containing the following

## STATISTICS FOR THE GIVEN QUEUE

the queue name, the average rate of requests per second, the average wait queue length, the average time on the wait queue, the average time to service a request, the percentage of time the wait queue was used, and the percentage of time request was being serviced.

## SEE ALSO0

[*tapset::queue\_stats*(3stap)](/tapset::queue_stats/3stap.md)
