table of contents
LOCALSEARCH-DAEMON(1) | LocalSearch manual | LOCALSEARCH-DAEMON(1) |
NAME¶
localsearch-daemon - Start, stop, restart and list daemons responsible for indexing content
SYNOPSIS¶
localsearch daemon [options...] localsearch daemon -s | -t [daemons] | -k [daemons] | -l localsearch daemon -f | -w [ontology] localsearch daemon --miner <miner> --pause[-for-process] <reason> localsearch daemon --miner <miner> --resume <cookie>
DESCRIPTION¶
Tracker indexes content with daemon processes that run in the background. The localsearch daemon command allows for control of these components. This ranges from starting, stopping and killing processes to pausing and resuming them.
In addition to all this, there are ways to follow or watch what is happening in real time from a top level and right down where the SPARQL commits are happening too.
If no arguments are provided this command will show the current status of all Tracker data miners.
The data miners can be paused or resumed using this command and you can also list miners running and available.
OPTIONS¶
-p, --list-processes
*-k, --kill
*-t, --terminate=
-s, --start
-f, --follow
This requires Ctrl+C to stop and return to the command line. Each new status is put on a new line.
-w, --watch=[ontology]
If ontology is unspecified, all updates are shown. The ontology can be a comma separated list of shorthand or long hand ontology properties. For example:
$ localsearch daemon -w nie:url,nie:mimeType,nfo:fileSize,nie:dataSource
Now listening for resource updates to the database
All nie:plainTextContent properties are omitted
Press Ctrl+C to stop
'nfo:Document'
'nfo:fileSize' = '1770'
'nie:dataSource' = 'http://tracker.api.gnome.org/ontology/v3/tracker#extractor-data-source'
'nie:mimeType' = 'text/plain'
'nie:url' = 'file:///home/martyn/.bash_aliases'
'nfo:Document'
'nie:dataSource' = 'http://tracker.api.gnome.org/ontology/v3/tracker#extractor-data-source'
...
--list-common-statuses
Additionally, these statuses are not the only ones which may be reported by a miner. There may be other states pertaining to the specific roles of the miner in question.
--list-miners-running
--list-miners-available
--pause-details
--miner=<miner>
--pause=<reason>
--pause-for-process=<reason>
--resume=<cookie>
09/16/2024 | 3.8.0 |