💾 Archived View for gemini.susa.net › cgi-bin › serverinfo captured on 2023-07-10 at 14:00:43. Gemini links have been rewritten to link to archived content
View Raw
More Information
⬅️ Previous capture (2023-06-16)
➡️ Next capture (2023-07-22)
🚧 View Differences
-=-=-=-=-=-=-
Server Info
Mem info
CPU info
CGI Vars
- GEMINI_URL: gemini://gemini.susa.net/cgi-bin/serverinfo
- SERVER_NAME: gemini.susa.net
- SERVER_PROTOCOL: GEMINI
- SERVER_SOFTWARE: gemserv
- SCRIPT_NAME: /cgi-bin/serverinfo
- REMOTE_ADDR: ::ffff:64.149.155.184
- REMOTE_HOST: ::ffff:64.149.155.184
- REMOTE_PORT: 38054
- QUERY_STRING:
- PATH_INFO:
- AUTH_TYPE:
- TLS_CLIENT_HASH:
- REMOTE_USER:
Generated by: /home/gemini/content/cgi-bin/serverinfo
#!/bin/bash
MEMINFO=$(cat /proc/meminfo|grep Mem)
CPUINFO=$(cat /proc/cpuinfo |egrep 'vendor|MHz|model name|cache size')
echo -ne "20 text/gemini\r\n"
cat <<EOGEMINI
# Server Info
## Mem info
${MEMINFO}
## CPU info
${CPUINFO}
## CGI Vars
- GEMINI_URL: ${GEMINI_URL}
- SERVER_NAME: ${SERVER_NAME}
- SERVER_PROTOCOL: ${SERVER_PROTOCOL}
- SERVER_SOFTWARE: ${SERVER_SOFTWARE}
- SCRIPT_NAME: ${SCRIPT_NAME}
- REMOTE_ADDR: ${REMOTE_ADDR}
- REMOTE_HOST: ${REMOTE_HOST}
- REMOTE_PORT: ${REMOTE_PORT}
- QUERY_STRING: ${QUERY_STRING}
- PATH_INFO: ${PATH_INFO}
- AUTH_TYPE: ${AUTH_TYPE}
- TLS_CLIENT_HASH: ${TLS_CLIENT_HASH}
- REMOTE_USER: ${REMOTE_USER}
### Generated by: ${0}
EOGEMINI
echo '```'
cat ${0}
echo '```'