Scroll to navigation

SD_JOURNAL_GET_USAGE(3) sd_journal_get_usage SD_JOURNAL_GET_USAGE(3)

NAME

sd_journal_get_usage - Journal disk usage

SYNOPSIS

#include <elogind/sd-journal.h>

int sd_journal_get_usage(sd_journal *j, uint64_t *bytes);

DESCRIPTION

sd_journal_get_usage() determines the total disk space currently used by journal files (in bytes). As elogind does not generate any journal files, the result is always zero.

RETURN VALUE

sd_journal_get_usage() returns 0.

SEE ALSO

elogind(8),

sd_journal_open(3),

elogind 246.10