7 open $fh, '<', "/proc/locks";
10 my $status = s/^(\S+:)\s*->/$1/ ?
'blocked' : 'held';
11 my ($n, $sys, $lock_type, $oper, $pid, $devmaj, $devmin, $inode, $begin, $end) = split /[\s:]+/;
12 $Locks->{lc $sys}{lc $lock_type}{lc $oper}{$status}++;
15 svlhk_dump
($Locks, []);