56d9d5e7e7
Added function procps_linux_version() which used to be an exported integer instead. Also changed the method of obtaining the linux version (more correctly the os release) to use a specific procfs entry. This works for both Linux and FreeBSD.
66 lines
927 B
Plaintext
66 lines
927 B
Plaintext
LIBPROCPS_0 {
|
|
global:
|
|
Hertz;
|
|
closeproc;
|
|
cpuinfo;
|
|
dev_to_tty;
|
|
escape_command;
|
|
escape_str;
|
|
escape_strlist;
|
|
escaped_copy;
|
|
free_slabinfo;
|
|
freeproc;
|
|
get_ns_id;
|
|
get_ns_name;
|
|
get_pid_digits;
|
|
get_slabinfo;
|
|
getbtime;
|
|
getdiskstat;
|
|
getpartitions_num;
|
|
getslabinfo;
|
|
getstat;
|
|
kb_active;
|
|
kb_high_free;
|
|
kb_high_total;
|
|
kb_inactive;
|
|
kb_low_free;
|
|
kb_low_total;
|
|
kb_main_available;
|
|
kb_main_buffers;
|
|
kb_main_cached;
|
|
kb_main_free;
|
|
kb_main_shared;
|
|
kb_main_total;
|
|
kb_main_used;
|
|
kb_swap_free;
|
|
kb_swap_total;
|
|
kb_swap_used;
|
|
loadavg;
|
|
look_up_our_self;
|
|
lookup_wchan;
|
|
meminfo;
|
|
openproc;
|
|
page_bytes;
|
|
pretty_print_signals;
|
|
print_uptime;
|
|
put_slabinfo;
|
|
readeither;
|
|
readproc;
|
|
readproctab2;
|
|
readproctab3;
|
|
readproctab;
|
|
readtask;
|
|
signal_name_to_number;
|
|
signal_number_to_name;
|
|
smp_num_cpus;
|
|
sprint_uptime;
|
|
strtosig;
|
|
tty_to_dev;
|
|
unix_print_signals;
|
|
uptime;
|
|
user_from_uid;
|
|
procps_linux_version;
|
|
local:
|
|
*;
|
|
};
|