---
name: "cannastat"
section: "1"
platform: "linux"
package: "canna-utils"
version: "3.7p3-25"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/cannastat"
---

# cannastat(1)

Display information about the Kana-Kanji conversion server

## NAME

cannastat - Display information about the Kana-Kanji conversion server

## SYNOPSIS

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

## DESCRIPTION

*[cannastat(1)](/cannastat/1.md)* displays information about the Kana-Kanji conversion server *cannaserver(1M)*.  The information includes the following: 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, and the frequency of using each protocol.

If *[cannastat(1)](/cannastat/1.md)* is called without options, the following is displayed:

```
  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
```

The items represent the following:

- USER\_NAME

  User name

- ID

  Socket number

- NO

  User number

- U\_CX

  Context number

- C\_TIME

  Time of connection (h:min)

- U\_TIME

  User time (h:min:s)

- I\_TIME

  Idle time (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.

- \-p

  Displays the frequency of using the protocol.

- \-t

  Displays information about the user who started cannastat.  It includes the frequency of using the protocol, as well as ID, NO, U\_CX, C\_TIME, U\_TIME, I\_TIME, and HOST\_NAME.

- \-a

  Displays all information about all users.

## FILES

- /etc/canna/cannahost

  Name of the host under which cannaserver is in operation.

## SEE ALSO

cannaserver(1M), cannakill(1M), [cannacheck(1)](/cannacheck/1.md)

## ENVIRONMENT

- CANNAHOST

  Specifies the name of the host under which *cannaserver(1M)* is in operation.
