jail resource usage reporting

Joined
Jan 27, 2020
Messages
577
So netdata as a FreeNAS-plugin is quite nice, but I really wanna know more about my jails.

How much of my installed RAM ist consumed by each jail? The laundry/services graph only shows the total RAM usage. Is it Plex? Is it nginx?
Also, how is CPU usage distributed across jails?

I know of iocage df but that only lists storage use. I need more data! :)

This is what I mean, over half of my RAM is currently hogged by "services". But what services?
Screenshot (1).png
 
Last edited:

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
top -j shows you the JID (from jls) of each running process... it that the kind of thing you wanted?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Joined
Jan 27, 2020
Messages
577
Ok, seems that the RAM reporting on the dashboard is kind of misleading. The amount of RAM that is displayed as allocated to "Services" is really just "Inact", respectively not currently in use.

Screenshot (1).png


Code:
last pid: 78539;  load averages:  0.23,  0.24,  0.24                                                                                              up 3+16:31:56  14:50:42
129 processes: 1 running, 128 sleeping
CPU:  0.1% user,  0.0% nice,  0.3% system,  0.1% interrupt, 99.5% idle
Mem: 466M Active, 19G Inact, 17M Laundry, 11G Wired, 1084M Free
ARC: 8058M Total, 2057M MFU, 4918M MRU, 18M Anon, 98M Header, 966M Other
     5611M Compressed, 9201M Uncompressed, 1.64:1 Ratio
Swap: 8192M Total, 8192M Free
 
Joined
Jan 27, 2020
Messages
577

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
You can also just hit j at any time when running top to toggle the JID field. Use o followed by size while it's running to order by size (Memory)
 
Joined
Jan 27, 2020
Messages
577
You can also just hit j at any time when running top to toggle the JID field. Use o followed by size while it's running to order by size (Memory)
neat.
 
Joined
Jan 27, 2020
Messages
577

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Top