-
-
Notifications
You must be signed in to change notification settings - Fork 511
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tests "SHOW THREADS" * Exposed searchd launch into a separate block. --------- Co-authored-by: Pavel_Shilin <[email protected]>
- Loading branch information
1 parent
445ecda
commit 181365f
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested | ||
––– input ––– | ||
searchd --cpustats | ||
––– output ––– | ||
Manticore 6.2.13 #!/[A-Za-z0-9]{9}@[0-9]{6}/!# dev (columnar 2.2.5 #!/[A-Za-z0-9]{9}@[0-9]{6}/!#) (secondary 2.2.5 [A-Za-z0-9]{9}@[0-9]{6}/!#) | ||
Copyright (c) 2001-2016, Andrew Aksyonoff | ||
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com) | ||
Copyright (c) 2017-2023, Manticore Software LTD (https://manticoresearch.com) | ||
#!/[0-9]{2}:[0-9]{2}\.[0-9]{3}/!# [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (457 chars)... | ||
starting daemon version '6.2.13 #!/[A-Za-z0-9]{9}@[0-9]{6}/!# dev (columnar 2.2.5 #!/[A-Za-z0-9]{9}@[0-9]{6}/!#) (secondary 2.2.5 #!/[A-Za-z0-9]{9}@[0-9]{6}/!#)' ... | ||
listening on all interfaces for mysql, port=9306 | ||
listening on UNIX socket /var/run/mysqld/mysqld.sock | ||
listening on all interfaces for sphinx and http(s), port=9312 | ||
listening on all interfaces for sphinx and http(s), port=9308 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
––– block: ../base/start-searchd-1 ––– | ||
––– input ––– | ||
mysql -h0 -P9306 -e "SHOW THREADS\G;" | ||
––– output ––– | ||
*************************** 1. row *************************** | ||
TID: %{NUMBER} | ||
Name: work_%{NUMBER} | ||
Proto: mysql | ||
State: query | ||
Connection from: 127.0.0.1:%{NUMBER} | ||
ConnID: %{NUMBER} | ||
This/prev job time, s: %{NUMBER}ms | ||
CPU activity: %{NUMBER}.%{NUMBER}% | ||
Jobs done: %{NUMBER} | ||
Thread status: working | ||
Info: SHOW THREADS |