A small tool written in C to replace the uptime command of Linux with a French format
- C 71.9%
- Nix 24.4%
- Makefile 3.7%
| .gitignore | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| main.c | ||
| Makefile | ||
| README.md | ||
Downtime
A small tool written in C to replace the uptime command of Linux with a French format.
Un petit outil écrit en C pour remplacer la commande uptime de Linux avec un format français.
Utilisation
❯ downtime
8 heures, 23 minutes et 10 secondes
❯ downtime --long
0 jours, 8 heures, 23 minutes et 28 secondes
❯ downtime --since
24/06/2025 12:05:53
❯ downtime --raw
30240
Installation
Préréquis
Pour installer cet outil, il faut tout d'abord avoir :
gitgccmake
Installation
Pour installer l'outil il suffit d'executer cette suite de commande :
git clone https://github.com/oriionn/downtime.git
cd downtime
make install
Compiler
Préréquis
Pour compiler cet outil, il faut tout d'abord avoir :
gitgccmake
Compilation
Pour compiler l'outil il suffit d'executer cette suite de commande :
git clone https://github.com/oriionn/downtime.git
cd downtime
make build