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%
Find a file
2026-08-13 03:02:21 +02:00
.gitignore gitignore + remove bin 2025-06-24 20:27:52 +02:00
flake.lock feat: nix flake 2026-08-13 03:02:21 +02:00
flake.nix feat: nix flake 2026-08-13 03:02:21 +02:00
LICENSE first commit 2025-06-24 18:55:36 +02:00
main.c Fix a little bug :3 2025-06-24 22:09:03 +02:00
Makefile first commit 2025-06-24 18:55:36 +02:00
README.md add usage to README 2025-06-24 20:30:14 +02:00

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 :

  • git
  • gcc
  • make

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 :

  • git
  • gcc
  • make

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