1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...
:

Returns the percentage of free i­nodes 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 i­nodes 
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 55 times, 1 visits today)