Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

While running ss -m command, which shows the memory usage of a socket. I got the following output.

ESTAB  0  0   172.16.31.158:55266    115.114.106.17:imap2    mem:(r0,w0,f0,t0)

Can someone please explain me what these four character 'r' 'w' 'f' 't' denotes here?

share|improve this question
    
I'm no expert, but this seems to have come before here : unix.stackexchange.com/questions/33855/… –  chrskly Feb 7 '13 at 15:29
add comment

1 Answer

Per this excellent question and answer over on Unix & Linux:

r represents the read (inbound) buffer
w represents the write (outbound) buffer
f represents the "forward allocated memory" (memory available to the socket)
t represents the transmit queue (stuff waiting to be sent or waiting on an ACK)

There is more detail (and some great reference resources) on the unix.se question.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.