[patch][jail] display jid in top

Daniel Gerzo asked if top can have a column to display jid last week. So I spend my lovely weekend *wink* to do the job.

Here is the patch. How to apply?

% cd /usr/src
% patch < patch_top_jid2
% cd /usr/src/usr.bin/top; make clean install clean

Then try either
% top -j
or toggle with ‘j’ when you’re using top.

NOTE: since this patch is not committed (yet), there is no documentation describe about that. :)

1 Response to “[patch][jail] display jid in top”

Leave a Reply

It sounds like SK2 has recently been updated on this blog. But not fully configured. You MUST visit Spam Karma's admin page at least once before letting it filter your comments (chaos may ensue otherwise).