New answers tagged lsof
I think you're correct in your logic that stat curr_connections is the number of connections that are current. curr_connections - Number of open connections to this Memcached server, should be the same value on all servers during normal operation. This is something like the count of mySQL's "SHOW PROCESSLIST" result rows. Source: Memcached statistics ...
The right answer given by user bersch in comment: "the name couldn't be resolved"
To answer this question specifically, you could do: lsof /foo | awk 'NR==1 || $4~/[0-9]u/' This will show files which are opened read-write under the mount point foo. However, likely you really want to do is list all files which are open for writing. This would include files a which opened write-only as well as those opened read-write. For this you would ...
Top 50 recent answers are included