GLIMPSESERVER(1)
π GLIMPSESERVER π
okay bestie, welcome to glimpseserver β it's the server version of the glimpse searching package and it is so good at what it does. this is from the General Commands Manual, section 1 (user commands, the fun ones π
). let's get into it.
β¨ OVERVIEW β¨
so like. Glimpse is an indexing and query system that lets you search through all your files very quickly. iconic behaviour, no notes.
the thing is, glimpse keeps showing up in servers that handle frequent queries β like, constantly, all the time β which is exactly why we wrote glimpseserver, to make those searches more efficient. π¦
what glimpseserver actually does: it starts a process that listens to queries, runs glimpse, and sends the answers back. that's the whole vibe.
and the main advantage? the index is read only once into memory, saving a lot of IO. literally the glow-up. π₯
glimpse talks to glimpseserver through a given port number. and bestie, please read the warning about security below. not optional. π
π SYNOPSIS π
glimpseserver [ -H dir -K port -J host. ]
π DESCRIPTION π
the options, one by one, slay:
-H dirβ specifies the directory of the index. similar to the-Hoption of glimpse. the default directory is the value of the environment variable$HOMEif that is set, otherwise it's the current directory. β¨-K portβ this is the TCP port for communication:glimpseserverwaits for requests on this port, and clients that want to search using the index specified by the-Hoption must use this port (by callingglimpse -K). the default port number is2001. π―-J hostβ the name of the host. the default is the host whereglimpseserveris running, which is probably the only possibility anyway. π€·βοΈ
π RESTARTING π
okay this part is genuinely so handy. if a new index is created by running glimpseindex every night, restarting a new glimpseserver is now easier: simply send a SIGUSR2 (signal #31 β i.e., "kill -31 pid") to glimpseserver; it then re-reads the NEW index and is ready to serve requests again. π«Ά
(a SIGHUP, i.e., signal #1, can also be sent instead of SIGUSR2 to make the glimpseserver re-read the new index.)
the recommended way to do a fresh indexing while the server is still running is:
send SIGSTOP to glimpseserver
do the indexing
send SIGUSR2 to glimpseserver
send SIGCONT to glimpseserver (to ask it to continue after stop)
theSIGSTOPis required so thatglimpseserverdoesn't answer any queries while the indexing is going on. do not skip it, bestie. π
π¨ WARNING π¨
okay this is the serious one, so listen up. Glimpseserver should be used only for public servers. π
any client that knows the port number can get any information available in the index β and port numbers are not that secret. like, at all. π
when glimpse is run as a standalone application it requires read permission of the index and all the files. but when glimpse uses the -C option to communicate with glimpseserver, glimpse (the client) does not require any permission, because glimpseserver does all the searching. π
so: we recommend not to run glimpseserver on any data that should be protected. Glimpseserver is meant to be used for public data. periodt. π
π SEE ALSO π
π BUGS π
please submit bug reports or comments at http://webglimpse.net/bugzilla/ β they wanna hear from you fr fr. π
π AUTHORS π
Udi Manber and Burra Gopal, Department of Computer Science, University of Arizona, and Sun Wu, the National Chung-Cheng University, Taiwan. now maintained by Golda Velez at Internet WorkShop (Email: gvelez@webglimpse.net). legends only. πβ
and that's the whole page, bestie π β this one's from the General Commands Manual, GLIMPSESERVER(1), and it's dated October 13, 1997. yes, 1997. vintage. iconic. she ate and left no crumbs. π
π¦
bye love u, go read the WARNING again π«Ά
π¦ where this page comes from
- debian bookworm: glimpse 4.18.7-6
- debian trixie: glimpse 4.18.7-10
- ubuntu jammy: glimpse 4.18.7-6
- ubuntu noble: glimpse 4.18.7-8build1
- ubuntu questing: glimpse 4.18.7-11
- ubuntu resolute: glimpse 4.18.7-12
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms