:
Returns the percentage of free inodes of one partition
Module data
module_begin module_name Used inode / module_type generic_data module_exec df i | grep E "/$" | awk '{print $4}' | tr d “%\n” module_max 100 module_min 0 module_description Percentage use of inodes module_end
For Ubuntu:
module_exec df i | grep E "/$" | awk '{print $5}' | tr d “%\n” For Suse: module_exec df i | grep E “/$” | awk '{print $5}' | tr d “\n” | awk F “%” '{print $1}' | tr d “\n”
(Visited 231 times, 1 visits today)