CANNASTAT(1)

πŸ’– CANNASTAT(1) β€” bestie edition πŸ’–

General Commands Manual ✨ CANNASTAT(1) ✨

okay so. this is cannastat(1) β€” the little command that spills ALL the tea about your Kana-Kanji conversion server πŸ«–πŸ‘€


✨ NAME ✨

cannastat β€” the way to Display information about the Kana-Kanji conversion server πŸ’…


🌸 SYNOPSIS 🌸

cannastat [{-cs|-cannaserver} canna-server ] [-p] [-t] [-a]

πŸ¦‹ DESCRIPTION πŸ¦‹

cannastat(1) shows you what's up with the Kana-Kanji conversion server cannaserver(1M). no cap. the info includes all of this, bestie:

  • the name of the machine on which the connected server exists
  • the cannaserver(1M)'s version
  • the number of clients connecting to the server
  • the name of the user connecting to the server
  • its user number
  • the socket number
  • the number of contexts
  • the time of connection to the server
  • the time of use of the server
  • the idle time
  • the name of the host under which the client exists
  • the frequency of using each protocol

if you call cannastat(1) with no options at all (like, zero flags, we're going bare πŸ’€), here's what pops up:

Connected to machine1
Canna Server (Ver. 2.1)
Total connecting clients 1
USER_NAME    ID   NO U_CX          C_TIME   U_TIME   I_TIME  HOST_NAME
kon           5    0    4  Tue 21  8:49am       11    12:48   machine2

and every one of those items means something, so let's decode them πŸ”βœ¨

  • USER_NAME β€” the user name, iconic, self-explanatory
  • ID β€” the socket number
  • NO β€” the user number
  • U_CX β€” the context number
  • C_TIME β€” time of connection, formatted as (h:min)
  • U_TIME β€” user time, formatted as (h:min:s)
  • I_TIME β€” idle time, formatted as (h:min)
  • HOST_NAME β€” name of the host under which the client exists

πŸ‘‘ OPTIONS πŸ‘‘

  • -cs canna-server (or -cannaserver canna-server) β€” Specifies the Kana-Kanji conversion server. you're telling it which server to talk to, periodt.
  • -p β€” Displays the frequency of using the protocol. protocol usage stats, go off πŸ“Š
  • -t β€” Displays information about the user who started cannastat. and it includes the frequency of using the protocol too, plus ID, NO, U_CX, C_TIME, U_TIME, I_TIME, and HOST_NAME. it's giving main character energy β€” the main character being you πŸ’…
  • -a β€” Displays all information about all users. everyone. all of them. the whole group chat 🌈

πŸŽ€ FILES πŸŽ€

  • /etc/canna/cannahost β€” Name of the host under which cannaserver is in operation.

πŸ’œ SEE ALSO πŸ’œ

cannaserver(1M), cannakill(1M), cannacheck(1) β€” go read those too, iykyk 🫢


🌟 ENVIRONMENT 🌟

  • CANNAHOST β€” Specifies the name of the host under which cannaserver(1M) is in operation.

lowkey important bestie: if CANNAHOST is set, that's the host name it uses. don't come for me if you forget it πŸ₯Ί

and that's the whole page!! πŸ’– this was CANNASTAT(1) from the General Commands Manual, and the footer is literally just CANNASTAT(1) again β€” she said her own name twice because she's that girl πŸ’…βœ¨ slay, bye πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from